Cross-Workspace IDOR in Parsed Files API allows Unauthorized Deletion
Résumé
[!NOTE]
Triage SummaryVulnerability 1 (Cross-Workspace File Embedding) - Dismissed
This is not a valid vulnerability. Managers and admins already have unrestricted access to all workspaces by design (seeWorkspace.whereWithUser()which bypasses workspace filtering for these...
Paquets affectés
| Écosystème | Paquet | Concernées | Corrigé |
|---|---|---|---|
| docker | mintplexlabs/anythingllm |
<= 1.7.6 |
f2030343d7a3701d096622efaa22fc4aaadd174c |
Description d'origine La description telle que publiée par la source (souvent en anglais).
[!NOTE]
Triage SummaryVulnerability 1 (Cross-Workspace File Embedding) - Dismissed
This is not a valid vulnerability. Managers and admins already have unrestricted access to all workspaces by design (seeWorkspace.whereWithUser()which bypasses workspace filtering for these roles). The ability to embed a file from Workspace B while calling the API with Workspace A's slug does not constitute privilege escalation—the manager could simply navigate to Workspace B and perform the same action directly.Vulnerability 2 (Cross-Workspace File Deletion) - Confirmed with amendment
Valid IDOR bug. The delete endpoint usesROLES.all(any authenticated user) and performs no parsed file ownership check on the providedfileIds. A default-role user with access only to Workspace A can delete parsed files belonging to other users on Workspace A, but not on workspaces they are not already permitted to access by the admin/manager.Severity is reduced due to:
- Only temporary parsed files are affected, not permanent embedded documents
- No data exfiltration (deletion only, no read access)
- Impact is recoverable (users can re-upload files)
- Requires authenticated session
- Limited to other users within the same workspace or other workspaces they are permitted to access already
Summary
Two IDOR vulnerabilities in the workspace parsed files API allow authenticated users to access and manipulate files across workspace boundaries in mu…
Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV
Références
- GITHUB_REPO_ADVISORY Mintplex-Labs/anything-llm