CVE-2026-61500: Insecure Math Random State Leak
Using Math.random() to generate session IDs, tokens, or cryptographic keys can leak the internal PRNG state. Math.random() is predictably non-cryptographic, and attackers can reconstruct its internal state to predict past and future values, leading to session forgery or access to cryptographic keys. Use `crypto.randomUUID()` or `crypto.randomBytes()` for sec
greprules fetch cve-2026-61500-insecure-math-random-state-leak --engine opengrepDescription
Using Math.random() to generate session IDs, tokens, or cryptographic keys can leak the internal PRNG state. Math.random() is predictably non-cryptographic, and attackers can reconstruct its internal state to predict past and future values, leading to session forgery or access to cryptographic keys. Use `crypto.randomUUID()` or `crypto.randomBytes()` for sec
Community feedback
0 rule-level signals from signed-in users.
- Useful reports
- 0
- Context false positives
- 0
- Metadata suggestions
- 0
Contextual precision
Aggregated from approved scan feedback. False-positive reports describe observed scan contexts, not a global rule verdict.
- Findings observed
- 0
- Projects
- 0
- Reporters
- 0
Precision details are collecting more signed-in reports before verdict counts or ratios are emphasized.
No approved finding verdicts yet.
No scan diagnostics reported yet.