Detect OpenAM private_key_jwt Client Authentication Bypass via ClientJwksResolverCache (CVE-2026-47426) in Microsoft Sentinel
Detects exploitation attempts and anomalous usage of the OpenAM (OpenIdentity Platform) OAuth2/OIDC private_key_jwt client authentication path affected by CVE-2026-47426. Prior to OpenAM 16.1.1, the private_key_jwt authentication flow relies on ClientJwksResolverCache without reliably binding a cached jwks_uri resolver and verified assertion to the expected client_id. A client holding any registered OAuth2 client, including one obtained through open dynamic registration where enabled, can authenticate as another client whose keys are published via jwks_uri and mint tokens in that client's name across realms in the same OpenAM process. This is an improper authentication issue (CWE-287, CVSS 7.6). The detection focuses on OAuth2 token endpoint requests carrying client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer, mismatches between the client_assertion issuer/subject and the authenticated client_id, repeated JWKS resolution for the same client from unexpected URIs, and successful token issuance correlated with anomalous private_key_jwt assertions.
MITRE ATT&CK
KQL Detection Query
// df00tech DF00-d6ce462ba0 · https://df00tech.com/detections/CVE-2026-47426 · licence: https://df00tech.com/detections/licence
let tokenEndpoint = "/oauth2/access_token";
W3CIISLog
| where csUriStem endswith tokenEndpoint
| where csUriQuery has "client_assertion_type" or csUriQuery has_cs "jwt-bearer"
| extend ClientId = extract(@"client_id=([^&]+)", 1, csUriQuery)
| extend AssertionType = extract(@"client_assertion_type=([^&]+)", 1, csUriQuery)
| where AssertionType has "jwt-bearer"
| summarize Attempts = count(), DistinctClients = dcount(ClientId), SuccessCount = countif(scStatus == 200) by cIP, bin(TimeGenerated, 10m)
| where DistinctClients > 1 or (Attempts > 10 and SuccessCount > 0)
| project TimeGenerated, cIP, Attempts, DistinctClients, SuccessCount Flags source IPs hitting the OpenAM OAuth2 token endpoint with private_key_jwt (jwt-bearer) client assertions against multiple distinct client_ids, or high-volume successful private_key_jwt auth, consistent with the ClientJwksResolverCache confusion bypass. Tune for your reverse proxy / IIS log field names.
Data Sources
Required Tables
False Positives & Tuning
- Legitimate multi-tenant integration platforms that authenticate several confidential clients from a shared egress IP using private_key_jwt.
- API gateways or service meshes that NAT many backend clients behind one source IP.
- Load/performance testing of the token endpoint using private_key_jwt fixtures.
Other platforms for CVE-2026-47426
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.
- Test 1 private_key_jwt assertion with mismatched issuer
Expected signal: Token-endpoint access log entry with client_assertion_type=jwt-bearer and client_id=victim-client from the test source IP.
- Test 2 Multiple client_ids via private_key_jwt from one source
Expected signal: Three token-endpoint requests with jwt-bearer assertions and differing client_id values from one src_ip within the correlation window.
- Test 3 High-volume private_key_jwt burst
Expected signal: 20 token-endpoint POSTs with jwt-bearer assertions from one source within 10 minutes.
Response Playbook
Triage
- Confirm the OpenAM version serving the token endpoint; versions < 16.1.1 are vulnerable to CVE-2026-47426. Check /openam or the release/build banner.
- Extract the offending client_assertion JWTs from the token-endpoint requests and decode their header (kid, jku/x5u) and payload (iss, sub, aud, jti). Compare iss/sub against the client_id presented in the request.
- Verify whether the JWKS resolution for the targeted client was served from ClientJwksResolverCache and whether the signing key/kid matches the client's registered JWKS or an attacker-controlled URI.
- Determine whether any token endpoint responses returned HTTP 200 (token issued) for the anomalous assertions, and which scopes/clients were granted.
Containment
- For affected confidential clients, rotate client registrations and, where possible, temporarily disable private_key_jwt (switch to client_secret_* or mTLS) until OpenAM is upgraded to >= 16.1.1.
- Revoke access/refresh tokens issued during the suspicious window and invalidate affected sessions; purge or flush the ClientJwksResolverCache if operationally supported.
- Block or rate-limit the implicated source IPs at the reverse proxy and restrict JWKS URI fetches to allow-listed hosts.
Evidence Collection
- Preserve full token-endpoint request/response logs (including raw client_assertion JWTs and client_id parameters) and reverse-proxy access logs for the affected window.
- Capture OpenAM server logs showing JWKS resolution/cache activity and any outbound HTTP fetches to JWKS URIs.
Escalation Criteria
- !Escalate to incident response if a token was successfully issued (HTTP 200) for a client_assertion whose iss/sub does not match the registered client, indicating a realized authentication bypass.
- !Escalate if the signing key or JWKS URI used in the assertion resolves to an untrusted/external host, or if issued tokens were used to access protected resources.
Investigation Guide
Forensic Artifacts
- >
Raw client_assertion JWTs (header kid/jku, payload iss/sub/aud/jti) captured at the token endpoint. - >
OpenAM JWKS resolver cache entries and outbound JWKS fetch logs. - >
Token endpoint HTTP 200 responses and the issued token IDs/scopes.
Tuning Guidance
Baseline which confidential clients legitimately use private_key_jwt and from which source IPs/egress NATs. Allow-list known integration platforms and raise the per-IP distinct-client and attempt thresholds to match normal volume. Where possible, parse the JWT iss/sub at the proxy so detections can key on iss/sub vs client_id mismatch directly rather than on volume, which sharply reduces false positives.
Hunting Queries
Surfaces source IPs presenting private_key_jwt assertions against more than one OpenAM client_id.
// df00tech DF00-d6ce462ba0 · https://df00tech.com/detections/CVE-2026-47426 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csUriStem endswith "/oauth2/access_token" | where csUriQuery has "jwt-bearer" | extend ClientId = extract(@"client_id=([^&]+)", 1, csUriQuery) | summarize dcount(ClientId) by cIP | where dcount_ClientId > 1 ``` df00tech DF00-d6ce462ba0 · https://df00tech.com/detections/CVE-2026-47426 · licence: https://df00tech.com/detections/licence ```
index=web uri_path="*/oauth2/access_token*" "jwt-bearer" | rex "client_id=(?<client_id>[^&\s]+)" | stats dc(client_id) AS clients by src_ip | where clients>1 Atomic Red Team Tests
Send a token-endpoint request using client_assertion where the JWT iss/sub does not match the client_id, simulating the cross-client confusion exploited by CVE-2026-47426.
Command
curl -ks -X POST "https://openam.lab.local/openam/oauth2/access_token" -d "grant_type=client_credentials" -d "client_id=victim-client" -d "client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer" -d "client_assertion=$(cat /tmp/attacker_signed_assertion.jwt)" -d "scope=read" Cleanup
rm -f /tmp/attacker_signed_assertion.jwt Expected Telemetry
Token-endpoint access log entry with client_assertion_type=jwt-bearer and client_id=victim-client from the test source IP.
Expected Detection
KQL/SPL rules flag a private_key_jwt assertion; iss/sub vs client_id mismatch hunt fires.
Issue private_key_jwt assertions against several distinct client_ids from a single source to trigger the distinct-client correlation.
Command
for c in clientA clientB clientC; do curl -ks -X POST "https://openam.lab.local/openam/oauth2/access_token" -d "grant_type=client_credentials" -d "client_id=$c" -d "client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer" -d "client_assertion=$(cat /tmp/assertion_$c.jwt)" -d "scope=read"; done Cleanup
rm -f /tmp/assertion_client*.jwt Expected Telemetry
Three token-endpoint requests with jwt-bearer assertions and differing client_id values from one src_ip within the correlation window.
Expected Detection
distinct_clients > 1 condition in the KQL/SPL/AQL rules fires for the test source IP.
Replay many private_key_jwt assertions rapidly to simulate automated abuse of the JWKS resolver cache path.
Command
1..20 | ForEach-Object { Invoke-WebRequest -UseBasicParsing -Uri "https://openam.lab.local/openam/oauth2/access_token" -Method POST -Body @{grant_type='client_credentials';client_id='victim-client';client_assertion_type='urn:ietf:params:oauth:client-assertion-type:jwt-bearer';client_assertion=(Get-Content C:\temp\assertion.jwt -Raw);scope='read'} } Cleanup
Remove-Item C:\temp\assertion.jwt -ErrorAction SilentlyContinue Expected Telemetry
20 token-endpoint POSTs with jwt-bearer assertions from one source within 10 minutes.
Expected Detection
attempts>10 volume condition in the Chronicle/CrowdStrike/KQL rules fires.