CVE-2026-50006julien040 anyquery
Unauthenticated Arbitrary File Creation and Overwrite in Anyquery
Critical 9.1 No auth needed
Follow: this CVE · julien040 · julien040 anyquery We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Sep 14, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
What happens
Anyquery prior to 0.4.5 allows unauthenticated remote attackers to execute arbitrary SQL commands through its MySQL-compatible server port. An attacker can use ATTACH DATABASE to create or overwrite files in any path writable by the Anyquery process, causing filesystem integrity loss and denial of service.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 0.4.5
Update Anyquery to version 0.4.5 or later to restrict filesystem targets in ATTACH DATABASE commands.
- Apply the vendor's security update for anyquery.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/julien040/anyquery |
all |
no fixed version | — |
| Go | github.com/julien040/anyquery |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-xrcf-6jh3-ggvx, GO-2026-5979). Check the version in your lockfile before upgrading.
Affected products
- julien040 · anyquery
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.