CVE-2026-66024: Chatwoot < 4.17.0 SSRF via Twilio Callback Endpoint
Chatwoot before 4.17.0 contains a server-side request forgery vulnerability that allows unauthenticated attackers to make the server issue HTTP requests to arbitrary hosts by exploiting missing Twilio request signature validation on the /twilio/callback endpoint. Attackers who know a channel's AccountSid and phone number can post a forged inbound message with an attacker-controlled MediaUrl0 value, causing the server to download the resource with the channel's Twilio credentials attached as HTTP Basic auth, enabling access to internal services, cloud metadata endpoints, and theft of Twilio credentials.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.17.0
Event History
Frequently Asked Questions
What information does an attacker need to exploit this?
An unauthenticated attacker needs to know a Twilio channel's AccountSid and phone number. They can then submit a forged inbound-message callback containing an attacker-controlled MediaUrl0 value.
Which systems are exposed?
Chatwoot instances before 4.17.0 are affected where the /twilio/callback endpoint can be reached and a Twilio channel's AccountSid and phone number can be identified by an attacker. The issue does not require an authenticated Chatwoot account.
What can the server be induced to access?
The attacker can cause Chatwoot to issue HTTP requests to arbitrary hosts, including internal services and cloud metadata endpoints. The media download request includes the channel's Twilio credentials as HTTP Basic authentication, which can expose those credentials to the destination host.
How can I determine whether my instance is already patched?
Verify that the deployed Chatwoot version is 4.17.0 or later. Versions before 4.17.0 lack Twilio request signature validation on the affected callback endpoint.