What’s Vulnerable › Vulnerabilities
CVE-2026-94456: Unauthenticated recovery of the Math.random() state behind OAuth tokens, authorization codes, client secrets and organization API keys
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-22 · updated 2026-09-22
- Weakness: CWE-330
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.
Affected products
- gitroomhq postiz-app: before 2.4.0 — fixed in 2.4.0
How to fix
Upgrade to a fixed version: gitroomhq postiz-app 2.4.0. Check the vendor advisory for mitigations.
References
- https://gadvisory.org/advisories/PSA-2026-TD98KY
- https://github.com/gitroomhq/postiz-app
- https://github.com/gitroomhq/postiz-app/commit/9259cf2429e8cc0c88414e88d5e6c783d7ffba63
- https://github.com/gitroomhq/postiz-app/releases/tag/v2.24.0
Get alerted when CVE-2026-94456 or the next vulnerability affects your stack