CVE-2026-45403: CWE-59: Improper Link Resolution Before File Access ('Link Following') in Mintplex-Labs anything-llm
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.
AI Analysis
Technical Summary
The vulnerability in anything-llm before version 1.13.0 involves improper link resolution before file access (CWE-59). The recursive copy helper uses fs.stat() and fs.copyFile() without validating each child entry or rejecting symlinks, which follow links by default. This allows a symlink nested inside an allowed source directory to reference files outside the allowed root, resulting in unintended file copying. The issue is resolved in version 1.13.0.
Potential Impact
The impact is limited to the potential unauthorized copying of files outside the intended source directory into the destination directory. The CVSS score of 2 indicates low impact, with confidentiality affected but no integrity or availability impact. Exploitation requires high privileges and user interaction, and no known exploits exist in the wild.
Mitigation Recommendations
Upgrade anything-llm to version 1.13.0 or later, where this vulnerability is fixed. Since no official patch links or advisories are provided, verify the version in use and update accordingly. Patch status is not explicitly confirmed beyond the version fix note; check vendor sources for official guidance.
CVE-2026-45403: CWE-59: Improper Link Resolution Before File Access ('Link Following') in Mintplex-Labs anything-llm
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 v3.1
Score 2.0low
Affected software
pkg:github/mintplex-labs/anything-llmRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in anything-llm before version 1.13.0 involves improper link resolution before file access (CWE-59). The recursive copy helper uses fs.stat() and fs.copyFile() without validating each child entry or rejecting symlinks, which follow links by default. This allows a symlink nested inside an allowed source directory to reference files outside the allowed root, resulting in unintended file copying. The issue is resolved in version 1.13.0.
Potential Impact
The impact is limited to the potential unauthorized copying of files outside the intended source directory into the destination directory. The CVSS score of 2 indicates low impact, with confidentiality affected but no integrity or availability impact. Exploitation requires high privileges and user interaction, and no known exploits exist in the wild.
Mitigation Recommendations
Upgrade anything-llm to version 1.13.0 or later, where this vulnerability is fixed. Since no official patch links or advisories are provided, verify the version in use and update accordingly. Patch status is not explicitly confirmed beyond the version fix note; check vendor sources for official guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-12T01:48:40.451Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a18b4aee29bf47b5032f469
Added to database: 05/28/2026, 21:33:34 UTC
Last enriched: 05/28/2026, 21:49:04 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 103
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.