CVE-2026-45403

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

State
Published
Severity
2.0 Low
Published
May 28, 2026
Updated
May 29, 2026
Reserved
May 12, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.12.0 LowCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:NGitHub_M

Weaknesses

  • CWE-59 Improper Link Resolution Before File Access ('Link Following')

Affected Products

ProductVersions
anything-llmMintplex-Labs
  • < 1.13.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.