Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Punk-TOTP · Vulnerability

cve-program · severity unknownCVSS unknownCheck source for fixed versionsKEV status unknown

cve-program · CVE-2026-78619

Published

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.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-78619

Published

Punk-TOTP

https://cpan.org/modules

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "collectionURL": "https://cpan.org/modules",
                    "defaultStatus": "unaffected",
                    "modules": [
                        "Punk::Plugin::TOTP"
                    ],
                    "packageName": "Punk-TOTP",
                    "packageURL": "pkg:cpan/Punk-TOTP",
                    "programFiles": [
                        "include/ptotp/ptotp_plugin.h"
                    ],
                    "programRoutines": [
                        {
                            "name": "totp_use_recovery"
                        },
                        {
                            "name": "pp_h_use_recovery"
                        }
                    ],
                    "versions": [
                        {
                            "lessThan": "0.05",
                            "status": "affected",
                            "version": "0",
                            "versionType": "custom"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 20 Nov 20:06 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current