Description
Cinny is a Matrix client. Prior to 4.10.3, A remote authenticated attacker who shares a room with a victim and has permissions to create room emotes (for example in a DM) can cause the victim's client to send their Matrix access token to an attacker-controlled server. This occurs when the victim opens the emoji or sticker picker for the room containing a malicious emote pack. This is caused by an incorrect fallback in EmojiBoard that uses untrusted pack.meta.avatar (user-controlled) without converting/validating it as an MXC URL, allowing arbitrary HTTP(S) URLs to be used. Also, the service worker attaching the user's Authorization bearer token to all outbound GET requests whose URL contains /_matrix/client/v1/media/download or /_matrix/client/v1/media/thumbnail without verifying the request host matches the configured homeserver origin. An attacker-controlled URL containing those path fragments and permissive CORS will receive the victim's Authorization header (access token). This vulnerability is fixed in 4.10.3.
Published: 2026-05-27
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Cinny, a Matrix client, contains a flaw that enables a remote authenticated attacker to cause a victim’s client to transmit the victim’s Matrix access token to the attacker’s server. The flaw stems from an unsafe fallback in the emoji picker that accepts an untrusted avatar URL without validating it as an MXC URI, and a service worker that attaches the bearer token to any GET request that includes a media‑download or thumbnail path without ensuring the request host matches the client’s homeserver. If an attacker embeds a malicious emoji pack in a room shared with the victim, opening the picker triggers the victim’s browser to send the token to the attacker. This results in the exposure of the victim’s credentials, allowing the attacker to impersonate the victim on the Matrix network.

Affected Systems

Cinny (Matrix client) versions prior to 4.10.3 are impacted. The vulnerability exists in the user‑facing application bundled with those releases and is resolved in v4.10.3 and later.

Risk and Exploitability

The CVSS score of 7.1 indicates a moderate to high risk, but the EPSS score is currently unavailable and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires an attacker to be authenticated into the same Matrix room as the victim and to be permitted to create or upload emoji, which is a realistic scenario in many direct‑message or public rooms. Once the attacker supplies a crafted URL, the victim’s browser will automatically send the access token to the attacker’s host, granting the attacker full client‑level access to the victim’s account without additional effort.

Generated by OpenCVE AI on May 27, 2026 at 19:14 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Cinny to version 4.10.3 or later, where the emoji URL and service worker handling are fixed.
  • If an upgrade is not immediately possible, configure the client or the homeserver to reject or silently ignore emoji pack URLs that are not MXC URIs or that resolve to external hosts, effectively restoring the previous validation logic.
  • Restrict the service worker to attach Authorization headers only when the request host matches the trusted homeserver domain; this can be enforced by modifying the service worker registration or by applying a network filter that blocks cross‑origin /_matrix/client/v1/media/* requests with bearer tokens.
  • If token leakage is suspected, revoke the affected user’s access token via the homeserver’s administration interface and prompt the user to re‑authenticate.

Generated by OpenCVE AI on May 27, 2026 at 19:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-j944-w549-3453 Cinny vulnerable to access token disclosure via invalidated emoji pack avatar URL in service worker
History

Wed, 27 May 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 27 May 2026 17:45:00 +0000

Type Values Removed Values Added
Description Cinny is a Matrix client. Prior to 4.10.3, A remote authenticated attacker who shares a room with a victim and has permissions to create room emotes (for example in a DM) can cause the victim's client to send their Matrix access token to an attacker-controlled server. This occurs when the victim opens the emoji or sticker picker for the room containing a malicious emote pack. This is caused by an incorrect fallback in EmojiBoard that uses untrusted pack.meta.avatar (user-controlled) without converting/validating it as an MXC URL, allowing arbitrary HTTP(S) URLs to be used. Also, the service worker attaching the user's Authorization bearer token to all outbound GET requests whose URL contains /_matrix/client/v1/media/download or /_matrix/client/v1/media/thumbnail without verifying the request host matches the configured homeserver origin. An attacker-controlled URL containing those path fragments and permissive CORS will receive the victim's Authorization header (access token). This vulnerability is fixed in 4.10.3.
Title Cinny: Access token disclosure via invalidated emoji pack avatar URL in service worker
Weaknesses CWE-20
References
Metrics cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-27T18:01:39.578Z

Reserved: 2026-04-28T16:56:50.191Z

Link: CVE-2026-42553

cve-icon Vulnrichment

Updated: 2026-05-27T18:01:32.963Z

cve-icon NVD

Status : Received

Published: 2026-05-27T18:16:22.857

Modified: 2026-05-27T18:16:22.857

Link: CVE-2026-42553

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-27T19:15:26Z

Weaknesses