{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-50006", "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "state": "PUBLISHED", "assignerShortName": "GitHub_M", "dateReserved": "2026-06-02T22:46:02.578Z", "datePublished": "2026-09-14T19:56:39.502Z", "dateUpdated": "2026-09-15T19:32:05.351Z" }, "containers": { "cna": { "title": "Anyquery: Arbitrary File Write (AFW) which could lead to Remote Code Execution (RCE) via Unrestricted ATTACH DATABASE in Server Mode", "problemTypes": [ { "descriptions": [ { "cweId": "CWE-22", "lang": "en", "description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')", "type": "CWE" } ] }, { "descriptions": [ { "cweId": "CWE-73", "lang": "en", "description": "CWE-73: External Control of File Name or Path", "type": "CWE" } ] }, { "descriptions": [ { "cweId": "CWE-284", "lang": "en", "description": "CWE-284: Improper Access Control", "type": "CWE" } ] }, { "descriptions": [ { "cweId": "CWE-434", "lang": "en", "description": "CWE-434: Unrestricted Upload of File with Dangerous Type", "type": "CWE" } ] }, { "descriptions": [ { "cweId": "CWE-862", "lang": "en", "description": "CWE-862: Missing Authorization", "type": "CWE" } ] } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.1, "baseSeverity": "CRITICAL", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H", "version": "3.1" } } ], "references": [ { "name": "https://github.com/julien040/anyquery/security/advisories/GHSA-xrcf-6jh3-ggvx", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/julien040/anyquery/security/advisories/GHSA-xrcf-6jh3-ggvx" }, { "name": "https://github.com/julien040/anyquery/commit/27f84fc168310455eaf81ec4ba87eed20298670c", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/julien040/anyquery/commit/27f84fc168310455eaf81ec4ba87eed20298670c" }, { "name": "https://github.com/julien040/anyquery/releases/tag/0.4.5", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/julien040/anyquery/releases/tag/0.4.5" } ], "affected": [ { "vendor": "julien040", "product": "anyquery", "versions": [ { "version": "< 0.4.5", "status": "affected" } ] } ], "providerMetadata": { "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M", "dateUpdated": "2026-09-14T19:56:39.502Z" }, "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." } ], "source": { "advisory": "GHSA-xrcf-6jh3-ggvx", "discovery": "UNKNOWN" } }, "adp": [ { "references": [ { "url": "https://github.com/julien040/anyquery/security/advisories/GHSA-xrcf-6jh3-ggvx", "tags": [ "exploit" ] } ], "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2026-09-15T19:31:47.618546Z", "id": "CVE-2026-50006", "options": [ { "Exploitation": "poc" }, { "Automatable": "yes" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-09-15T19:32:05.351Z" } } ] } }