{"cve":"CVE-2026-47253","nvd":{"published":"2026-09-14T20:16:44.070","modified":"2026-09-30T19:08:43.927","status":"Deferred","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H","score":7.3},"cwes":["CWE-22"],"references":["https://github.com/julien040/anyquery/commit/27f84fc168310455eaf81ec4ba87eed20298670c","https://github.com/julien040/anyquery/releases/tag/0.4.5","https://github.com/julien040/anyquery/security/advisories/GHSA-j9rx-rppg-6hh4","https://github.com/julien040/anyquery/security/advisories/GHSA-j9rx-rppg-6hh4"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:53:43.293028046+00:00"},"epss":{"cve":"CVE-2026-47253","score":0.00441,"percentile":0.38027,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-j9rx-rppg-6hh4","url":"https://osv.dev/vulnerability/GHSA-j9rx-rppg-6hh4","summary":"Anyquery has Path Traversal through `clear_plugin_cache`, Allowing Arbitrary Directory Deletion","modified":"2026-06-25T23:11:43.757820671Z","packages":[{"ecosystem":"Go","name":"github.com/julien040/anyquery","purl":"pkg:golang/github.com/julien040/anyquery","ranges":["<0.4.5"],"fixed":["0.4.5"]}]},{"id":"GO-2026-5459","url":"https://osv.dev/vulnerability/GO-2026-5459","summary":"Anyquery has Path Traversal through `clear_plugin_cache`, Allowing Arbitrary Directory Deletion in github.com/julien040/anyquery","modified":"2026-06-25T23:01:18.245449859Z","packages":[{"ecosystem":"Go","name":"github.com/julien040/anyquery","purl":"pkg:golang/github.com/julien040/anyquery","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}