{"id":"CVE-2026-50006","title":"Anyquery is an SQL query engine built on top of SQLite","summary":"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 attacke…","severity":"critical","cvss":9.1,"cvssVector":"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"],"vendor":"julien040","product":"anyquery","affected":["anyquery < 0.4.5"],"published":"2026-09-14","updated":"2026-09-15","sourceUpdated":"2026-09-15T20:17:16.780","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-50006","references":[{"url":"https://github.com/julien040/anyquery/commit/27f84fc168310455eaf81ec4ba87eed20298670c","label":"security-advisories@github.com"},{"url":"https://github.com/julien040/anyquery/releases/tag/0.4.5","label":"security-advisories@github.com"},{"url":"https://github.com/julien040/anyquery/security/advisories/GHSA-xrcf-6jh3-ggvx","label":"security-advisories@github.com"},{"url":"https://github.com/julien040/anyquery/security/advisories/GHSA-xrcf-6jh3-ggvx","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://github.com/advisories/GHSA-xrcf-6jh3-ggvx"}],"tags":["nvd","cve.org","exploit-available","ghsa","go"],"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-09-15T19:31:47.618546Z"},"epss":0.00768,"epssPercentile":0.53601,"aliases":["GHSA-xrcf-6jh3-ggvx"],"ecosystem":"go","ingestedAt":"2026-07-14T18:38:32.866Z","slug":"CVE-2026-50006","body":"## Overview\n\nAnyquery 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-50006)\n\nAffected packages:\n\n- `github.com/julien040/anyquery < 0.4.5`\n\nSource: https://github.com/advisories/GHSA-xrcf-6jh3-ggvx","depth":"abyssal","depthScore":62,"depthScoreParts":{"impact":50.1,"likelihood":0.2,"exploitation":12,"ransomware":0},"changes":[{"seq":204503,"id":"CVE-2026-50006","ts":1789501426745,"field":"exploit_available","old":"false","new":"true"}]}