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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-47253— Anyquery: Path Traversal in `clear_plugin_cache` Allows Arbitrary Directory Deletion

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 版本之前, 中的 SQL 标量函数在未过滤路径穿越片段(如 )的情况下,将调用方可控制的 参数直接传入 ,并随后使用 执行删除操作。持有低权限 bearer-token 的用户可通过 HTTP 端点调用该函数,导致 解析 片段后,路径会跳出 目录,而 会递归删除 Anyquery 服务器进程可写的任意可达目录。该漏洞会导致永久性数据丢失和服务中断,但不会泄露文件内容。此问题已在 0.4.5 版本中修复。

CVSS 7.3 · High EPSS 0.03% · P9
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-47253

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: Path Traversal in `clear_plugin_cache` Allows Arbitrary Directory Deletion
Source: CVE Program / CVE List V5
Vulnerability Description
Anyquery is an SQL query engine built on top of SQLite. Prior to 0.4.5, the clear_plugin_cache(plugin) SQL scalar function in namespace/other_functions.go passes the caller-controlled plugin parameter through path.Join to os.RemoveAll without rejecting traversal segments. A low-privileged bearer-token holder can invoke the function through the /v1/query HTTP endpoint, causing path.Join to resolve .. segments outside $XDG_CACHE_HOME/anyquery/plugins/ and os.RemoveAll to recursively delete any reachable directory writable by the Anyquery server process. This causes permanent data loss and denial of service without disclosing file contents. 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:L/UI:R/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-47253

# 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-47253

登录查看更多情报信息。

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

Vendor Advisories for CVE-2026-47253 (1)

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

CVE-2026-50006 9.1 CRITICAL Anyquery: Arbitrary File Write (AFW) which could lead to Remote Code Execution (RCE) via U
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

IV. Related Vulnerabilities

V. Comments for CVE-2026-47253

No comments yet


Leave a comment