CVE-2026-48789 AnythingLLM: Windows path containment bypass in document folder route
An attacker can bypass path containment checks on Windows to read files outside the intended documents directory in AnythingLLM.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-48789?
CVE-2026-48789 is a medium-severity path traversal vulnerability in Mintplex-Labs anything-llm, published on 24 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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, on Windows, the document folder listing route can accept an encoded absolute Windows path that resolves outside the intended documents directory. The shared path containment helper rejects POSIX-style "../" traversal but does not reject Windows-style parent paths returned by path.relative(), such as "..". This vulnerability is fixed in 1.13.0.
Weakness: CWE-22
Which versions are affected by CVE-2026-48789?
How do I fix CVE-2026-48789?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-48789 being exploited?
There is no known exploitation of CVE-2026-48789 in the wild and no public exploit code.
Sources
Also known as GHSA-j4m9-wwcq-m868, MINI-jmmm-mfgr-hr5j.