GHSA-9h33-g3ww-mqff

Suggest an improvement
Source
https://github.com/advisories/GHSA-9h33-g3ww-mqff
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-9h33-g3ww-mqff/GHSA-9h33-g3ww-mqff.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9h33-g3ww-mqff
Aliases
Published
2026-03-09T17:24:27Z
Modified
2026-03-23T04:56:19Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N CVSS Calculator
Summary
Pocket ID: OAuth redirect_uri validation bypass via userinfo/host confusion
Details

Impact

A flaw in callback URL validation allowed crafted redirect_uri values containing URL userinfo (@) to bypass legitimate callback pattern checks. If an attacker can trick a user into opening a malicious authorization link, the authorization code may be redirected to an attacker-controlled host.

Patches

Fixed in v2.3.1 (commit 3a339e33191c31b68bf57db907f800d9de5ffbc8). The fix replaces delimiter-based callback matching with structured URL pattern matching and updates validation logic/tests.

Workarounds

  • Reject callback URLs containing userinfo (@) at reverse proxy / app policy level if feasible.
Database specific
{
    "cwe_ids": [
        "CWE-601"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-03-09T17:24:27Z",
    "nvd_published_at": "2026-03-10T17:38:50Z",
    "severity": "HIGH"
}
References

Affected packages

Go / github.com/pocket-id/pocket-id/backend

Package

Name
github.com/pocket-id/pocket-id/backend
View open source insights on deps.dev
Purl
pkg:golang/github.com/pocket-id/pocket-id/backend

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20260228130835-3a339e33191c

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-9h33-g3ww-mqff/GHSA-9h33-g3ww-mqff.json"