CVE-2026-75628
Punk::OAuth2 versions before 0.03 for Perl allow an attacker-chosen off-site redirect after login because same_origin_path accepts a backslash or tab in the return parameter
Description
Punk::OAuth2 versions before 0.03 for Perl allow an attacker-chosen off-site redirect after login because same_origin_path accepts a backslash or tab in the return parameter. oauth2_login reads the return parameter from the initiation request, runs same_origin_path over it, and stores the survivor in the session flow record as the post-login redirect target. That check rejects a value that does not begin with a slash, one with a slash as its second byte, and one containing CR or LF. A backslash and a tab pass. The URL Standard treats a backslash as equivalent to a slash for special schemes, so `/\evil.example` parses with the authority `evil.example`. It also strips ASCII tab before parsing, so a tab between two leading slashes leaves `//evil.example`. A crafted link to the application's own login route lands the victim on the attacker's site after a genuine authentication. The redirect carries no authorization code or access token.
INFO
Published Date :
Aug. 20, 2026, 1:16 a.m.
Last Modified :
Oct. 27, 2026, 10:10 a.m.
Remotely Exploit :
Yes !
Source :
9b29abf9-4ab0-4765-b253-1875cd9b441e
Affected Products
The following products are affected by CVE-2026-75628
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Update Punk::OAuth2 to version 0.03 or later.
- Validate redirect URIs for security.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-75628.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-75628 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-75628
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-75628 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-75628 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 27, 2026
Action Type Old Value New Value Added Translation Title: Punk::OAuth2, Description: Las versiones de Punk::OAuth2 anteriores a la 0.03 para Perl permiten un redireccionamiento externo (fuera del sitio) elegido por el atacante después del inicio de sesión porque same_origin_path acepta una barra invertida o una tabulación en el parámetro return. oauth2_login lee el parámetro return de la solicitud de inicio, ejecuta same_origin_path sobre él y almacena el superviviente en el registro de flujo de la sesión como el objetivo de redireccionamiento posterior al inicio de sesión. Esa verificación rechaza un valor que no comienza con una barra, uno con una barra como su segundo byte, y uno que contiene CR o LF. Una barra invertida y una tabulación pasan. El Estándar URL trata una barra invertida como equivalente a una barra para esquemas especiales, por lo que ’/\evil.example’ se analiza con la autoridad ’evil.example’. También elimina la tabulación ASCII antes del análisis, por lo que una tabulación entre dos barras iniciales deja ’//evil.example’. Un enlace manipulado a la propia ruta de inicio de sesión de la aplicación lleva a la víctima al sitio del atacante después de una autenticación genuina. El redireccionamiento no lleva ningún código de autorización ni token de acceso. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 19, 2026
Action Type Old Value New Value Added CWE CWE-601 -
CVE Modified by 9b29abf9-4ab0-4765-b253-1875cd9b441e
Aug. 28, 2026
Action Type Old Value New Value Added Reference https://datatracker.ietf.org/doc/html/rfc9700#section-4.11.1 Added Reference https://metacpan.org/release/LNATION/Punk-OAuth2-0.02/source/include/pox/pox_util.h#L94 Added Reference https://metacpan.org/release/LNATION/Punk-OAuth2-0.03/changes Added Reference https://url.spec.whatwg.org/#concept-basic-url-parser Added Reference https://url.spec.whatwg.org/#relative-slash-state Removed Reference https://datatracker.ietf.org/doc/html/rfc9700#section-4.11.1 Removed Reference https://metacpan.org/release/LNATION/Punk-OAuth2-0.02/source/include/pox/pox_util.h#L94 Removed Reference https://metacpan.org/release/LNATION/Punk-OAuth2-0.03/changes Removed Reference https://url.spec.whatwg.org/#concept-basic-url-parser Removed Reference https://url.spec.whatwg.org/#relative-slash-state -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 28, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N Added SSVC {'id': 'CVE-2026-75628', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-08-28T15:11:05.001417Z'} -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Aug. 28, 2026
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2026/08/20/1 Removed Reference http://www.openwall.com/lists/oss-security/2026/08/20/1 -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Aug. 20, 2026
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2026/08/20/1 -
New CVE Received by 9b29abf9-4ab0-4765-b253-1875cd9b441e
Aug. 20, 2026
Action Type Old Value New Value Added Affected [{'modules': ['Punk::OAuth2'], 'versions': [{'status': 'affected', 'version': '0', 'lessThan': '0.03', 'versionType': 'custom'}], 'packageURL': 'pkg:cpan/Punk-OAuth2', 'packageName': 'Punk-OAuth2', 'programFiles': ['include/pox/pox_util.h', 'lib/Punk/Plugin/OAuth2.pm'], 'collectionURL': 'https://cpan.org/modules', 'defaultStatus': 'unaffected', 'programRoutines': [{'name': 'Punk::OAuth2::same_origin_path'}]}] Added Description Punk::OAuth2 versions before 0.03 for Perl allow an attacker-chosen off-site redirect after login because same_origin_path accepts a backslash or tab in the return parameter. oauth2_login reads the return parameter from the initiation request, runs same_origin_path over it, and stores the survivor in the session flow record as the post-login redirect target. That check rejects a value that does not begin with a slash, one with a slash as its second byte, and one containing CR or LF. A backslash and a tab pass. The URL Standard treats a backslash as equivalent to a slash for special schemes, so `/\evil.example` parses with the authority `evil.example`. It also strips ASCII tab before parsing, so a tab between two leading slashes leaves `//evil.example`. A crafted link to the application's own login route lands the victim on the attacker's site after a genuine authentication. The redirect carries no authorization code or access token. Added CWE CWE-601 Added Reference https://datatracker.ietf.org/doc/html/rfc9700#section-4.11.1 Added Reference https://metacpan.org/release/LNATION/Punk-OAuth2-0.02/source/include/pox/pox_util.h#L94 Added Reference https://metacpan.org/release/LNATION/Punk-OAuth2-0.03/changes Added Reference https://url.spec.whatwg.org/#concept-basic-url-parser Added Reference https://url.spec.whatwg.org/#relative-slash-state