Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege Stremio token
-
DeliveryForge/enumerate unsigned msg_id stream IDs
-
ExploitSet global flag in stream_handler
-
ExecutionRoute request via operator Userbot
-
ImpactExfiltrate private chat messages and thumbnails
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Requires a running Telegram-Stremio instance (through 5.1.0) backed by an operator's personal Telegram Userbot account; the primary message-enumeration path requires a valid low-privilege API token (PR:L), after which the attacker sets a global routing flag in the stream_handler endpoint and enumerates sequential, unsigned msg_id values decoded by encode_string/decode_string. A distinct limiting/widening factor: the thumb_handler endpoint performs NO token validation, so thumbnail disclosure from the same chats needs no authentication at all. Exploitation is limited to data the operator's own Userbot can see (their private channels, groups, and Saved Messages) and depends on the instance being network-reachable to the attacker. |
| Impact | This is a broken object-level authorization flaw (CWE-639, BOLA/IDOR) reported by VulnCheck with a publicly available proof-of-concept (gist). The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N, 7.1) is internally consistent with the description: network-reachable, low complexity, requires a low-privilege authenticated token, and yields high confidentiality impact with no integrity or availability impact - matching a read-only data-disclosure bug. No EPSS score was provided and the CVE is NOT in CISA KEV, so there is no evidence of active exploitation; the signals point to 'exploitability demonstrated' (POC) rather than 'in-the-wild'. One notable nuance NOT captured by the single PR:L vector: the description states the thumb_handler endpoint discloses thumbnails from private chats WITHOUT any token validation, i.e. an unauthenticated (PR:N) sub-path exists alongside the authenticated msg_id enumeration path - verify scope with the vendor, as the official vector may understate the unauthenticated thumbnail leak. Overall this is a real, easily-exploitable confidentiality bug against a specific self-hosted addon, but its practical priority is bounded by the product's very small deployment footprint rather than by exploit difficulty. |
| Exploit ScenarioDerived | An attacker holding any valid low-privilege Telegram-Stremio token crafts or enumerates sequential msg_id values and sets the global stream_handler flag to route requests through the operator's personal Userbot account, reading private channels, groups, and Saved Messages belonging to the operator. A public proof-of-concept exists, and the separate unauthenticated thumb_handler endpoint lets an attacker with no token at all retrieve thumbnails from those same private chats. Because the stream IDs are unsigned and decoded via encode_string/decode_string, forging them requires no cryptographic effort. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 12, 2026
Broken object-level authorization in Telegram-Stremio through 5.1.0 lets an attacker who holds a valid low-privilege API token read arbitrary Telegram chat messages - including private channels, groups, and Saved Messages - by setting a global routing flag in the stream_handler endpoint and enumerating sequential, unsigned msg_id values that the application only obfuscates with its encode_string/decode_string routines. The separate thumb_handler endpoint performs no token validation at all, so thumbnails from those same chats are disclosed without any authentication, widening the exposure beyond the token-gated path. Publicly available exploit code exists (a public PoC gist) and VulnCheck has published an advisory, but no CISA KEV entry confirms active exploitation and no vendor-released patch was identified at time of analysis; the assessed impact is confidentiality-only (high), with no integrity or availability effect.
RemediationAI
No vendor-released patch was identified at time of analysis, so remediation must be compensating controls until the maintainer publishes a fixed release (monitor https://www.vulncheck.com/advisories/telegram-stremio-broken-object-authorization-via-stream-ids and the project repository for a patched version above 5.1.0, and treat the proof-of-concept at https://gist.github.com/mansurmavlankulov/489554cad7b38e07b9651c217f00fffb as public attack documentation). Highest-value action: stop running the add-on against an operator's personal Telegram Userbot account and replace it with a dedicated bot/dedicated Telegram account that only has visibility into the chats it is supposed to serve - this eliminates the private-channel, private-group, and Saved Messages exposure entirely, at the cost of losing access to content that legitimately resides in a personal account. Second, terminate or tightly scope public reachability of the instance: bind the add-on to localhost or a trusted management network and front it with an authenticating reverse proxy (real side effect: remote Stremio clients can no longer reach it directly and must be routed through the proxy/VPN). Third, if the thumb_handler endpoint is not needed, block or remove it at the proxy (e.g., deny paths matching the thumbnail route), since it applies no token validation whatsoever and leaks the same chat content unauthenticated; disabling it sacrifices thumbnail previews in the Stremio UI. Fourth, for any instance that must remain exposed, rotate and strictly limit API tokens, add rate-limiting and alerting on sequential msg_id enumeration and any global-flag changes on the stream_handler endpoint, but recognize that token controls do not protect thumb_handler. Finally, review the operator's Telegram account for unauthorized session activity and revoke any sessions the add-on no longer needs; all of these are interim measures, and the only complete fix is deploying a vendor version that binds stream and thumbnail IDs to the requesting principal and enforces per-object authorization on both endpoints.
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
Telegram-Stremio is a Stremio add-on that bridges the Stremio media player to Telegram by driving an operator-supplied personal Telegram Userbot account (a real user session rather than a bot token), and it exposes add-on endpoints such as stream_handler and thumb_handler that accept identifiers for Telegram messages. The vulnerable design relies on encode_string/decode_string to produce stream IDs that are unsigned and carry no authentication binding, so the msg_id inside them is fully attacker-controllable; this is the classic CWE-639 authorization-through-user-controlled-key (BOLA/IDOR) pattern, where the server trusts an object reference supplied by the client instead of validating that the requester is entitled to that object. Compounding this, stream_handler honors a global flag that switches request routing onto the operator's personal Userbot session, so any accepted msg_id is fetched with the operator's own privileges and the response boundary becomes everything that Userbot account can see - the operator's private channels, private groups, and Saved Messages. Because msg_id values are sequential, they are trivially enumerable once one valid ID is known. The CPE cpe:2.3:a:weebzone:telegram-stremio:*:*:*:*:*:*:*:* indicates all released versions through 5.1.0 are in scope, and the CVSS 4.0 vector AV:N/AC:L/AT:N/PR:L/UI:N with VC:H confirms a network-reachable, low-complexity, low-privilege path with high confidentiality impact only (VI:N/VA:N), matching the independent assessment (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
Know when Telegram Stremio 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:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable token-authenticated IDOR (PR:L, AC:L) yielding high confidentiality disclosure of private chats; no integrity or availability impact, so I:N/A:N and scope unchanged.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Telegram-Stremio through 5.1.0 contains a broken object-level authorization vulnerability that allows authenticated token holders to access arbitrary chat messages by forging unsigned, unauthenticated stream IDs decoded via encode_string/decode_string functions. Attackers can craft or enumerate sequential msg_id values and set a global flag in the stream_handler endpoint to route requests through the operator's personal Userbot account, exposing private channels, groups, and Saved Messages, while the unauthenticated thumb_handler endpoint further discloses thumbnails from those same chats without any token validation.
Executive ViewAI
Telegram-Stremio through 5.1.0 creates a high-severity confidentiality risk for organizations that use it to bridge Telegram communications with media workflows: private channels, groups, and Saved Messages content can be exposed through API-token misuse and an endpoint that lacks token validation. Publicly available exploit code exists, and no vendor-released patch was identified at time of analysis, so leadership should prioritize containment and exposure assessment for any production deployment. The primary concern is unauthorized disclosure of sensitive communications and associated media, with no integrity or availability impact reported.
No vendor-released patch identified at time of analysis; interim mitigations include disabling or removing Telegram-Stremio through 5.1.0, restricting network access to the service, revoking or rotating low-privilege API tokens, blocking stream_handler and thumb_handler endpoints at the reverse proxy or WAF, enforcing token validation for thumb_handler, monitoring for msg_id enumeration or abnormal chat and thumbnail access, and applying virtual patching until a vendor patch is available.
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-97859
GHSA-q45w-888c-vpfr
NVD
CVE.org
EPSS
Exploit-DB