{"cve":"CVE-2026-50006","nvd":{"published":"2026-09-14T20:16:44.637","modified":"2026-09-30T17:51:56.193","status":"Deferred","description":"Anyquery is an SQL query engine built on top of SQLite. Prior to 0.4.5, anyquery server forwards unauthenticated SQL from its MySQL-compatible server port to SQLite without restricting ATTACH DATABASE filesystem targets. A remote attacker can select any path writable by the Anyquery server process, cause SQLite to create a database file there, and place attacker-controlled table content in that file. This permits arbitrary file creation or overwrite, causing filesystem integrity loss and denial of service; remote code execution is possible only when another service interprets the written file or the process has a suitably privileged writable target. 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:N/UI:N/S:U/C:N/I:H/A:H","score":9.1},"cwes":["CWE-22","CWE-73","CWE-284","CWE-434","CWE-862"],"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-xrcf-6jh3-ggvx","https://github.com/julien040/anyquery/security/advisories/GHSA-xrcf-6jh3-ggvx"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:53:43.293028046+00:00"},"epss":{"cve":"CVE-2026-50006","score":0.00973,"percentile":0.61784,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-xrcf-6jh3-ggvx","url":"https://osv.dev/vulnerability/GHSA-xrcf-6jh3-ggvx","summary":"Anyquery: Arbitrary File Write (AFW) which could lead to Remote Code Execution (RCE) via Unrestricted ATTACH DATABASE in Server Mode","modified":"2026-07-21T19:19:16.279446452Z","packages":[{"ecosystem":"Go","name":"github.com/julien040/anyquery","purl":"pkg:golang/github.com/julien040/anyquery","ranges":["all versions"],"fixed":[]}]},{"id":"GO-2026-5979","url":"https://osv.dev/vulnerability/GO-2026-5979","summary":"Anyquery: Arbitrary File Write (AFW) which could lead to Remote Code Execution (RCE) via Unrestricted ATTACH DATABASE in Server Mode in github.com/julien040/anyquery","modified":"2026-07-21T19:15:30.620197696Z","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."]}