{"id":"CVE-2026-50006","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-50006","generatedAt":"2026-09-20T15:01:28.000Z","title":"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.","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.","published":"2026-09-14T20:16:45.000Z","lastModified":"2026-09-15T20:17:17.000Z","status":"Received","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"},"cwe":["CWE-22","CWE-73","CWE-284","CWE-434","CWE-862"],"affected":[],"epss":{"score":0.00768,"percentile":0.54045,"date":"2026-09-19","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.77%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/julien040/anyquery/commit/27f84fc168310455eaf81ec4ba87eed20298670c","source":"security-advisories@github.com"},{"url":"https://github.com/julien040/anyquery/releases/tag/0.4.5","source":"security-advisories@github.com"},{"url":"https://github.com/julien040/anyquery/security/advisories/GHSA-xrcf-6jh3-ggvx","source":"security-advisories@github.com"},{"url":"https://github.com/julien040/anyquery/security/advisories/GHSA-xrcf-6jh3-ggvx","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-50006","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}