Skip to content
HighVulnerabilityLLM-specific

CVE-2024-5211: A path traversal vulnerability in mintplex-labs/anything-llm allowed a manager to bypass the `normalizePath()`…

Identifier
CVE-2024-5211
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.0%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

A path traversal flaw in mintplex-labs/anything-llm let a manager bypass the `normalizePath()` function, which is meant to block path traversal. The bypass allows reading, deleting, or overwriting 'anythingllm.db' and other files in the 'storage' directory, including internal communication keys and .env secrets. The flaw stems from improper validation of user-supplied input when setting a custom app logo, and it could lead to application compromise, denial of service, or admin account takeover.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.