Intel

AIKIDO-2026-393086

twilio-ruby is vulnerable to Authentication Bypass

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 12, 2026
October 12, 2026

75

CVE Score

High

Authentication Bypass

Are you affected? Scan for Free

TL;DR

The Rack::TwilioWebhookAuthentication middleware checks incoming webhook requests against a list of configured protected paths using only the raw, un-normalized PATH_INFO value. A request for a percent-encoded, dot-segment, or duplicate-slash variant of a protected path (for example /%76oice instead of /voice) still routes to the protected action but does not match any configured entry, so the middleware skips X-Twilio-Signature validation entirely. This lets unsigned, unauthenticated requests reach the protected webhook handler as though they carried a valid Twilio signature. The fix adds a protected_path? check that also compares decoded and normalized forms of the request path before allowing a request through unsigned.

How do I fix this?

Upgrade the twilio-ruby library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you configure Rack::TwilioWebhookAuthentication to validate only specific protected paths rather than every request.

Versions

3.12.0 - 7.11.1

Fixed in 7.11.2

Background info

twilio-ruby is vulnerable to Authentication Bypass in versions 3.12.0 - 7.11.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea