{"answers":{"affected":"3 open source packages ship an affected version, including github.com/pocket-id/pocket-id/backend. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-28512 in the wild and no public exploit code.","fix":"Upgrade github.com/pocket-id/pocket-id/backend to 0.0.0-20260228130835-3a339e33191c or later.","what":"CVE-2026-28512 is a high-severity vulnerability in pocket-id, published on 9 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-28512 and fix it if it is affected.\n\nWhat it is: CVE-2026-28512 is a high-severity vulnerability in pocket-id, published on 9 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-28512 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/pocket-id/pocket-id/backend (Go): affected all versions; fixed in 0.0.0-20260228130835-3a339e33191c\n- github.com/pocket-id/pocket-id/backend (Go): affected all versions; fixed in 0.0.0-20260228130835-3a339e33191c\n- github.com/pocket-id/pocket-id/backend (Go): affected all versions; fixed in 0.0.0-20260228130835-3a339e33191c\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-28512/ (Markdown: https://insights.sbomify.com/CVE-2026-28512/index.md)","id":"CVE-2026-28512","markdown":"https://insights.sbomify.com/CVE-2026-28512/index.md","name":"CVE-2026-28512","record":{"aliases":["GHSA-9h33-g3ww-mqff","GO-2026-4653"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"OIDC identity provider","requires_auth":"none","summary":"Attackers can bypass redirect_uri validation to steal authorization codes, potentially leading to account takeover in Pocket ID deployments.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"pocket_id","vendor":"pocket-id"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"Pocket ID is an OIDC provider that allows users to authenticate with their passkeys to your services. From 2.0.0 to before 2.4.0, 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. This vulnerability is fixed in 2.4.0.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Pocket ID: OAuth redirect_uri validation bypass via userinfo/host confusion","id":"CVE-2026-28512","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"open_redirect","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"Pocket ID: OIDC authorization code validation uses AND instead of OR, allowing cross-client token exchange","id":"CVE-2026-28513"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20260228130835-3a339e33191c"],"introduced":["0"],"last_affected":[],"package":"github.com/pocket-id/pocket-id/backend","purl":null,"source":"GHSA-9h33-g3ww-mqff"},{"ecosystem":"Go","fixed":["0.0.0-20260228130835-3a339e33191c"],"introduced":["0"],"last_affected":[],"package":"github.com/pocket-id/pocket-id/backend","purl":"pkg:golang/github.com/pocket-id/pocket-id/backend","source":"GHSA-9h33-g3ww-mqff"},{"ecosystem":"Go","fixed":["0.0.0-20260228130835-3a339e33191c"],"introduced":["0"],"last_affected":[],"package":"github.com/pocket-id/pocket-id/backend","purl":"pkg:golang/github.com/pocket-id/pocket-id/backend","source":"GO-2026-4653"}],"prev":{"headline":"elabftw has entry title leakage through autocompletion search","id":"CVE-2026-28511"},"products":["pocket-id"],"published":"2026-03-09","related":[{"cvss_score":8.5,"headline":"Pocket ID: OIDC refresh token flow bypasses authorization revocation, account disabling, and group restrictions","id":"CVE-2026-43983","kev_date_added":null,"published":"2026-05-12"},{"cvss_score":8.5,"headline":"Pocket ID: OIDC authorization code validation uses AND instead of OR, allowing cross-client token exchange","id":"CVE-2026-28513","kev_date_added":null,"published":"2026-03-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-10","vendors":["pocket-id"]},"summary":"Attackers can bypass redirect_uri validation to steal authorization codes, potentially leading to account takeover in Pocket ID deployments.","url":"https://insights.sbomify.com/CVE-2026-28512/"}