CVE-2026-54628

Anyquery: Server-Side Request Forgery (SSRF) via Unrestricted SQLite Virtual Table Modules in Server Mode

Published Sep 14, 2026 CVSS 3.1 · 8.6 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Anyquery is an SQL query engine built on SQLite. Prior to version 0.4.5, the 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 supply 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 the accessed internal API performs state‑changing actions. The issue is fixed in version 0.4.5.

Affected Systems

julien040's Anyquery server releases prior to version 0.4.5, which expose the URL‑capable virtual table modules via the unauthenticated MySQL‑compatible server port, are affected. No more specific version numbers are listed beyond the reference to prior to 0.4.5.

Risk and Exploitability

With a CVSS score of 8.6, the flaw is high severity. An EPSS score of < 1% indicates a low exploitation probability, and the issue is not listed in CISA KEV. The likely attack vector is via an unauthenticated connection to the MySQL‑compatible server port, enabling a remote attacker to trigger outbound HTTP requests with no additional privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Anyquery to version 0.4.5 or later to apply the official fix.
  • Disable (json_reader, log_reader) from the Anyquery server configuration to prevent outbound requests.
  • Restrict network access to the MySQL‑compatible server port with firewalls or network ACLs and block outbound traffic to loopback, private‑network, or cloud metadata URLs.

Generated by OpenCVE AI on September 20, 2026 at 22:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-hwrq-8wxh-q4xv Anyquery: Server-Side Request Forgery (SSRF) via Unrestricted SQLite Virtual Table Modules in Server Mode
History
Type Values Removed Values Added
First Time appeared Julien040
Julien040 anyquery
Vendors & Products Julien040
Julien040 anyquery
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Anyquery: Server-Side Request Forgery (SSRF) via Unrestricted SQLite Virtual Table Modules in Server Mode
Weaknesses CWE-284
CWE-441
CWE-862
CWE-918
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'}

Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-441

    Unintended Proxy or Intermediary ('Confused Deputy')

  • CWE-862

    Missing Authorization

  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 16, 2026, 4:16 PM
Reserved
Jun 15, 2026, 8:07 PM
Status
Deferred
Published
Sep 14, 2026, 8:16 PM
Modified
Sep 30, 2026, 5:51 PM