Live threats

All CVEs / julien040

CVE-2026-50006julien040 anyquery

Unauthenticated Arbitrary File Creation and Overwrite in Anyquery

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
—
Auth required
No
Published
Sep 14, 2026
Updated
Sep 30, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22, CWE-73, CWE-284, CWE-434, CWE-862
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.

Source text, unmodified. NVD.

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.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for anyquery.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.