# CVE-2026-94456: Unauthenticated recovery of the Math.random() state behind OAuth tokens, authorization codes, client secrets and organization API keys

- Severity: Critical 9.1 (CVSS:3.1, scored by postiz) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-09-22T16:11:33.674Z
- Modified: 2026-09-22T19:37:36.747Z
- Weaknesses: CWE-330, CWE-338, CWE-341
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: postiz

## Description

Postiz generates security-sensitive credentials using `Math.random()` instead of a cryptographically secure source. The same helper is used for OAuth access tokens, authorization codes, client secrets, organization API keys, and PKCE verifiers, meaning these credentials depend entirely on V8’s deterministic xorshift128+ PRNG state.

An unauthenticated OAuth dynamic client registration endpoint exposes freshly generated client credentials, giving attackers enough consecutive PRNG output to reconstruct that internal state. Once recovered, they can deterministically derive past and future values produced by the same generator, potentially compromising credentials belonging to other users and organizations.

(As written by CVE List.)

## Affected

- postiz-app: before 2.4.0

## References

- <https://github.com/gitroomhq/postiz-app> (product)
- <https://github.com/gitroomhq/postiz-app/releases/tag/v2.24.0> (release-notes)
- <https://github.com/gitroomhq/postiz-app/commit/9259cf2429e8cc0c88414e88d5e6c783d7ffba63> (patch)
- <https://gadvisory.org/advisories/PSA-2026-TD98KY> (vendor-advisory)

## Sources

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

---

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