Skip to content

CVE-2026-45403 AnythingLLM: filesystem-copy-file follows nested symlinks and copies files from outside the allowed directory

LowCVSS 2.5 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
mintplexlabs anythingllm < 1.13.0 1.13.0 Fixed
Mintplex-Labs anything-llm = < 1.13.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Mintplex-Labs anything-llm = < 1.13.0 No fix listed
mintplexlabs anythingllm < 1.13.0 1.13.0

References