CVE-2026-35661: OpenClaw: auth bypass mutates AI agent session state
MEDIUMOpenClaw's Telegram integration contains an authorization bypass (CWE-288) where callback query handlers enforce weaker access controls than the DM pairing flow, allowing any unauthenticated remote attacker to arbitrarily mutate agent session state without completing the pairing handshake. The zero-privilege network vector (AV:N/AC:L/PR:N/UI:N) makes this exploitable with minimal skill — no account, no prior access, and no user interaction required. Although EPSS data is unavailable and tracked downstream dependents number only 4, OpenClaw is classified as an AI agent framework where session-state manipulation directly influences autonomous task execution, meaning the operational blast radius meaningfully exceeds what the CVSS 5.3 score alone suggests. Upgrade to OpenClaw 2026.3.25 (patch commit 269282ac) immediately; if patching is delayed, restrict the Telegram bot to allow-listed user IDs at the infrastructure level or disable inline button callback handling entirely.
What is the risk?
Medium CVSS (5.3) understates real-world risk in agentic deployments. The attack requires no authentication, no elevated privileges, and no user interaction — the weakest possible precondition set. The sole saving grace is the limited current package footprint (4 dependents, no CISA KEV listing, no public exploit or scanner template). However, in AI agent architectures, session state is the control plane for task execution: an attacker who can write arbitrary state effectively co-pilots the agent without leaving an obvious authentication log trail. The 395 other CVEs in the same package signal a broader pattern of security debt that warrants scrutiny beyond this single issue.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| OpenClaw | pip | — | No patch |
Do you use OpenClaw? You're affected.
How severe is it?
What is the attack surface?
What should I do?
5 steps-
Patch immediately: upgrade OpenClaw to 2026.3.25 or apply patch commit 269282ac69ab6030d5f30d04822668f607f13065 from the upstream repository.
-
If patching is not immediately possible, restrict Telegram bot access to a hard allow-list of user/chat IDs at the bot configuration level; block all unknown callback query senders at the application boundary.
-
Audit session state logs for unexpected mutations — look for state transitions not preceded by a completed DM pairing handshake.
-
Review tool permission scopes granted to the agent; temporarily revoke write-capable tool access until patched.
-
Monitor the vendor security advisory at GHSA-j4c9-w69r-cw33 and the VulnCheck advisory for exploitation indicators or updated EPSS data.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-35661?
OpenClaw's Telegram integration contains an authorization bypass (CWE-288) where callback query handlers enforce weaker access controls than the DM pairing flow, allowing any unauthenticated remote attacker to arbitrarily mutate agent session state without completing the pairing handshake. The zero-privilege network vector (AV:N/AC:L/PR:N/UI:N) makes this exploitable with minimal skill — no account, no prior access, and no user interaction required. Although EPSS data is unavailable and tracked downstream dependents number only 4, OpenClaw is classified as an AI agent framework where session-state manipulation directly influences autonomous task execution, meaning the operational blast radius meaningfully exceeds what the CVSS 5.3 score alone suggests. Upgrade to OpenClaw 2026.3.25 (patch commit 269282ac) immediately; if patching is delayed, restrict the Telegram bot to allow-listed user IDs at the infrastructure level or disable inline button callback handling entirely.
Is CVE-2026-35661 actively exploited?
No confirmed active exploitation of CVE-2026-35661 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-35661?
1. Patch immediately: upgrade OpenClaw to 2026.3.25 or apply patch commit 269282ac69ab6030d5f30d04822668f607f13065 from the upstream repository. 2. If patching is not immediately possible, restrict Telegram bot access to a hard allow-list of user/chat IDs at the bot configuration level; block all unknown callback query senders at the application boundary. 3. Audit session state logs for unexpected mutations — look for state transitions not preceded by a completed DM pairing handshake. 4. Review tool permission scopes granted to the agent; temporarily revoke write-capable tool access until patched. 5. Monitor the vendor security advisory at GHSA-j4c9-w69r-cw33 and the VulnCheck advisory for exploitation indicators or updated EPSS data.
What systems are affected by CVE-2026-35661?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, conversational AI interfaces, Telegram bot integrations, multi-step agentic workflows.
What is the CVSS score for CVE-2026-35661?
CVE-2026-35661 has a CVSS v3.1 base score of 5.3 (MEDIUM).
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0049 Exploit Public-Facing Application AML.T0053 AI Agent Tool Invocation AML.T0080 AI Agent Context Poisoning Compliance Controls Affected
What are the technical details?
Original Advisory
OpenClaw before 2026.3.25 contains an authorization bypass vulnerability in Telegram callback query handling that allows attackers to mutate session state without satisfying normal DM pairing requirements. Remote attackers can exploit weaker callback-only authorization in direct messages to bypass DM pairing and modify session state.
Exploitation Scenario
An attacker identifies a public-facing Telegram bot powered by OpenClaw — discoverable via Telegram search or by enumerating bot usernames referenced in public repositories. Without initiating a DM pairing handshake, the attacker crafts a Telegram inline button callback query containing a manipulated session payload and sends it directly to the bot's callback handler endpoint. The handler, relying on weaker callback-only authorization, processes the request and writes the attacker-supplied state into the active session. The attacker then leverages the poisoned session to redirect the agent's next autonomous task — for example, altering a pending API call target, injecting a prompt into the agent's working memory, or triggering a tool invocation against an attacker-controlled endpoint — all without the legitimate session owner being notified.
Weaknesses (CWE)
CWE-288 — Authentication Bypass Using an Alternate Path or Channel: The product requires authentication, but the product has an alternate path or channel that does not require authentication.
- [Architecture and Design] Funnel all access through a single choke point to simplify how users can access a resource. For every access, perform a check to determine if the user has permissions to access the resource.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N References
Timeline
Related Vulnerabilities
CVE-2026-33579 9.9 Analysis pending
Same package: openclaw CVE-2026-32922 9.9 Analysis pending
Same package: openclaw CVE-2026-32038 9.8 Analysis pending
Same package: openclaw CVE-2026-53838 9.8 OpenClaw: approval scope bypass via reconnection state
Same package: openclaw CVE-2026-30741 9.8 OpenClaw: RCE via request-side prompt injection
Same package: openclaw