Skip to main content

Anyquery EUVDEUVD-2026-77808

| CVE-2026-54629 HIGH
Path Traversal (CWE-22)
2026-07-14 https://github.com/julien040/anyquery GHSA-mf78-3rpf-r784
7.5
CVSS 3.1 · Vendor: https://github.com/julien040/anyquery
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Discover exposed MySQL port (8070)
  2. Delivery
    Connect unauthenticated via MySQL client
  3. Exploit
    CREATE VIRTUAL TABLE with csv_reader on target path
  4. Execution
    SELECT to read /etc/passwd and ~/.ssh/id_rsa
  5. Impact
    Exfiltrate credentials and system config

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires Anyquery to be running in Server Mode (anyquery server) and the MySQL-compatible TCP port (e.g. 8070) to be reachable by the attacker; per the CVSS vector (PR:N/UI:N) no authentication or user interaction is needed once the port is reachable. The exploit uses the built-in file-reader virtual table modules (csv_reader, log_reader / read_* family) via native SQLite CREATE VIRTUAL TABLE syntax. Limiting factors: Server Mode is not the default operating mode and must be started deliberately, remote reach requires binding to a non-loopback interface (the PoC uses --host 0.0.0.0), and readable content is bounded by the OS privileges of the Anyquery process - files it cannot read are not exposed.

Impact

The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N = 7.5) describes a low-complexity, network-reachable, unauthenticated read of high-confidentiality data with no integrity or availability impact, and a published PoC confirms exploitation is trivial once the port is reachable. The critical mitigating factor NOT reflected in the base score is that Server Mode is an opt-in, non-default deployment - the operator must run anyquery server and, for remote attack, bind it to a routable interface (the PoC uses --host 0.0.0.0); a default install does not expose this surface. No EPSS score and no KEV listing are provided, so there is no evidence of at-scale or active exploitation, consistent with a niche tool rather than a mass-exploited target. Net: genuinely high impact and easy to exploit where present, but real-world exposure is gated on an intentional, internet-exposed server configuration, so prioritization should key on whether Server Mode is actually deployed and network-reachable rather than on the 7.5 score alone.

Exploit ScenarioDerived

An operator exposes Anyquery Server Mode on a routable interface (anyquery server --host 0.0.0.0 --port 8070). An unauthenticated attacker connects with a standard MySQL client (mysql -u root -h VICTIM -P 8070) and runs CREATE VIRTUAL TABLE passwd USING csv_reader('/etc/passwd'); SELECT * FROM passwd; to read the file, then repeats against ~/.ssh/id_rsa and other secrets to harvest credentials. A working PoC for exactly this chain is published in the vendor advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 14, 2026

Local File Read in Anyquery's Server Mode lets unauthenticated network attackers exfiltrate arbitrary files (e.g. /etc/passwd, ~/.ssh/id_rsa) readable by the server process. When anyquery server is running and reachable, any client speaking the MySQL wire protocol can issue native SQLite CREATE VIRTUAL TABLE statements against built-in reader modules such as csv_reader or log_reader to point at restricted paths, with no authentication or credentials required (CVSS 3.1 base 7.5, C:H/I:N/A:N). A working proof-of-concept is published in the GHSA advisory, so publicly available exploit code exists; there is no CISA KEV listing or EPSS score in the provided data.

RemediationAI

Vendor-released patch: upgrade to Anyquery 0.4.5, which the vendor states adds sandboxing to Server Mode (commit 27f84fc adds sandboxing referenced against the related server-mode CVEs). Until you can upgrade, do not run anyquery server bound to a public or untrusted interface - bind only to 127.0.0.1 (avoid --host 0.0.0.0) and restrict the listener port (default port in the PoC is 8070) with host or network firewall rules so only trusted clients reach it; the trade-off is loss of intended remote query access. Additionally, run the Anyquery process under a dedicated low-privilege OS account with minimal filesystem read access so that even a successful LFR yields no sensitive files, and once on 0.4.5 use the sandboxing/path-restriction mechanism to confine read_* modules to designated directories. Advisory: https://github.com/julien040/anyquery/security/advisories/GHSA-mf78-3rpf-r784.

Affected VersionsENISA

anyquery < 0.4.5

Affected Packages

go github.com/julien040/anyquery no fix
euvd anyquery fix: 0.4.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Anyquery is a Go-based query engine (package go/github.com/julien040/anyquery) that exposes arbitrary data sources through SQLite virtual tables, and in Server Mode emulates a MySQL server so standard MySQL clients can connect. Its ingestion modules wrap the hashicorp/go-getter library and expose file readers (csv_reader, log_reader, and other read_* modules) as SQLite virtual table modules. The flaw is CWE-22 class (path traversal / unrestricted path access): the server handler performs no input sanitization or directory allow-listing on the file path passed to these modules, so a caller can name any absolute or relative path and the Anyquery process reads it with its own OS privileges. Because virtual-table creation is a first-class SQL operation and the server enforces neither authentication nor a path sandbox, the SQL interface itself becomes a file-read primitive.

Know when Hashicorp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/julien040/anyquery) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

Unauthenticated MySQL-protocol client reads arbitrary files with trivial SQL, so AV:N/AC:L/PR:N/UI:N and C:H; no integrity or availability impact and no scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE HIGH

Primary rating from Vendor (https://github.com/julien040/anyquery).

CVSS VectorVendor: https://github.com/julien040/anyquery

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Sep 14, 2026 - 22:19 EUVD
CVE Published
Jul 14, 2026 - 20:19 github-advisory
HIGH 7.5

DescriptionCVE.org

Summary

Anyquery's server mode lacks input sanitization and access control over its built-in SQLite virtual table modules (e.g., csv_reader, log_reader). Unauthenticated attackers connecting to the MySQL-compatible server port can create virtual tables pointing to local files on the system (e.g., /etc/passwd, ~/.ssh/id_rsa). This allows full Local File Read (LFR) capabilities, compromising sensitive system configurations and credentials.

Details

Anyquery utilizes the hashicorp/go-getter library within its data ingestion modules. When Anyquery is launched in Server Mode (anyquery server), it binds to a TCP port and accepts MySQL protocol connections. The server handler does not restrict the usage of these virtual table modules to safe directories. An attacker can connect to the server and execute native SQLite virtual table creation queries to instantiate modules like csv_reader pointing to restricted files. Because the file read operation is initiated by the Anyquery server process, the attacker can read any file the process has access to.

PoC (Proof of Concept)

  1. Start the server on the victim machine:
bash
   anyquery server --host 0.0.0.0 --port 8070
  1. Connect from an attacker machine:
bash
   mysql -u root -h <VICTIM_IP> -P 8070
  1. Execute the following payload to read /etc/passwd:
sql
   CREATE VIRTUAL TABLE passwd USING csv_reader('/etc/passwd');
   SELECT * FROM passwd;

Impact

  • Confidentiality: High. Complete compromise of local file system confidentiality.
  • Integrity: None.
  • Availability: None.
  • CVSS Score: 7.5 (High) - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Remediation

Implement a sandboxing mechanism in Server Mode (e.g., a --restrict-paths flag) to limit read_* operations to designated directories.

Executive ViewAI

Why It Matters

Anyquery server mode allows unauthenticated remote attackers to read arbitrary files through the MySQL protocol; publicly available exploit code exists. Any organization running Anyquery in server mode on accessible networks risks exfiltration of SSH keys, database credentials, and sensitive configuration data, enabling credential compromise and lateral movement.

Business Impact: High
Compensating Controls

Restrict network access to Anyquery server via firewall rules and network segmentation to administratively-controlled networks only; disable server mode entirely if business operations do not require it; implement continuous connection logging and network-based monitoring tuned for MySQL protocol anomalies; rotate all credentials accessible to the Anyquery service process; maintain detailed audit logs of network connections and file access attempts for forensic analysis and incident response.

Threat Intelligence Overview

EPSS Score
1.0%
Top 40% exploitable
Prevalence
Low
niche open-source query engine, limited production footprint, server mode opt-in
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 1.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2026-45321 CRITICAL POC
9.6 May 12

Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio

CVE-2026-34976 CRITICAL POC
10.0 Apr 02

Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai

CVE-2021-30476 CRITICAL POC
9.8 Apr 22

HashiCorp Terraform’s Vault Provider (terraform-provider-vault) did not correctly configure GCE-type bound labels for Va

CVE-2019-7442 CRITICAL POC
9.8 May 08

An XML external entity (XXE) vulnerability in the Password Vault Web Access (PVWA) of CyberArk Enterprise Password Vault

CVE-2018-20371 CRITICAL POC
9.8 Dec 23

PhotoRange Photo Vault 1.2 appends the password to the URI for authorization, which makes it easier for remote attackers

CVE-2018-9843 CRITICAL POC
9.8 Apr 12

The REST API in CyberArk Password Vault Web Access before 9.9.5 and 10.x before 10.1 allows remote attackers to execute

CVE-2026-54725 CRITICAL POC
9.6 Jul 31

Server-side request forgery in bank-vaults vault-secrets-webhook (<= 1.22.2) lets a low-privileged tenant with ConfigMap

CVE-2026-60104 CRITICAL POC
9.3 Jul 08

Account takeover in self-hosted Bitwarden Server before 2026.6.0 lets a low-privileged organization member steal any oth

CVE-2021-43837 CRITICAL POC
9.1 Dec 16

vault-cli is a configurable command-line interface tool (and python library) to interact with Hashicorp Vault. Rated cri

CVE-2020-16272 CRITICAL POC
9.1 Aug 03

The SRP-6a implementation in Kee Vault KeePassRPC before 1.12.0 is missing validation for a client-provided parameter, w

CVE-2020-16271 CRITICAL POC
9.1 Aug 03

The SRP-6a implementation in Kee Vault KeePassRPC before 1.12.0 generates insufficiently random numbers, which allows re

CVE-2026-53727 HIGH POC
8.9 Jul 09

Server-side request forgery in the Ruby css_parser gem (< 3.0.0) lets a remote unauthenticated attacker force the parsin

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy