What’s Vulnerable › Vulnerabilities

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

Description

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 products

How to fix

Upgrade to a fixed version: WSO2 Api Control Plane 4.5.0.53; WSO2 API Manager 4.1.0.253, 4.2.0.193, 4.3.0.104, 4.4.0.68. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-3416 or the next vulnerability affects your stack