Improper Input Validation in mintplex-labs/anything-llm
mintplex-labs/anything-llm is vulnerable to improper input validation, allowing attackers to read and delete arbitrary files on the server. By manipulating the 'logo_filename' parameter in the 'system-preferences' API endpoint, an attacker can construct requests to read sensitive files or the application's '.env' file, and even delete files by setting the 'logo_filename' to the path of the target file and invoking the 'remove-logo' API endpoint. This vulnerability is due to the lack of proper sanitization of user-supplied input.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-3028
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 12:01 UTC · Revision 1
Source evidence
Improper Input Validation in mintplex-labs/anything-llm
core-osv · Original sourcePublished 16 Apr 2024, 00:00 UTC
mintplex-labs/anything-llm is vulnerable to improper input validation, allowing attackers to read and delete arbitrary files on the server. By manipulating the 'logo_filename' parameter in the 'system-preferences' API endpoint, an attacker can construct requests to read sensitive files or the application's '.env' file, and even delete files by setting the 'logo_filename' to the path of the target file and invoking the 'remove-logo' API endpoint. This vulnerability is due to the lack of proper sanitization of user-supplied input.
osv:CVE-2024-3028
Complete source record
{
"id": "e740118a9428adfacca776568709b4eeb2cdb332cd7ed266374ab7f89c6e8ff7",
"url": "https://osv.dev/vulnerability/CVE-2024-3028",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Improper Input Validation in mintplex-labs/anything-llm",
"summary": "mintplex-labs/anything-llm is vulnerable to improper input validation, allowing attackers to read and delete arbitrary files on the server. By manipulating the 'logo_filename' parameter in the 'system-preferences' API endpoint, an attacker can construct requests to read sensitive files or the application's '.env' file, and even delete files by setting the 'logo_filename' to the path of the target file and invoking the 'remove-logo' API endpoint. This vulnerability is due to the lack of proper sanitization of user-supplied input.",
"evidence": "osv:CVE-2024-3028",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-3028",
"aliases": [
"CVE-2024-3028"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mintplex-labs/anything-llm",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "013c0b9575ae6a87af87275e326041c4e0afeeee"
},
{
"fixed": "7de23dbb2da932fbfb39f56d981784d3702cf5ce"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.0.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "7de23dbb2da932fbfb39f56d981784d3702cf5ce"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-3028.json"
}
}
],
"modified": "2026-10-28T02:30:34.887110122Z",
"provider": "osv",
"references": [
"https://huntr.com/bounties/41016b86-eabb-4161-ac81-40a1ca8e82ac",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3028.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-3028",
"https://github.com/mintplex-labs/anything-llm/commit/7de23dbb2da932fbfb39f56d981784d3702cf5ce"
],
"provider_metadata": {
"cwe_ids": [
"CWE-20"
],
"cna_assigner": "@huntr_ai",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3028.json"
}
},
"related_cves": [
{
"value": "CVE-2024-3028",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 502240,
"published_at": "2024-04-16T00:00:14.083+00:00"
}