NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-35628: OpenClaw: Telegram Webhook Missing Guess Rate Limiting Enables Brute-Force Guessing of Weak Webhook Secret

mediumCVSS 4.0 6.3 · 3.1 4.8GHSA-vcx4-4qxg-mfp4

OpenClaw 2026.3.24 and earlier rejects a wrong Telegram webhook secret but never throttles repeated guesses. An attacker who can reach the webhook can brute-force a weak secret and then send forged Telegram updates to the bot. The advisory names 2026.3.25 as the first patched version.

Published Mar 27, 2026 · Updated Apr 18, 2026 · Analysis Oct 31, 2026

What an attacker can do

The Telegram extension (extensions/telegram/src/webhook.ts) validates the secret Telegram sends with each update. A wrong secret got a 401 and nothing more, so guesses cost the attacker nothing. A strong random secret survives this. A short or predictable one does not.

Once the attacker has the secret, they can post fabricated updates that the gateway treats as real Telegram messages. That can make the agent act on text the attacker wrote, as if from an allowed chat. The CVSS vectors score it medium, with high attack complexity because success depends on a weak secret.

The exposure is for teams that run Telegram in webhook mode on a publicly reachable URL. Long polling setups have no inbound webhook to attack.

Who is affected

The npm package openclaw at 2026.3.24 and earlier, with the Telegram channel configured in webhook mode. The advisory verified the flaw on tag v2026.3.24.

Check your version:

npm ls openclaw

openclaw

Ecosystem
npm
Affected
<= 2026.3.24
Fixed in
No patched version yet
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.3.25 or later. This database's metadata has no patched version yet; the advisory says 2026.3.25 was the next planned release when it was published, so confirm the release on npm.

npm install openclaw@latest

The fix is commit c2c136a. A fixed-window limiter, keyed on path plus client IP, now runs before secret validation. Over-limit requests get HTTP 429. If the gateway sits behind a proxy, set gateway.trustedProxies so the limiter sees real client addresses. gateway.allowRealIpFallback enables X-Real-IP as a fallback. Rotate to a long random webhook secret.

How to tell if you were hit

Check gateway logs for runs of 401 "unauthorized" responses on the Telegram webhook path from a single address. On a patched version the same run turns into 429 "Too Many Requests". If you saw a burst on an old version, rotate the webhook secret and look for bot activity you did not expect.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

Telegram Webhook Missing Guess Rate Limiting Enables Brute-Force Guessing of Weak Webhook Secret

Affected Packages / Versions

  • Package: openclaw
  • Affected versions: <= 2026.3.24
  • First patched version: 2026.3.25
  • Latest published npm version at verification time: 2026.3.24

Details

Telegram webhook auth previously rejected bad secrets but did not throttle repeated guesses, allowing brute-force attempts against weak webhook secrets. Commit c2c136ae9517ddd0789d742a0fdf4c10e8c729a7 adds repeated-guess throttling before auth failure responses.

Verified vulnerable on tag v2026.3.24 and fixed on main by commit c2c136ae9517ddd0789d742a0fdf4c10e8c729a7.

Fix Commit(s)

  • c2c136ae9517ddd0789d742a0fdf4c10e8c729a7

Release Process Note

2026.3.25 is the next planned OpenClaw release version in package.json. This advisory is being published ahead of that npm release so the draft is no longer blocked; once 2026.3.25 is published, the structured patched-version metadata will match the released artifact.

Credited to zpbrent.

Questions

Does this affect Telegram bots using long polling?

The advisory covers the webhook auth path. A bot that uses polling has no inbound webhook, so the guessing attack does not apply to it.

Where does the fix throttle?

In the Telegram webhook listener, before the secret is checked, so wrong guesses use up the budget. Requests over the limit get 429.

Is CVE-2026-35628 exploited in the wild?

No source reports it, and it is not in CISA's KEV catalog.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More OpenClaw vulnerabilities

All OpenClaw entries