LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.7, packages/data-schemas/src/methods/file.ts updateFileUsage accepts chat attachment files[].file_id values without restricting the lookup to the authenticated owner. An authenticated attacker who obtains another user's file identifier, including through GET /api/share/{shareId} for a shared conversation, can attach that file to a chat, causing extracted document text to enter the model context. The same operation can remove expiration metadata from the victim file. This issue is fixed in version 0.8.7.
- CVSS:
- 6.3 (nvd)
- Vector:
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N
- EPSS:
- 0.44% (percentile 38.8)
- CWE:
- CWE-639
- Published:
- Modified:
- First seen:
- NVD status:
- Received
- Aliases:
- GHSA-wwj3-x5mw-wq7x