{"id":"CVE-2026-50006","sourceIdentifier":"security-advisories@github.com","published":"2026-09-14T20:16:44.637","lastModified":"2026-09-30T17:51:56.193","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"julien040","product":"anyquery","versions":[{"version":"< 0.4.5","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","baseScore":9.1,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-09-15T19:31:47.618546Z","id":"CVE-2026-50006","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-22"},{"lang":"en","value":"CWE-73"},{"lang":"en","value":"CWE-284"},{"lang":"en","value":"CWE-434"},{"lang":"en","value":"CWE-862"}]}],"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"}]}