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

- Severity: Low 2.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-28T21:18:08.686Z
- Modified: 2026-07-21T10:10:00.103Z
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Mintplex-Labs anything-llm: < 1.13.0
- mintplexlabs anythingllm: before 1.13.0

## Every score

- GitHub_M: CVSS:3.1 2.0 Low `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 2.5 Low `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/Mintplex-Labs/anything-llm/security/advisories/GHSA-vjrp-43mm-j7vw> (exploit, mitigation, vendor-advisory)
- <https://github.com/Mintplex-Labs/anything-llm/commit/21ce03087145a4261c1de03b056fba639f699c09> (patch)

## Sources

- CVE List: [CVE-2026-45403](https://www.cve.org/CVERecord?id=CVE-2026-45403), CVE Terms of Use, modified 2026-05-29
- NVD: [CVE-2026-45403](https://nvd.nist.gov/vuln/detail/CVE-2026-45403), Public domain, modified 2026-07-21

---

Page: https://cve.day/CVE-2026-45403 · Whole record: https://cve.day/CVE-2026-45403.json · Rebuilt by cve.day 2026-11-25T22:59:23.243Z
