---
id: "CVE-2026-46498"
kind: "vulnerability"
aliases: ["CVE-2026-46498", "GHSA-cj8f-2fhf-826r"]
title: "OpenAM Arbitrary OAuth Token Minting via Push Registration"
severity: "high"
cvss: 7.6
epss: 0.00414
exploited: false
status: "open"
category: "package"
products: [{"name": "org.openidentityplatform.openam:openam-oauth2", "fixed": ["16.1.1"], "affected": "< 16.1.1", "ecosystem": "maven"}]
ecosystems: ["maven"]
tags: ["cwe-639", "oauth2", "oidc", "openam", "package", "self-hosted"]
not_affected_if: ["default-config", "no-oauth2-provider", "no-push-notification"]
published_at: "2026-06-25T17:07:58+00:00"
first_seen_at: "2026-10-28T15:29:41+00:00"
updated_at: "2026-10-28T15:33:37+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-cj8f-2fhf-826r", "first_seen_at": "2026-10-28T15:29:41+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-46498", "first_seen_at": "2026-10-28T15:33:37+00:00"}]
---

# OpenAM Arbitrary OAuth Token Minting via Push Registration

OpenAM's OAuth2 token-read path accepts attacker-written rows from the shared token store as valid tokens, with no integrity check. An attacker who can plant such a row can mint bearer and OIDC ID tokens for any subject, client, realm, or scope.

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

## Affected

- maven:org.openidentityplatform.openam:openam-oauth2 affected < 16.1.1 fixed 16.1.1

## How to check

- Check the openam-oauth2 version in your Maven dependencies, e.g. `mvn dependency:list | grep openam-oauth2`
- Confirm whether the OAuth2 Provider service is enabled in any realm and whether Push Notification is enabled there
- unknown whether other checks are needed

## Fix

- Upgrade `openam-oauth2` to `16.1.1` or later
- unknown whether a configuration workaround exists

## Timeline

- 2026-10-28T15:29:41+00:00 ghsa https://github.com/advisories/GHSA-cj8f-2fhf-826r
- 2026-10-28T15:33:37+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-46498

## From the sources

## Summary

**Description**

An Authorization Bypass Through User-Controlled Key (CWE-639) exists in OpenAM's stateful OAuth2 token-read path. Under certain conditions, this may allow an attacker to forge OAuth2 bearer tokens and OIDC ID tokens with arbitrary subject, client, realm, and scope. This affects OpenAM Community Edition through version 16.0.6.

The OAuth2 token-read path reads caller-supplied token identifiers from the shared Core Token Store (CTS) without placing them in an OAuth-only namespace and without binding the row's trusted CTS type to the expected OAuth token family, so any CTS row whose BLOB claims to be an OAuth token is accepted on the read path with no integrity check.

## Impact

OpenAM Community Edition deployments through version 16.0.6 with the OAuth2 Provider service enabled in a realm are potentially affected, but the vulnerable read path is only reachable once an attacker can place attacker-controlled JSON into the shared CTS under an identifier they know. For example, an anonymous Push Notification SNS callback handler, reachable by any low-privileged user in a Push Notification-enabled realm after a single legitimate Push registration can trigger the exploit.

In any deployment where such a primitive exists, an attacker can forge OAuth2 bearer tokens with attacker-chosen userName, clientID, realm, and scope. The compromise does not by itself create an OpenAM SSO session or grant admin-console access.

## Patch

This has been patched in OpenAM Community Edition version 16.1.1. Users are encouraged to update to the latest release.

---

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