Anyquery: Path Traversal in `clear_plugin_cache` Allows Arbitrary Directory Deletion
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
Anyquery is an SQL query engine built on top of SQLite. Prior to 0.4.5, the clear_plugin_cache(plugin) SQL scalar function in namespace/other_functions.go passes the caller-controlled plugin parameter through path.Join to os.RemoveAll without rejecting traversal segments. A low-privileged bearer-token holder can invoke the function through the /v1/query HTTP endpoint, causing path.Join to resolve .. segments outside $XDG_CACHE_HOME/anyquery/plugins/ and os.RemoveAll to recursively delete any reachable directory writable by the Anyquery server process. This causes permanent data loss and denial of service without disclosing file contents. This issue is fixed in version 0.4.5.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| julien040 | anyquery | before 0.4.5 | 0.4.5 | Patch available | CNA |
| — | github.com/julien040/anyquery (Go) | before 0.4.5 | 0.4.5 | Patch available | GHSA-j9rx-rppg-6hh4 |
- anyquery Vendorjulien040 Affected before 0.4.5 Fixed in 0.4.5 Patch available CNA
- github.com/julien040/anyquery (Go) Vendor— Affected before 0.4.5 Fixed in 0.4.5 Patch available GHSA-j9rx-rppg-6hh4
Remediation
- Fix · CNA anyquery (julien040) Fixed in 0.4.5
- Fix · GHSA-j9rx-rppg-6hh4 github.com/julien040/anyquery (Go) Fixed in 0.4.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-47253
- 2026-10-03 Alias added: GHSA-j9rx-rppg-6hh4
References
More julien040 vulnerabilities
- TI-2026-36832 Path traversal in julien040 anyquery CVSS 3.1CRITICAL 9.1
- TI-2026-39459 Anyquery: Server-Side Request Forgery (SSRF) via Unrestricted SQLite Virtual Table Modules in Server Mode CVSS 3.1HIGH 8.6
- TI-2026-34835 Anyquery: AppleScript/JXA Code Injection via Unescaped URL in macOS plugins (Brave, Chrome, Edge, Reminders, Safari) CVSS 3.1CRITICAL 9.0
- TI-2025-38111 Anyquery Unauthenticated Access Vulnerability Exposes Private Integration Data CVSS 3.1HIGH 7.7
- TI-2026-39460 Anyquery: Local File Read (LFR) via Unrestricted SQLite Virtual Table Modules in Server Mode CVSS 3.1HIGH 7.5
Sources
- CVE-2026-47253 · CVE Program
- CVE-2026-47253 · NVD
- FIRST EPSS
- GHSA-j9rx-rppg-6hh4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences