CVE-2026-94456
criticalPostiz generates security-sensitive credentials using `Math.random()` instead of a cryptographically secure source.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://gadvisory.org/advisories/PSA-2026-TD98KY 4cdc9741-f887-419a-a2fd-acbbd2729276
- https://github.com/gitroomhq/postiz-app 4cdc9741-f887-419a-a2fd-acbbd2729276
- https://github.com/gitroomhq/postiz-app/commit/9259cf2429e8cc0c88414e88d5e6c783d7ffba63 4cdc9741-f887-419a-a2fd-acbbd2729276
- https://github.com/gitroomhq/postiz-app/releases/tag/v2.24.0 4cdc9741-f887-419a-a2fd-acbbd2729276
