CVE-2026-54629: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in julien040 anyquery
Anyquery is an SQL query engine built on top of SQLite. Prior to 0.4.5, anyquery server exposes file-backed SQLite virtual table modules such as csv_reader and log_reader through its MySQL-compatible server port without authentication, authorization, or directory restrictions. A remote attacker can use SQLite CREATE VIRTUAL TABLE statements to provide a local path to these modules, which use hashicorp/go-getter under the Anyquery server process and return the selected file contents as queryable table rows. The disclosure is limited only by the filesystem permissions of the server process and can expose system configuration, credentials, and private keys. This issue is fixed in version 0.4.5.
AI Analysis
Technical Summary
CVE-2026-54629 describes a path traversal vulnerability (CWE-22) in julien040's Anyquery SQL query engine before version 0.4.5. The Anyquery server exposes file-backed SQLite virtual table modules such as csv_reader and log_reader through its MySQL-compatible server port without requiring authentication, authorization, or enforcing directory restrictions. An attacker can exploit this by issuing SQLite CREATE VIRTUAL TABLE statements that specify local file paths. These modules use hashicorp/go-getter under the server process, allowing the attacker to read arbitrary files accessible by the server process and return their contents as queryable table rows. This can lead to disclosure of sensitive system configuration, credentials, and private keys. The issue is resolved in Anyquery version 0.4.5.
Potential Impact
An unauthenticated remote attacker can read arbitrary files on the server filesystem with the privileges of the Anyquery server process. This can lead to disclosure of sensitive information such as system configuration files, credentials, and private keys. There is no impact on integrity or availability reported.
Mitigation Recommendations
Upgrade Anyquery to version 0.4.5 or later, where this vulnerability is fixed. Prior versions expose this risk due to lack of authentication and directory restrictions on file-backed SQLite virtual table modules. No other mitigation is indicated.
CVE-2026-54629: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in julien040 anyquery
Description
Anyquery is an SQL query engine built on top of SQLite. Prior to 0.4.5, anyquery server exposes file-backed SQLite virtual table modules such as csv_reader and log_reader through its MySQL-compatible server port without authentication, authorization, or directory restrictions. A remote attacker can use SQLite CREATE VIRTUAL TABLE statements to provide a local path to these modules, which use hashicorp/go-getter under the Anyquery server process and return the selected file contents as queryable table rows. The disclosure is limited only by the filesystem permissions of the server process and can expose system configuration, credentials, and private keys. This issue is fixed in version 0.4.5.
CVSS v3.1
Score 7.5high
Affected software
julien040
anyquery
pkg:github/julien040/anyqueryRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-54629 describes a path traversal vulnerability (CWE-22) in julien040's Anyquery SQL query engine before version 0.4.5. The Anyquery server exposes file-backed SQLite virtual table modules such as csv_reader and log_reader through its MySQL-compatible server port without requiring authentication, authorization, or enforcing directory restrictions. An attacker can exploit this by issuing SQLite CREATE VIRTUAL TABLE statements that specify local file paths. These modules use hashicorp/go-getter under the server process, allowing the attacker to read arbitrary files accessible by the server process and return their contents as queryable table rows. This can lead to disclosure of sensitive system configuration, credentials, and private keys. The issue is resolved in Anyquery version 0.4.5.
Potential Impact
An unauthenticated remote attacker can read arbitrary files on the server filesystem with the privileges of the Anyquery server process. This can lead to disclosure of sensitive information such as system configuration files, credentials, and private keys. There is no impact on integrity or availability reported.
Mitigation Recommendations
Upgrade Anyquery to version 0.4.5 or later, where this vulnerability is fixed. Prior versions expose this risk due to lack of authentication and directory restrictions on file-backed SQLite virtual table modules. No other mitigation is indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-15T20:07:02.185Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aa852d455bf5e2cf5892f8f
Added to database: 09/14/2026, 20:02:28 UTC
Last enriched: 09/14/2026, 20:17:41 UTC
Last updated: 09/15/2026, 02:45:20 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.