What’s Vulnerable › Vulnerabilities
CVE-2026-45403: AnythingLLM: filesystem-copy-file follows nested symlinks and copies files from outside the allowed directory
- Severity: low (CVSS 2.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-05-28 · updated 2026-07-21
- Weakness: CWE-59
Description
AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during chatting. Prior to 1.13.0, the AnythingLLM agent filesystem copy tool validates only the top-level source and destination paths. The recursive copy helper then descends into child entries using fs.stat() and copies files with fs.copyFile() without validating each child or rejecting symlinks. Because both APIs follow symlinks, a symlink nested inside an allowed source directory can point outside the allowed filesystem root and cause outside file contents to be copied into an allowed destination as a regular file. This vulnerability is fixed in 1.13.0.
Affected products
- Mintplexlabs Anythingllm: before 1.13.0 — fixed in 1.13.0
How to fix
Upgrade to a fixed version: Mintplexlabs Anythingllm 1.13.0. Check the vendor advisory for mitigations.
References
- https://github.com/Mintplex-Labs/anything-llm/commit/21ce03087145a4261c1de03b056fba639f699c09
- https://github.com/Mintplex-Labs/anything-llm/security/advisories/GHSA-vjrp-43mm-j7vw
- https://github.com/Mintplex-Labs/anything-llm/security/advisories/GHSA-vjrp-43mm-j7vw
Get alerted when CVE-2026-45403 or the next vulnerability affects your stack