CVE-2026-47253
Published:June 10, 2026
Updated:August 27, 2026
The SQL scalar function "clear_plugin_cache(plugin)" in "namespace/other_functions.go" passes the caller-supplied "plugin" argument directly to "path.Join" and then to "os.RemoveAll", with only an empty-string check as a guard. Because "path.Join" silently resolves ".." segments, a low-privileged bearer-token holder can submit "SELECT clear_plugin_cache('../../../../tmp/target')" to the "/v1/query" HTTP endpoint and delete any directory reachable by the server process. In the verified scenario, a directory outside "$XDG_CACHE_HOME/anyquery/plugins/" was successfully deleted, confirming full path-traversal exploitation.
Affected Packages
github.com/julien040/anyquery (GO):
Affected version(s) >=v0.0.0-20240705103114-226b2b241d93 <0.4.5Fix Suggestion:
Update to version 0.4.5Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.03