CVE-2026-3416: Predictable Pseudorandom Number Generation via Webhook HMAC Secret Generation in Multiple WSO2 Products Allows Forged Event Payloads

Published Sep 3, 2026
·
Updated

The API Publisher component previously used a non-cryptographic pseudorandom number generator (PRNG) to create shared secrets for Webhook HMAC validation. This PRNG lacks sufficient entropy for security-sensitive operations, allowing a sophisticated attacker to predict future secrets. This enables malicious actors to forge event payloads with valid HMAC signatures, bypassing the API Gateway's authenticity verification.

Successful exploitation could allow an attacker to predict shared secrets used for Webhook HMAC validation and forge event payloads with valid signatures. This may enable bypassing API Gateway authenticity checks, leading to unauthorized event injection, data manipulation, or downstream system compromise.

Affected Software

1 affected component
WSO2 API Publisher

Event History

Sep 3, 2026
CVE Published
via MITRE·12:35 PM
Data Sourced
via MITRE·12:35 PM
RemedyDescriptionSeverityWeakness

Frequently Asked Questions

1

Does an attacker need an account or user interaction to exploit this issue?

No privileges or user interaction are required according to the provided vector. The attacker would need network reachability and sufficient sophistication to predict secrets generated by the affected PRNG.

2

Which environments are exposed to forged webhook events?

Environments using API Publisher-generated shared secrets for Webhook HMAC validation are exposed if those predictable secrets are in use. A predicted secret can be used to create event payloads with HMAC signatures that pass API Gateway authenticity verification.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203