CVE-2026-54628
nicheUnauthenticated SSRF in Anyquery Server via URL-Fetching Virtual Tables
Anyquery, an SQL query engine built on SQLite, fails to restrict outbound URL fetching when run in server mode in versions prior to 0.4.5. An unauthenticated remote attacker who can reach the MySQL-compatible server port can issue queries against URL-capable virtual table modules such as _reader and log_reader, supplying a crafted loopback, private-network, or link-local cloud metadata URL as the data source. The server process then fetches the target via go-getter and returns the response as queryable table rows, enabling internal network probing, access to internal APIs, and disclosure of cloud credentials, with low-integrity impact possible if a reached internal API performs state-changing actions. Affected deployments are those running 'anyquery server' in any version before 0.4.5 with the MySQL-compatible port reachable over the network without authentication. No public proof of concept or in-the-wild exploitation has been reported, and the issue is fixed in version 0.4.5.
What to do: Upgrade Anyquery to version 0.4.5 or later. If the server must run, bind it to localhost or restrict the MySQL-compatible port with a firewall, and require authentication rather than exposing it unauthenticated. Review query logs for use of _reader or log_reader pointing at loopback, RFC1918, or cloud metadata URLs (e.g., 169.254.169.254), and rotate any cloud credentials that may have been exposed.
| Anyquery (julien040) Anyquery | < 0.4.5 (all versions prior to 0.4.5) |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Anyquery is an SQL query engine built on top of SQLite. Prior to 0.4.5, anyquery server exposes URL-capable SQLite virtual table modules such as json_reader and log_reader through its unauthenticated MySQL-compatible server port without restricting outbound destinations. A remote attacker can provide a loopback, private-network, or link-local cloud metadata URL, causing go-getter in the Anyquery server process to fetch the selected resource and expose its response as queryable table data. This permits internal network probing, access to internal APIs, and disclosure of cloud credentials; low-integrity impact is possible when a reached internal API performs state-changing actions. This issue is fixed in version 0.4.5.
- Weakness
- CWE-284, CWE-441, CWE-862, CWE-918
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
In the news0 stories
No ingested article mentions this CVE yet.