جزئیات آسیبپذیری
CVE-2026-47253
Anyquery: Path Traversal in `clear_plugin_cache` Allows Arbitrary Directory Deletion
شرح رسمی (انگلیسی)
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.
امتیازهای CVSS
| امتیاز | نسخه | منبع | بردار |
|---|---|---|---|
| 7.3بالا | 3.1 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H |
محصولات آسیبپذیر
| فروشنده | محصول | نسخهها | منبع |
|---|---|---|---|
| julien040 | anyquery | < 0.4.5 | CVEProject cvelistV5 (CNA) |
منابع و راهنماها
۳- https://github.com/julien040/anyquery/commit/27f84fc168310455eaf81ec4ba87eed20298670c x_refsource_MISC
- https://github.com/julien040/anyquery/releases/tag/0.4.5 x_refsource_MISC
- https://github.com/julien040/anyquery/security/advisories/GHSA-j9rx-rppg-6hh4 x_refsource_CONFIRM
اطلاعات
- تاریخ انتشار
- ۱۴۰۵/۰۶/۲۳
- آخرین بهروزرسانی
- ۱۴۰۵/۰۶/۲۳
- وضعیت
- منتشرشده
- صادرکننده (CNA)
- GitHub_M
پیشبینی بهرهبرداری (EPSS)
ارزیابی SSVC (CISA)
- قابل خودکارسازی
- خیر
- وضعیت بهرهبرداری
- اثبات مفهوم
- اثر فنی
- جزئی
ضعفها (CWE)
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')