CVE-2026-45403CWE-59

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

Low · published May 28, 2026

CVSS v3.1
2.0
EPSS
0%
Percentile
13.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
2.0 · LOW
Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00232 · 13.2th percentile
Weakness
CWE-59 · Improper Link Resolution Before File Access ('Link Following')
Published
2026-05-28T21:18Z
EPSS history
Timeline
  • 28 MAY 21:18Z
    AnythingLLM: filesystem-copy-file follows nested symlinks and copies files from outside the allowed directory
    cvelistv5