---
id: "CVE-2026-115770"
kind: "vulnerability"
aliases: ["CVE-2026-115770"]
title: "Pocket ID: email change can publish an unverified address as verified"
severity: "critical"
cvss: 9.6
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["oidc", "passkeys", "pocket-id", "runtime", "self-hosted"]
not_affected_if: ["allowownaccountedit-disabled", "relying-apps-use-sub-only", "version-2.12.0-or-later"]
published_at: "2026-11-04T23:17:18+00:00"
first_seen_at: "2026-11-05T00:30:59+00:00"
updated_at: "2026-11-05T00:31:44+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-115770", "first_seen_at": "2026-11-05T00:30:59+00:00"}]
exploit_sources: []
---

# Pocket ID: email change can publish an unverified address as verified

Pocket ID, a self-hosted OIDC login provider, lets a normal user change their account email after requesting a verification token, then redeem the old token to mark the new address as verified. An attacker can then present a verified email that belongs to another user's account, which relying applications that match accounts by email may accept.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the running Pocket ID version; affected builds are `2.2.0` through `2.12.0` (exclusive of the fix).
- Check whether `allowOwnAccountEdit` is `true` (the default affected setting).
- Check whether `emailsVerified` is `false` (the default affected setting).
- Check whether any relying application matches or provisions accounts by verified email rather than the `sub` claim.

## Fix

- Pocket ID: upgrade to `2.12.0`

## Timeline

- 2026-11-05T00:30:59+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-115770

## Documents

- [advisory] Vendor advisory: github.com https://github.com/pocket-id/pocket-id/security/advisories/GHSA-rm8c-2cv8-jwf6
- [fix] Patch: github.com https://github.com/pocket-id/pocket-id/commit/43aaccd5bfacb76283b11ce039fb3f0716196fcb
- [fix] Release notes: github.com https://github.com/pocket-id/pocket-id/releases/tag/v2.12.0

## From the sources

Pocket ID is an OIDC provider that allows users to authenticate with their passkeys to services. From 2.2.0 until 2.12.0, SendEmailVerification uses the token model in backend/internal/model/email_verification_token.go to bind an email-verification token only to the user's identifier, while UpdateUser can change the account email without invalidating the outstanding token and VerifyEmail marks the current address as verified. An ordinary user can request a token for an address they control, change the account to an arbitrary unused address, and redeem the old token so Pocket ID publishes the new address with email_verified set to true. The default affected configuration uses emailsVerified=false and allowOwnAccountEdit=true; the target address must not already belong to another Pocket ID user. A relying application that trusts a verified email for automatic account matching or provisioning can link the attacker's identity to another user's account, while applications that rely exclusively on the stable OIDC sub claim are not affected by that downstream consequence. This issue is fixed in version 2.12.0.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
