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

- Severity: Medium 5.9 (CVSS:3.1, scored by WSO2) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2026-09-03T12:35:32.628Z
- Modified: 2026-09-15T18:02:04.233Z
- Weaknesses: CWE-330
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: WSO2

## 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.

(As written by CVE List.)

## Affected

- WSO2 WSO2 API Manager: before 4.1.0; from 4.1.0 before 4.1.0.253; from 4.2.0 before 4.2.0.193; from 4.3.0 before 4.3.0.104; from 4.4.0 before 4.4.0.68; from 4.5.0 before 4.5.0.52
- WSO2 WSO2 API Control Plane: from 4.5.0 before 4.5.0.53
- wso2 api_control_plane: from 4.5.0 before 4.5.0.53
- wso2 api_manager: from 4.1.0 before 4.1.0.253; from 4.2.0 before 4.2.0.193; from 4.3.0 before 4.3.0.104; from 4.4.0 before 4.4.0.68; from 4.5.0 before 4.5.0.52

## Every score

- WSO2: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2026-5174/> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2026-3416](https://www.cve.org/CVERecord?id=CVE-2026-3416), CVE Terms of Use, modified 2026-09-03
- NVD: [CVE-2026-3416](https://nvd.nist.gov/vuln/detail/CVE-2026-3416), Public domain, modified 2026-09-15

---

Page: https://cve.day/CVE-2026-3416 · Whole record: https://cve.day/CVE-2026-3416.json · Rebuilt by cve.day 2026-11-25T22:59:36.150Z
