CVE-2026-78619: CWE-305 Authentication Bypass by Primary Weakness
Description
Punk::Plugin::TOTP versions before 0.05 for Perl contain an authentication bypass vulnerability in the two-factor authentication process. The vulnerability arises because the recovery code verification compares user identifiers numerically, causing identifiers without leading digits to coerce to zero and bypass ownership checks. This allows an attacker who knows a victim's password and has their own recovery code to bypass the victim's second factor and authenticate as the victim.
CVSS v3.1
Score 9.8critical
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In Punk::Plugin::TOTP versions prior to 0.05, the two-factor authentication recovery code verification process is flawed. The helper function searches for the recovery code digest across all users and then verifies ownership by comparing user IDs numerically. Due to Perl's integer coercion, user identifiers without leading digits coerce to zero, causing the ownership test to incorrectly succeed for different users. This enables an attacker with knowledge of a victim's password and possession of their own recovery code to bypass the victim's second-factor authentication challenge.
Potential Impact
Successful exploitation allows an attacker to bypass two-factor authentication by using their own recovery code in place of the victim's, effectively compromising the victim's account despite the presence of two-factor authentication. This leads to full account compromise with confidentiality, integrity, and availability impacts.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider disabling recovery code usage or applying additional access controls to mitigate risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-08-24T21:34:55.931Z
- State
- PUBLISHED
Threat ID: 6a8e0b22acd9273b49bc708e
Added to database: 08/25/2026, 21:37:38 UTC
Last enriched: 09/09/2026, 21:07:39 UTC
Last updated: 10/09/2026, 18:48:23 UTC
Views: 82
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.