Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-50006— Anyquery: Arbitrary File Write (AFW) which could lead to Remote Code Execution (RCE) via Unrestricted ATTACH DATABASE in Server Mode

Quick assessment

Affected
julien040 anyquery
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Anyquery 是基于 SQLite 构建的 SQL 查询引擎。在 0.4.5 之前,Anyquery 服务器会将来自其 MySQL 兼容服务器端口的未经身份验证的 SQL 语句直接转发给 SQLite,但未对 的文件系统目标路径进行限制。远程攻击者可以选择任意可写路径(由 Anyquery 服务器进程拥有写权限),促使 SQLite 在该位置创建数据库文件,并在该文件中写入攻击者控制的表内容。这可能导致任意文件的创建或覆盖,从而造成文件系统完整性破坏和拒绝服务(DoS);只有当另一个服务解释所写入的文件,或该进

CVSS 9.1 · Critical EPSS 0.42% · P62

Possible ATT&CK Techniques 1 AI

T1083 · File and Directory Discovery
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-50006

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Anyquery: Arbitrary File Write (AFW) which could lead to Remote Code Execution (RCE) via Unrestricted ATTACH DATABASE in Server Mode
Source: CVE Program / CVE List V5
Vulnerability Description
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 arbitrary file creation or overwrite, causing filesystem integrity loss and denial of service; remote code execution is possible only when another service interprets the written file or the process has a suitably privileged writable target. This issue is fixed in version 0.4.5.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
julien040 anyquery < 0.4.5 -

II. Public POCs for CVE-2026-50006

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-50006

登录查看更多情报信息。

Patches & Fixes for CVE-2026-50006 (1)

Other References for CVE-2026-50006 (1)

Same Patch Batch · julien040 · 2026-09-14 · 4 CVEs total

CVE-2026-54628 8.6 HIGH Anyquery: Server-Side Request Forgery (SSRF) via Unrestricted SQLite Virtual Table Modules
CVE-2026-54629 7.5 HIGH Anyquery: Local File Read (LFR) via Unrestricted SQLite Virtual Table Modules in Server Mo
CVE-2026-47253 7.3 HIGH Anyquery: Path Traversal in `clear_plugin_cache` Allows Arbitrary Directory Deletion

IV. Related Vulnerabilities

V. Comments for CVE-2026-50006

No comments yet


Leave a comment