CVE-2026-11832: CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in BIAFRA Dancer2::Plugin::Auth::OAuth
Dancer2::Plugin::Auth::OAuth versions before 0.22 for Perl use a predictable nonce generated by applying an MD5 hash to the epoch time. This use of a cryptographically weak pseudo-random number generator (PRNG) results in predictable nonces, which can undermine the security of OAuth authentication flows.
AI Analysis
Technical Summary
The vulnerability identified as CVE-2026-11832 affects Dancer2::Plugin::Auth::OAuth versions prior to 0.22. The plugin generates nonces for OAuth authentication using an MD5 hash of the current epoch time, which is predictable and considered cryptographically weak (CWE-338). This predictable nonce generation can potentially allow attackers to guess or reproduce nonce values, weakening the security guarantees of the OAuth authentication process.
Potential Impact
The predictable nonce generation compromises the randomness expected in OAuth authentication nonces. This can lead to replay attacks or other authentication bypass scenarios where an attacker can predict or reuse nonce values. However, no known exploits in the wild have been reported for this vulnerability.
Mitigation Recommendations
No official patch or remediation level has been published yet. Users should upgrade to version 0.22 or later once available, as this version presumably addresses the nonce generation issue. Until a fix is released, consider implementing custom nonce generation using a secure cryptographic random number generator to replace the default behavior.
CVE-2026-11832: CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in BIAFRA Dancer2::Plugin::Auth::OAuth
Description
Dancer2::Plugin::Auth::OAuth versions before 0.22 for Perl use a predictable nonce generated by applying an MD5 hash to the epoch time. This use of a cryptographically weak pseudo-random number generator (PRNG) results in predictable nonces, which can undermine the security of OAuth authentication flows.
Affected software
pkg:github/Dancer2-Plugin-Auth-OAuthRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2026-11832 affects Dancer2::Plugin::Auth::OAuth versions prior to 0.22. The plugin generates nonces for OAuth authentication using an MD5 hash of the current epoch time, which is predictable and considered cryptographically weak (CWE-338). This predictable nonce generation can potentially allow attackers to guess or reproduce nonce values, weakening the security guarantees of the OAuth authentication process.
Potential Impact
The predictable nonce generation compromises the randomness expected in OAuth authentication nonces. This can lead to replay attacks or other authentication bypass scenarios where an attacker can predict or reuse nonce values. However, no known exploits in the wild have been reported for this vulnerability.
Mitigation Recommendations
No official patch or remediation level has been published yet. Users should upgrade to version 0.22 or later once available, as this version presumably addresses the nonce generation issue. Until a fix is released, consider implementing custom nonce generation using a secure cryptographic random number generator to replace the default behavior.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-06-09T21:09:06.279Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a30726b0b89be6888a31acd
Added to database: 6/15/2026, 9:45:15 PM
Last enriched: 6/15/2026, 10:01:28 PM
Last updated: 6/16/2026, 2:06:59 AM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.