Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain public-channel attachment object key
-
ExploitRequest GET /files/:key with no or invalid token
-
ExecutionNull user id passes canAccessFile() check
-
ImpactServer decrypts and returns plaintext attachment
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to possess a valid attachment object key for a public-channel attachment (keys follow a pattern such as '1/public.png') and to send an unauthenticated GET /files/:key request to EdgeChat before 2.20.3, omitting the session token or supplying an invalid, expired, banned, deleted, or revoked one. Limiting factors confirmed by the regression tests: only public-channel attachments are exposed - private-channel and DM attachments still require channel membership, and uploader-only draft files remain restricted - so impact is confidentiality-only and scoped to content already intended for logged-in public-channel readers. The need to already hold the object key (reflected as AT:P) prevents blind or fully automated mass harvesting. |
| Impact | This is a genuine but moderate-priority confidentiality issue, not an emergency. The CVSS 4.0 base score is 6.3 (medium) with vector AV:N/AC:L/AT:P/PR:N/UI:N and only low confidentiality impact (VC:L), integrity and availability unaffected. The PR:N reflects the core flaw - missing authentication (CWE-306) because canAccessFile() accepts a null user id - but AT:P signals a real limiting precondition: the attacker must already hold a valid attachment object key, so this is not blind mass exploitation. The vuln.today decision label is 'this_month', consistent with medium severity rather than act_now/emergency. No CISA KEV listing is present and no EPSS score was supplied, so widespread-exploitation probability cannot be quantified from the input; a public PoC reference (hackmd writeup) exists but is not verified as working exploit code. Impact is scoped to plaintext disclosure of public-channel attachments only - the regression tests confirm private-channel and DM attachments still require membership - which caps the real-world damage. Net: a legitimate unauthenticated data-exposure bug worth patching on a normal cycle, but bounded by the object-key requirement and the public-channel-only scope. |
| Exploit ScenarioDerived | An attacker who has learned or guessed a public-channel attachment object key (e.g. '1/public.png') sends an unauthenticated GET /files/:key request, omitting the session token or supplying an invalid/expired/banned one. Because canAccessFile() accepts a null user id, the worker decrypts and returns the plaintext attachment with no session or channel membership. A public PoC reference describes the technique but is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
EdgeChat before 2.20.3 exposes decrypted public-channel attachments to unauthenticated or banned users through GET /files/:key because canAccessFile() accepts a null user ID. An attacker who already holds an attachment object key can omit the session token or supply an invalid, expired, disabled, deleted, or revoked one and retrieve plaintext attachment bytes without a session or channel membership; private-channel and DM attachments remain protected. A public technical writeup exists, but no working exploit code is confirmed, and the assessed CVSS:3.1 vector AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N reflects that the attacker must first possess the object key.
RemediationAI
Vendor-released patch: upgrade EdgeChat to 2.20.3, which contains commit 38cb5cf42d8014ca64624d4f4d565419b2fbeda9 and the authorization fix that validates a positive integer user ID before reading R2 and rejects absent, expired, disabled, temporarily disabled, deleted, and revoked sessions. The 2.20.3 changelog states that no new migrations, resources, secrets, deployment steps, or Android changes are required, so apply the normal deployment for the worker. If immediate upgrade is not possible, restrict unauthenticated GET /files/:key requests at the edge or WAF and allowlist only the avatar and site-icon paths intended to remain public; the trade-off is that an incomplete allowlist can break anonymous avatar or site-icon loading. Review the GitHub issue at https://github.com/aozorae/Edgechat/issues/58 and the VulnCheck advisory at https://www.vulncheck.com/advisories/edgechat-before-2.20.3-missing-authentication-for-attachment-download-via-get-files-key for the vendor guidance, and confirm the fix with the new regression tests covering missing, invalid, expired, disabled, deleted, and revoked tokens as well as private-channel and DM membership.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
EdgeChat is a Cloudflare Workers application that uses D1 for data, KV-backed sessions, and R2 for attachment storage; the affected route is implemented in worker/src/data/uploaded-files.js. The flaw is CWE-306 (Missing Authentication for Critical Function): canAccessFile() accepts a null user ID, and the public-channel attachment authorization path treats that null identity as sufficient, so the handler proceeds to fetch and decrypt the R2 object before a valid session or channel membership has been established. The CPE cpe:2.3:a:aozorae:edgechat:*:*:*:*:*:*:*:* covers versions before 2.20.3. The commit for 2.20.3 changes authorization to validate a positive integer user ID first and to reject absent, expired, disabled, temporarily disabled, deleted, and revoked sessions before any R2 read; regression tests confirm that only public-channel attachments were exposed, while private-channel and DM attachments still require membership and uploader-only draft files remain restricted. The assessed CVSS:3.1 score is 6.3-equivalent with AC:H, and the CVSS 4.0 AT:P metric reflects the prerequisite that the attacker already knows the attachment object key.
Know when Edgechat gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Network and unauthenticated (PR:N - the missing-auth flaw), but the attacker must already hold a valid object key so AC:H; only public-channel attachment disclosure, hence C:L and I:N/A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-117651
GHSA-24j8-6f8g-7442
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB