CVE-2026-75628: CWE-601 URL Redirection to Untrusted Site ('Open Redirect')
Punk::OAuth2 versions before 0.03 for Perl contain an open redirect vulnerability due to improper validation of the return parameter after login. The same_origin_path function incorrectly allows backslash and tab characters, which can be interpreted as slashes by URL parsers, enabling attackers to redirect users to malicious external sites after authentication. This vulnerability does not expose authorization codes or access tokens but can be used for phishing or redirect-based attacks.
AI Analysis
Technical Summary
The vulnerability in Punk::OAuth2 (pre-0.03) arises because the same_origin_path function accepts backslash and tab characters in the return parameter, which bypasses intended origin checks. Since the URL Standard treats backslashes as slashes and strips ASCII tabs before parsing, crafted return URLs like `/\evil.example` or URLs with tabs can redirect users to attacker-controlled domains after login. The redirect occurs post-authentication but does not leak authorization codes or tokens.
Potential Impact
An attacker can craft a login URL that, after successful authentication, redirects the user to an attacker-controlled site. This can facilitate phishing attacks or other social engineering exploits. No direct compromise of credentials or tokens is indicated.
Mitigation Recommendations
No official patch or fix is currently documented. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should be cautious of login URLs and avoid clicking suspicious links. Developers should consider validating and sanitizing redirect parameters more strictly to reject backslash and tab characters.
CVE-2026-75628: CWE-601 URL Redirection to Untrusted Site ('Open Redirect')
Description
Punk::OAuth2 versions before 0.03 for Perl contain an open redirect vulnerability due to improper validation of the return parameter after login. The same_origin_path function incorrectly allows backslash and tab characters, which can be interpreted as slashes by URL parsers, enabling attackers to redirect users to malicious external sites after authentication. This vulnerability does not expose authorization codes or access tokens but can be used for phishing or redirect-based attacks.
CVSS v3.1
Score 5.7medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Punk::OAuth2 (pre-0.03) arises because the same_origin_path function accepts backslash and tab characters in the return parameter, which bypasses intended origin checks. Since the URL Standard treats backslashes as slashes and strips ASCII tabs before parsing, crafted return URLs like `/\evil.example` or URLs with tabs can redirect users to attacker-controlled domains after login. The redirect occurs post-authentication but does not leak authorization codes or tokens.
Potential Impact
An attacker can craft a login URL that, after successful authentication, redirects the user to an attacker-controlled site. This can facilitate phishing attacks or other social engineering exploits. No direct compromise of credentials or tokens is indicated.
Mitigation Recommendations
No official patch or fix is currently documented. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should be cautious of login URLs and avoid clicking suspicious links. Developers should consider validating and sanitizing redirect parameters more strictly to reject backslash and tab characters.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-08-18T01:18:00.649Z
- State
- PUBLISHED
Threat ID: 6a864fd7acd9273b49e48974
Added to database: 08/20/2026, 00:52:39 UTC
Last enriched: 09/11/2026, 05:47:33 UTC
Last updated: 10/03/2026, 02:46:06 UTC
Views: 101
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.