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

CVE-2026-41351: OpenClaw: Telnyx Webhook Replay Detection Bypass via Base64 Signature Re-encoding

mediumCVSS 4.0 6.3 · 3.1 5.3GHSA-37v6-fxx8-xjmx

OpenClaw 2026.3.28 and earlier can be made to accept a replayed Telnyx voice webhook. Replay detection hashed the raw signature header, so the same signature re-encoded between Base64 and Base64URL looked like a new request. Signature verification itself still held. Upgrade to openclaw 2026.3.31.

Published Apr 3, 2026 · Updated May 6, 2026 · Analysis Oct 30, 2026

What an attacker can do

The voice-call extension verifies Telnyx webhooks in verifyTelnyxWebhook (extensions/voice-call/src/webhook-security.ts). The signature is decoded with decodeBase64OrBase64Url, so both Base64 and Base64URL forms pass the Ed25519 check. The replay key, however, was built from the raw signature header value. Two encodings of the same signature gave two different keys, and the replay cache saw a fresh request.

An attacker who captures one genuine signed Telnyx webhook can resend it with the signature changed to the other encoding, for example swapping + and / for - and _ and dropping the = padding. The signature still verifies, so the duplicate event is processed again. The attacker cannot forge a new webhook or change the body, since that would break the signature. What they gain is repeated delivery of an event they observed, such as a call event, which can trigger duplicate handling in the voice-call flow. The maintainers lowered it to low severity because verification held. The attacker also needs a captured webhook, which fits the high attack requirement in the CVSS 4.0 vector.

Who is affected

The npm package openclaw at 2026.3.28 and earlier, when the voice-call extension is used with Telnyx webhooks. Version 2026.3.31 is the first stable release with the fix. Deployments that do not use Telnyx voice calls are not exposed.

Check your install:

npm ls -g openclaw
openclaw --version

openclaw

Ecosystem
npm
Affected
<= 2026.3.28
Fixed in
2026.3.31
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.3.31 or later.

npm install -g [email protected]

Commit ad776660 keeps the decoded signature for verification and adds a canonicalSignature, re-encoded as standard Base64. The replay key is now telnyx: plus a SHA-256 hash of timestamp, canonicalSignature and rawBody. A new test submits one signature in Base64 and in a URL-safe variant and expects both to count as the same replay. The advisory gives no workaround.

How to tell if you were hit

Look in the webhook logs of the voice-call extension for the same Telnyx event, with an identical timestamp and body, processed more than once. Compare the signature header across those requests: a pair that differ only by + and / versus - and _, or by trailing = padding, points to this bypass. Telnyx's own delivery log shows how many times it sent each event; more handled events than sent ones is a sign.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

Telnyx Webhook Replay Detection Bypass via Base64 Signature Re-encoding

Current Maintainer Triage

  • Status: narrow
  • Normalized severity: low
  • Assessment: Shipped v2026.3.28 replay hashing treated equivalent Telnyx Base64/Base64URL signatures as distinct requests, but signature verification still held, so lower to low.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Latest published npm version: 2026.3.31
  • Vulnerable version range: <=2026.3.28
  • Patched versions: >= 2026.3.31
  • First stable tag containing the fix: v2026.3.31

Fix Commit(s)

  • ad77666054651c1fd77b1dc60fd6a8db6600a29a — 2026-03-30T20:01:43+01:00

Release Process Note

  • The fix is already present in released version 2026.3.31.
  • This draft looks ready for final maintainer disposition or publication, not additional code-fix work.

OpenClaw thanks @AntAISecurityLab for reporting.

Credited to AntAISecurityLab.

Questions

Can an attacker forge Telnyx webhooks with this flaw?

No. Signature verification still held. The flaw only let a captured, genuine webhook be replayed once more in a different signature encoding.

Which OpenClaw version fixes CVE-2026-41351?

2026.3.31. Versions up to and including 2026.3.28 are listed as vulnerable.

Is it exploited in the wild?

No source I read says so, and the entry has no CISA KEV flag. The EPSS score is about 0.3%.

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