{"id":"CVE-2026-94456","published":"2026-09-22T17:17:31.670","lastModified":"2026-09-22T19:37:36.747","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.\n\nAn 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.","cvssScore":9.1,"cvssSeverity":"CRITICAL","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","cwes":["CWE-330","CWE-338","CWE-341"],"vendors":[],"products":[],"references":[{"url":"https://gadvisory.org/advisories/PSA-2026-TD98KY","tags":[]},{"url":"https://github.com/gitroomhq/postiz-app","tags":[]},{"url":"https://github.com/gitroomhq/postiz-app/commit/9259cf2429e8cc0c88414e88d5e6c783d7ffba63","tags":[]},{"url":"https://github.com/gitroomhq/postiz-app/releases/tag/v2.24.0","tags":[]}],"exploitRefs":[{"url":"https://github.com/gitroomhq/postiz-app","tags":[]},{"url":"https://github.com/gitroomhq/postiz-app/commit/9259cf2429e8cc0c88414e88d5e6c783d7ffba63","tags":[]},{"url":"https://github.com/gitroomhq/postiz-app/releases/tag/v2.24.0","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw lies in Postiz's use of `Math.random()` for generating security-sensitive credentials, which is not cryptographically secure. Attackers can exploit this to reconstruct the PRNG state and derive past and future credentials, compromising user and organization security.","exploitability":"Exploitation is moderately hard as it requires access to the unauthenticated OAuth dynamic client registration endpoint and knowledge of the PRNG state. Precondition is the availability of the endpoint and the ability to observe consecutive PRNG outputs.","blast_radius":"If exploited, the impact is severe as it could compromise credentials for multiple users and organizations, leading to potential unauthorized access and data breaches.","remediation":"Disable the affected feature or upgrade to the latest version of Postiz that addresses this vulnerability, as no specific version is mentioned in the description.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["crypto","prng","auth","web"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-09-28T08:51:03.499Z"}}