CVE-2026-45403
Received Received - Intake
Symlink Arbitrary File Copy in AnythingLLM

Publication date: 2026-05-28

Last updated on: 2026-05-28

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-28
Last Modified
2026-05-28
Generated
2026-05-29
AI Q&A
2026-05-29
EPSS Evaluated
N/A
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
anythingllm anythingllm to 1.13.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-59 The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

The vulnerability exists in the AnythingLLM application prior to version 1.13.0, specifically in its filesystem copy tool. The tool only validates the top-level source and destination paths during a recursive copy operation. However, when copying child files and directories, it uses APIs that follow symbolic links (symlinks) without validating them. This means a symlink inside an allowed source directory can point to files outside the allowed filesystem root. As a result, files outside the permitted area can be copied into the destination as regular files, potentially exposing unauthorized content.


How can this vulnerability impact me? :

This vulnerability can lead to unauthorized copying of files from outside the intended source directory. An attacker or user with access to create symlinks could exploit this to copy sensitive or restricted files into allowed destinations, potentially exposing confidential information or bypassing access controls.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, upgrade the AnythingLLM application to version 1.13.0 or later, where the issue with symlink validation during recursive copy has been fixed.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart