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

GHSA-6rmx-gvvg-vh6j: OpenClaw's hooks count non-POST requests toward auth lockout

mediumCVSS 3.1 5.3

OpenClaw 2026.3.2 and earlier count failed hook authentication for requests that use the wrong HTTP method. An unauthenticated client can send repeated GET requests with a bad token to /hooks/* and trigger the lockout window, which blocks legitimate webhook delivery for that client key. Fixed in OpenClaw 2026.3.7.

Published Mar 9, 2026 · Analysis Oct 31, 2026

What an attacker can do

In createHooksRequestHandler (src/gateway/server-http.ts), the req.method !== POST check ran after token validation. A request with a wrong bearer token and a non-POST method was therefore scored as an auth failure, and enough of them hit the hook auth limiter's budget. The commit's regression test uses 21 GET requests to /hooks/wake with a wrong token to show the budget being used up.

The damage is a temporary denial of service on hook delivery. Wake events and automations triggered by webhooks are rejected while the lockout runs. It matters most where many callers collapse to one hook auth client key, for example behind a shared proxy or NAT. There, one noisy client locks out every legitimate sender.

No data is exposed and nothing is modified. The attacker needs only network access to /hooks/*. That is why the score is 5.3, with low availability impact only.

Who is affected

The npm package openclaw, versions <= 2026.3.2, on instances that expose the /hooks/* HTTP endpoints to a network the attacker can reach. Check the version:

npm ls -g openclaw
openclaw --version

openclaw

Ecosystem
npm
Affected
<= 2026.3.2
Fixed in
2026.3.7
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.3.7, published to npm on March 8, 2026.

npm install -g [email protected]

Commit 44820dc moves the method check ahead of token extraction and the auth limiter. Non-POST requests now get 405 Method Not Allowed with an Allow: POST header and no limiter change. A side effect is that a non-POST request with a valid token no longer resets the limiter. The sources give no workaround. Limiting who can reach /hooks/* at the reverse proxy reduces exposure.

How to tell if you were hit

Look in gateway and reverse-proxy logs for bursts of non-POST requests (GET, HEAD, PUT) to /hooks/* paths such as /hooks/wake, with invalid bearer tokens, followed by legitimate webhook calls being rejected. Check whether the rejected callers share one source IP, which points to a shared proxy key. After upgrading, such requests should return 405 and not lock anyone out.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

OpenClaw's hooks HTTP handler counted hook authentication failures before rejecting unsupported HTTP methods. An unauthenticated client could send repeated non-POST requests (for example GET) with an invalid token to consume the hook auth failure budget and trigger the temporary lockout window for that client key.

The fix moves the hook method gate ahead of auth-failure accounting so unsupported methods return 405 Method Not Allowed without incrementing the hook auth limiter.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected versions: <= 2026.3.2
  • Patched version: 2026.3.7
  • Latest published npm version at patch time: 2026.3.2

Impact

An unauthenticated network client that could reach /hooks/* could temporarily lock out legitimate webhook delivery when requests collapsed to the same hook auth client key, such as shared proxy or NAT topologies. Impact is limited to temporary availability loss for hook-triggered wake or automation delivery.

Fix Commit(s)

  • 44820dceadac65ac7c0ce8fc0ffba8c2bd9fae89

Verification

  • pnpm check passed
  • pnpm test:fast passed
  • focused hook regression tests passed
  • pnpm exec vitest run --config vitest.gateway.config.ts still has unrelated current-main failures in src/gateway/server-channels.test.ts and src/gateway/server-methods/agents-mutate.test.ts

Release Process Note

npm 2026.3.7 was published on March 8, 2026. This advisory is fixed in the released package.

Thanks @JNX03 for reporting.

Credited to JNX03.

Questions

Is OpenClaw 2026.3.2 affected by this hooks lockout issue?

Yes. Versions up to and including 2026.3.2 are affected. The fix is in 2026.3.7.

Does the attacker need a valid token?

No. The attack uses an invalid token and a non-POST method, and it needs network reach to /hooks/* only.

What is the real-world impact?

Temporary loss of webhook-triggered wake and automation delivery for the locked-out client key. The advisory reports no confidentiality or integrity impact.

Does this have a CVE id?

Not in our data. It is tracked as GHSA-6rmx-gvvg-vh6j.

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