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
References3
- github.com/Mintplex-Labs/anything-llm/security/advisories/GHSA-… ExploitMitigationVendor Advisory
- github.com/Mintplex-Labs/anything-llm/security/advisories/GHSA-… ExploitMitigationVendor Advisory
- github.com/Mintplex-Labs/anything-llm/commit/21ce03087145a4261c… Patch
Metrics
- CVSS 3.1
-
2.5
LOW
Score source: NVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N - EPSS — exploit probability
- 0% percentile: 9 · as of 15 November 2026
- CWE
- CWE-59
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.