EdgeChat before 2.20.3 Missing Authentication for Attachment Download via GET /files/:key
- State
- Published
- Severity
- 6.3 Medium
- Published
- Nov 5, 2026
- Updated
- Nov 5, 2026
- Reserved
- Nov 5, 2026
Description
EdgeChat before 2.20.3 contains a missing authentication vulnerability in the GET /files/:key route that allows unauthenticated or banned users to download decrypted public-channel attachments because canAccessFile() accepts a null user id. Attackers holding an attachment object key can omit or supply an invalid token to retrieve plaintext attachments without a session or channel membership.
| Product | Versions |
|---|---|
| EdgeChat aozorae | before 2.20.3 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.3 Medium | VulnCheck | |
| 3.1 | 3.7 Low | VulnCheck |
Weaknesses
- CWE-306 Missing Authentication for Critical Function
References
- https://github.com/aozorae/Edgechat/issues/58Issue Tracker
- https://github.com/aozorae/Edgechat/commit/38cb5cf42d8014ca64624d4f4d565419b2fbeda9Patch
- https://github.com/aozorae/Edgechat/blob/1288c66997d5e2f9eefc515cf60b2072f8d655be/worker/src/data/uploaded-files.js#L146Technical Details
- https://hackmd.io/@hieund/edgechat-files-unauthenticated-public-attachment-disclosureTechnical Details
- VulnCheck Advisory: EdgeChat before 2.20.3 Missing Authentication for Attachment Download via GET /files/:keyThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.