{"vuln_id":"GHSA-rm8c-2cv8-jwf6","aliases":["CVE-2026-115770"],"description":"Pocket ID: Email verification token remains valid after address change, enabling arbitrary verified-email spoofing","published_at":"2026-11-09T22:12:21Z","modified_at":"2026-11-23T20:41:00.237377Z","first_seen_at":"2026-11-23T21:06:31.538409Z","severity":"critical","severity_source":"native","cvss_score":9.6,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","cwe":["CWE-345"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-rm8c-2cv8-jwf6"},"matched_alias":null,"items":[{"id":16648,"source":{"id":"osv","name":"OSV.dev"},"title":"GO-2026-6957: Pocket ID: Email verification token remains valid after address change, enabling arbitrary verified-email spoofing in github.com/pocket-id/pocket-id/backend","summary":"Pocket ID: Email verification token remains valid after address change, enabling arbitrary verified-email spoofing in github.com/pocket-id/pocket-id/backend\n\nAffected: Go:github.com/pocket-id/pocket-id/backend\n\nFixed in: 0.0.0-20260727180059-43aaccd5bfac\n\nReferences:\nhttps://github.com/pocket-id/pocket-id/security/advisories/GHSA-rm8c-2cv8-jwf6\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-115770\nhttps://github.com/pocket-id/pocket-id/commit/43aaccd5bfacb76283b11ce039fb3f0716196fcb\nhttps://github.com/pocket-id/pocket-id/pull/1625\nhttps://github.com/pocket-id/pocket-id/releases/tag/v2.12.0","url":"https://osv.dev/vulnerability/GO-2026-6957","published_at":"2026-11-23T20:02:42Z","updated_at":"2026-11-23T20:30:13.144231Z","fetched_at":"2026-11-23T21:06:31.109642Z","severity":"critical","cvss_score":9.6,"epss":0.0024,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/pocket-id/pocket-id/backend","vuln_id":"CVE-2026-115770","vuln_ids":["CVE-2026-115770","GHSA-RM8C-2CV8-JWF6","GO-2026-6957"],"tags":["osv","go","fix-available"],"cluster_id":14765,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/16648","html":"https://vulnwatch.ve1ve2.com/item/16648"}},{"id":16586,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-rm8c-2cv8-jwf6: Pocket ID: Email verification token remains valid after address change, enabling arbitrary verified-email spoofing","summary":"Pocket ID: Email verification token remains valid after address change, enabling arbitrary verified-email spoofing\n\n## Summary\n\nAn authenticated Pocket ID user can request an email-verification token while their account uses an address they control, change the account email address, and then redeem the previously issued token. The token is bound only to the user ID, not to the address to which it was sent, and changing the address does not revoke outstanding tokens.\n\nAs a result, Pocket ID marks the newly supplied address as verified even though the user never proved control of it. Pocket ID subsequently returns that address with `email_verified: true` in OIDC claims. A relying party that trusts this claim for email-based account linking or provisioning can therefore link the attacker's Pocket ID identity to a victim's existing account, leading to cross-application account takeover.\n\nThis was verified against commit `9f559788a44cfea790de360da0a74d4bdf8ca5d5`.\n\n## Preconditions\n\n- The attacker has an ordinary Pocket ID user account.\n- Email verification is in use (`emailsVerified=false`, which is the default).\n- The user can edit their own account (`allowOwnAccountEdit=true`, which is the default).\n- The target address is not already assigned to another Pocket ID user.\n- For downstream account takeover, a relying party links or provisions users based on a trusted, verified email address. Applications that rely exclusively on the stable OIDC `sub` claim are not affected by that downstream consequence.\n\nNo administrator privilege, victim interaction, or access to the victim's mailbox is required.\n\n## Reproduction through the API\n\n1. Sign in as an ordinary user whose current email address is controlled by the attacker, for example `attacker@example.test`.\n2. Call `POST /api/users/me/send-email-verification`.\n3. Obtain the token from the message delivered to `attacker@example.test`, but do not redeem it yet.\n4. Call `PUT /api/users/me` and change the account email to an address the attacker does not control, for example `victim@example.test`.\n5. Observe that the new address is initially stored with `emailVerified: false`.\n6. Call `POST /api/users/me/verify-email` with the token delivered to `attacker@example.test`.\n7. Call `GET /api/users/me`. The current address is now `victim@example.test` and `emailVerified` is `true`.\n8. Complete an OIDC flow with the `email` scope. Pocket ID emits:\n\n```json\n{\n  \"email\": \"victim@example.test\",\n  \"email_verified\": true\n}\n```\n\nThe old token has therefore verified a different address from the one to which it was delivered.\n\n## Executable regression test / proof of concept\n\nSave this as `backend/internal/service/audit_email_verification_test.go` and run:\n\n```text\ngo test -tags=exclude_frontend,unit ./internal/service -run TestAuditEmailVerificationTokenSurvivesEmailChange -count=1 -v\n```\n\nThe test passes on the referenced commit and demonstrates the unintended state transition:\n\n```go\npackage service\n\nimport (\n\t\"testing\"\n\t\"time\"\n\n\t\"github.com/stretchr/testify/require\"\n\n\t\"github.com/pocket-id/pocket-id/backend/internal/appconfig\"\n\t\"\n\nAffected: Go:github.com/pocket-id/pocket-id/backend\n\nFixed in: 0.0.0-20260727180059-43aaccd5bfac\n\nReferences:\nhttps://github.com/pocket-id/pocket-id/security/advisories/GHSA-rm8c-2cv8-jwf6\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-115770\nhttps://github.com/pocket-id/pocket-id/pull/1625\nhttps://github.com/pocket-id/pocket-id/commit/43aaccd5bfacb76283b11ce039fb3f0716196fcb\nhttps://github.com/pocket-id/pocket-id\nhttps://github.com/pocket-id/pocket-id/releases/tag/v2.12.0","url":"https://osv.dev/vulnerability/GHSA-rm8c-2cv8-jwf6","published_at":"2026-11-09T22:12:21Z","updated_at":"2026-11-23T20:41:00.237377Z","fetched_at":"2026-11-23T21:06:31.109587Z","severity":"critical","cvss_score":9.6,"epss":0.0024,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/pocket-id/pocket-id/backend","vuln_id":"CVE-2026-115770","vuln_ids":["CVE-2026-115770","GHSA-RM8C-2CV8-JWF6","GO-2026-6957"],"tags":["osv","go","fix-available"],"cluster_id":14764,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/16586","html":"https://vulnwatch.ve1ve2.com/item/16586"}}]}