CVE-2026-50006: Vulnerability in github.com/julien040/anyquery

Critical. 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...

Go, CWE-22, CWE-73

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Advisory ID
GHSA-xrcf-6jh3-ggvx
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness
CWE-22, CWE-73, CWE-284, CWE-434, CWE-862
Published
14 Jul 2026
Last change
30 Sept 2026
Ecosystem
Go

Affected packages

Vulnerable version ranges and fixed releases

  • github.com/julien040/anyquery Go, Affected before 0.4.5. No fixed version recorded

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes