> CVE-2026-78619

« BACK_TO_HOME
PUBLISHED
2026-08-25 22:17
MODIFIED
2026-08-25 22:17
EPSS (Prob. Exploit)
0.62%
Top 51.3%
DATA SOURCES:
NVD 🔗 2026-08-25 CWE MITRE 🔗 2026-09-01 FIRST EPSS 🔗 2026-10-18

> DESCRIPTION

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_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> WEAKNESSES

CWE-305 CWE-1025

> CWE DETAILED DESCRIPTIONS

CWE-305: Authentication Bypass by Primary Weakness - The authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error. | CWE-1025: Comparison Using Wrong Factors - The code performs a comparison between two entities, but the comparison examines the wrong factors or characteristics of the entities, which can lead to incorrect results and resultant weaknesses.

> HISTORIQUE DES MODIFICATIONS

Première apparition
25/08/2026 22:17
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-305: Authentication Bypass by Primary Weakness - The authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the au...
Total des modifications: 1 Dernière mise à jour: 1 month ago

> REFERENCES

https://metacpan.org/release/LNATION/Punk-TOTP-0.04/source/include/ptotp/ptotp_p...
https://metacpan.org/release/LNATION/Punk-TOTP-0.04/view/lib/Punk/Plugin/TOTP.pm
https://metacpan.org/release/LNATION/Punk-TOTP-0.05/source/Changes
« BACK_TO_HOME