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

CVE-2026-34505: OpenClaw: Zalo webhook rate limiting could be bypassed before secret validation

mediumCVSS 4.0 6.9GHSA-5m9r-p9g7-679c

OpenClaw's Zalo webhook handler applied rate limiting only after authentication succeeded. Requests with a wrong secret got a 401 and were never counted, so an attacker could guess the webhook secret without hitting a 429 and then send forged Zalo traffic. The npm package `openclaw` is fixed in 2026.3.12.

Published Mar 13, 2026 · Updated Apr 6, 2026 · Analysis Oct 31, 2026

What an attacker can do

The Zalo webhook is protected by a shared secret. The rate limiter sat behind that check. Failed attempts returned 401 but did not count against the limiter, so a client could try guesses at full speed with no throttle (CWE-307, excessive authentication attempts).

The attacker needs network access to the webhook endpoint and enough time to guess. The advisory says brute force is much easier for secrets that meet the policy minimum but are still weak. A strong, high-entropy secret stays impractical to guess.

Once the attacker has the secret, they can send forged Zalo webhook events as if they came from Zalo. Those events reach the agent behind the channel, so what they can trigger depends on the agent's tool policy. The advisory rates the issue Moderate and gives no CVSS vector.

Who is affected

openclaw 2026.3.11 and earlier. Deployments with a public Zalo webhook endpoint, particularly with a short or low-entropy secret, are the ones at risk. Check:

npm ls openclaw

openclaw

Ecosystem
npm
Affected
<= 2026.3.11
Fixed in
2026.3.12
Check
npm ls openclaw

How to fix it

Upgrade to 2026.3.12 or later.

npm install -g [email protected]

Rate limiting now applies before authentication succeeds, which closes the pre-authentication guessing gap. The advisory also recommends strong, high-entropy webhook secrets over ones that merely meet policy minimums. Rotate the secret if you suspect guessing.

How to tell if you were hit

Look in the webhook access logs for bursts of 401 responses on the Zalo endpoint from one address or a few addresses, followed by a successful request. After a successful guess, look for Zalo events with sender or content that your real users did not produce. Beam records agent shell commands and MCP tool calls, so you can see what forged events made the agent do.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

The Zalo webhook handler applied request rate limiting only after webhook authentication succeeded. Requests with an invalid secret returned 401 but did not count against the rate limiter, allowing repeated secret guesses without triggering 429.

Impact

This made brute-force guessing materially easier for weak but policy-compliant webhook secrets. Once the secret was guessed, an attacker could submit forged Zalo webhook traffic.

Affected versions

openclaw <= 2026.3.11

Patch

Fixed in openclaw 2026.3.12. Rate limiting now applies before successful authentication is required, closing the pre-auth brute-force gap. Users should update to 2026.3.12 or later and prefer strong webhook secrets.

Credited to zpbrent.

Questions

Why did the attacker never see a 429?

Failed authentication returned 401 and was not counted by the limiter, which only ran after authentication succeeded.

Is a strong secret enough?

It helps a lot, because brute force is practical mainly against weak secrets. Still upgrade to 2026.3.12 to close the unthrottled guessing.

Is there a CVSS score?

The advisory gives only a Moderate rating and no vector.

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