CVE-2026-45403
JSON

2.0low

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

Severity
2.0low CVSS:3.1 by GitHub_M
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
Mintplex-Labs anything-llm< 1.13.0CVE List
mintplexlabs anythingllmbefore 1.13.0NVD

All scores

GitHub_M2.0low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N
NVD2.5low CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-59

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

AnythingLLM es una aplicación que convierte piezas de contenido en contexto que cualquier LLM puede usar como referencias durante el chat. Antes de la versión 1.13.0, la herramienta de copia del sistema de archivos del agente de AnythingLLM valida solo las rutas de origen y destino de nivel superior. El asistente de copia recursiva luego desciende a las entradas secundarias usando fs.stat() y copia archivos con fs.copyFile() sin validar cada elemento secundario ni rechazar los enlaces simbólicos. Debido a que ambas API siguen los enlaces simbólicos, un enlace simbólico anidado dentro de un directorio de origen permitido puede apuntar fuera de la raíz del sistema de archivos permitida y hacer que el contenido de archivos externos se copie en un destino permitido como un archivo regular. Esta vulnerabilidad se corrige en la versión 1.13.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-45403 changed 2026-05-29CVE Terms of Use
NVDCVE-2026-45403 changed 2026-07-21Public domain