Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessTrigger media download failure in OpenClaw
-
ExploitBot token exposed in error message
-
ExecutionToken leaked to logs or error surfaces
-
ImpactAttacker accesses logs to retrieve token
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log data sanitization
|
| Exploitation Conditions | Remote unauthenticated attacker can trigger media download failures in OpenClaw before 2026.3.13 by sending crafted requests to the fetchRemoteMedia function. Telegram bot tokens are exposed in error logs and error messages accessible to any user with access to logs or error surfaces. |
| Impact | The CVSS 7.5 (High) score reflects severe confidentiality impact with an optimal attack surface: network-accessible, no authentication required, low complexity, and no user interaction needed. However, real-world risk depends heavily on deployment context. The vulnerability requires attackers to trigger media fetch failures and access resulting logs or error outputs-feasible in environments with exposed error endpoints, centralized logging accessible to unauthorized parties, or client applications displaying verbose errors. No confirmed active exploitation (not present in CISA KEV) and no public exploit identified at time of analysis reduce immediate weaponization risk. SSVC analysis suggests 'Attended' deployment priority: the vulnerability is network-exploitable and impacts confidentiality of high-value credentials (bot tokens enable account takeover), but exploitation requires specific environmental conditions (log access). EPSS probability unavailable due to recent CVE assignment. Organizations using OpenClaw with Telegram integrations in production, particularly those with exposed logging infrastructure or error monitoring dashboards, face elevated risk. The availability of a vendor patch (commit 7a53eb7) substantially reduces risk for organizations with active patch management. |
| Exploit ScenarioDerived | An attacker identifies an OpenClaw instance processing Telegram media through reconnaissance of exposed API endpoints or public repositories. By providing malformed or inaccessible Telegram media URLs to the application, the attacker triggers fetchRemoteMedia failures that generate MediaFetchError exceptions. If the application exposes error details through API responses, web interfaces, or publicly accessible logging dashboards (common in development/staging environments), the attacker harvests bot tokens from error messages. With stolen tokens, the attacker gains full control of the associated Telegram bot, enabling message interception, user data harvesting, and malicious message distribution to bot subscribers. No public exploit identified at time of analysis, but the attack requires only HTTP requests to trigger error conditions, making automation straightforward. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 31, 2026
Telegram bot token exposure in OpenClaw's media download error handling allows unauthenticated remote attackers to harvest sensitive API credentials through information disclosure. Versions prior to 2026.3.13 embed complete Telegram file URLs containing bot tokens in MediaFetchError exceptions, leaking credentials to application logs and error surfaces. With EPSS data unavailable and no CISA KEV listing, no public exploit identified at time of analysis, though the vulnerability requires minimal technical sophistication to exploit given the network-accessible attack vector and low complexity (CVSS:3.1/AV:N/AC:L/PR:N).
RemediationAI
Upgrade immediately to OpenClaw version 2026.3.13 or later, which includes the fix implemented in commit 7a53eb7ea8295b08be137e231c9a98c1a79b5cd5. The patch modifies MediaFetchError construction to sanitize Telegram URLs by removing bot token segments before error message assembly. Organizations unable to upgrade immediately should implement compensating controls: audit all application logs for exposed bot tokens and rotate any discovered credentials through Telegram's BotFather interface, restrict access to application logs and error monitoring systems to authorized personnel only, configure log scrubbing rules to redact patterns matching Telegram bot token formats (regex: bot[0-9]+:[A-Za-z0-9_-]+), and consider temporarily disabling Telegram media fetch functionality if business continuity permits. Post-remediation, perform thorough log review for historical token exposures as leaked credentials may have been harvested prior to patching. Vendor advisory available at https://github.com/openclaw/openclaw/security/advisories/GHSA-xwcj-hwhf-h378 with technical details at commit reference https://github.com/openclaw/openclaw/commit/7a53eb7ea8295b08be137e231c9a98c1a79b5cd5.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability stems from improper output neutralization for logs (CWE-532) in OpenClaw's fetchRemoteMedia function, which handles downloads from Telegram's Bot API. Telegram bot tokens are long-lived authentication credentials embedded in file URLs (format: api.telegram.org/file/bot<TOKEN>/<file_path>). When media fetch operations fail, OpenClaw constructs MediaFetchError objects using the raw URL strings without sanitization. The affected component (cpe:2.3:a:openclaw:openclaw) fails to scrub sensitive authentication material before error serialization, causing tokens to persist in application logs, monitoring systems, and potentially user-facing error messages. CWE-532 represents a common but critical oversight where security-sensitive data enters logging pipelines without redaction. Bot tokens provide full API access to the associated Telegram bot account, enabling message interception, user enumeration, and bot impersonation.
Know when Openclaw 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:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
OpenClaw before 2026.3.13 contains an information disclosure vulnerability in the fetchRemoteMedia function that exposes Telegram bot tokens in error messages. When media downloads fail, the original Telegram file URLs containing bot tokens are embedded in MediaFetchError strings and leaked to logs and error surfaces.
Blast Radius
ecosystem impact- 9 npm packages depend on openclaw (5 direct, 4 indirect)
Ecosystem-wide dependent count for version 2026.3.13.
Executive ViewAI
OpenClaw versions before 2026.3.13 expose Telegram bot API tokens in error messages, allowing any unauthenticated attacker with network access to harvest credentials through application logs and error responses. This credential exposure creates a direct pathway for unauthorized access to Telegram bot functionality and potential lateral movement into integrated messaging infrastructure.
Apply vendor patch to version 2026.3.13 or later immediately. If immediate patching is not feasible: (1) disable or isolate OpenClaw media download functionality until patched; (2) restrict network access to OpenClaw error endpoints to trusted internal networks only; (3) rotate all Telegram bot tokens and regenerate new tokens with restricted permissions; (4) implement real-time log scanning to detect and mask Telegram token patterns before they reach persistent storage or external systems.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Related Vulnerabilities in OpenClaw Authorization and Command Injection Flaws
View all 22Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.
OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att
An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.
OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e
Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in
Authentication bypass in OpenClaw before 2026.5.3 allows remote attackers with low privileges to receive agent responses
Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a
Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach
Authentication bypass in OpenClaw's MCP loopback interface allows local low-privilege attackers to escalate to owner-lev
OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director
OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func
EUVD-2026-17385
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB