Security mailing lists by PureSourceCode

CVE-2026-47253

HIGH 7.3CVSS 3.1

Anyquery has Path Traversal through `clear_plugin_cache`, Allowing 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.

Published
14 Sep 2026
Last modified
30 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-22
Also known as
GHSA-j9rx-rppg-6hh4GO-2026-5459
Sources
NVDJSONOSV GHSA-j9rx-rppg-6hh4JSONOSV GO-2026-5459JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/julien040/anyquery < 0.4.5 0.4.5
OSV Go github.com/julien040/anyquery all versions

References

History

  • 25 Nov 2026 21:05 UTC · NVD: first stored (published 14 Sep 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.