CVE-2026-78619
Critical · 9.8CVSS
9.8
EPSS
—
Published
Aug 25, 2026
CISA due date
—
The record
Punk::Plugin::TOTP versions before 0.05 for Perl accept another account's recovery code at the two-factor challenge because totp_use_recovery compares user identifiers numerically. The helper searches the recovery model for the submitted code's digest alone, across every user's rows, so the ownership test that follows is the only thing binding a code to the account it was issued to. That test compares the row's user_id with the challenged user's id through Perl's integer coercion, and an identifier with no leading digits coerces to zero, so any two of them compare equal. User models keyed on a username, an email address or a UUID hit that case, and a numeric key compares as intended. The challenge route feeds a submitted value to the helper once TOTP verification fails, so an attacker who knows a victim's password and holds a recovery code of their own passes the victim's second factor.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-88837 BusyBox httpd treats yescrypt ($y$) password hashes as plaintext during Basic… CWE-305
- CVE-2026-86207 An authentication bypass in N-central < 2026.3 HF 3 leads to authentication bypass in… CWE-305
- CVE-2026-16895 A logic vulnerability (fail-open condition) has been identified within the Metasploit… CWE-305
- CVE-2026-19349 Lemonldap::NG::Portal versions from 2.0.0 before 2.16.9, from 2.17.0 before 2.21.5, from… CWE-305
- CVE-2026-1621 Authentication bypass by primary weakness vulnerability in Universal Software Inc. CWE-305
- CVE-2026-65935 Passkey entry Bluetooth LE legacy pairing can be bypassed in the RS9116W and SiWx917 by… CWE-305
- CVE-2026-19292 Re-pairing with a legitimate device can use a lower security level than previous making… CWE-305
- CVE-2026-16103 A flaw was found in the keycloak-services component of Keycloak. CWE-305