Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-75628

MEDIUM 5.7EPSS 36%

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

Mitigation

  • Upgrade Punk-OAuth2 to 0.03 or later.
  • Vendor workaround: For deployments that cannot upgrade to 0.03, strip the return query parameter from requests to the oauth2_login initiation route at the reverse proxy. Logins then use the configured redirect_ok destination.

Who should check

  • Anyone running Punk-OAuth2 < 0.03

Vulnerability facts

Affected
Punk-OAuth2 < 0.03
Fixed in
Punk-OAuth2 0.03
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
5.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: Required
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
EPSS
0.50% chance of exploitation in 30 days (percentile 36, 2026-11-26)
CWE
CWE-601
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Punk-OAuth2< 0.03—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-75628. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-75628.md
Affected: Punk-OAuth2 < 0.03
Fixed in: Punk-OAuth2 0.03

Steps:
1. Search this machine and project for Punk-OAuth2: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-75628 being exploited?

There is no confirmed exploitation: CVE-2026-75628 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.50% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-75628?

Medium: CVSS 5.7 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-75628?

Punk-OAuth2 < 0.03.

Is there a fix for CVE-2026-75628?

Yes. Fixed in Punk-OAuth2 0.03. Upgrade Punk-OAuth2 to 0.03 or later. Vendor workaround: For deployments that cannot upgrade to 0.03, strip the return query parameter from requests to the oauth2_login initiation route at the reverse proxy. Logins then use the configured redirect_ok destination.

How do I check if I'm affected by CVE-2026-75628?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors