ZeroHour

CVE-2026-75759

niche

Signature verification bypass in erlef oidcc lets attackers impersonate any user

CVSS 4.0
7.6 high
EPSS
<1%p3
Published
()
Modified
AI analysis

oidcc, the Erlang Ecosystem Foundation's OpenID Connect client library for Erlang/Elixir, versions 3.2.0-beta.1 up to (but not including) 3.9.0 accept encrypted ID tokens and JARM responses that carry no nested JWS signature and treat them as fully validated, contrary to OpenID Connect Core 1.0 section 2 and JARM processing rule 5. An unauthenticated attacker who knows the relying party's public encryption key can submit a JWE wrapping arbitrary claims with any subject, issuer, and audience, and the code in oidcc_jwt_util:verify_decrypted_token/4 and oidcc_token:int_validate_jwt/4 accepts it as verified without the provider's signing key, yielding full impersonation of an arbitrary user at the affected application. Only applications using oidcc as an OpenID Connect relying party and processing encrypted ID tokens or JARM responses are exposed; UserInfo responses are unaffected because encryption without signing is permitted there by OpenID Connect Core 1.0 section 5.3.2. The flaw is rated 7.6 (High) under CVSS 4.0, has a 0.1% EPSS probability of exploitation in the next 30 days, is not in CISA KEV, and no public proof-of-concept or in-the-wild exploitation is currently known.

What to do: Upgrade to oidcc 3.9.0 or later. As an interim mitigation, configure relying parties to require signed-then-encrypted (nested) ID tokens and disable JARM response handling, since deployments that do not accept encrypted ID tokens or JARM responses are unlikely to be impacted. Audit your applications to confirm whether encrypted ID token or JARM validation is enabled before prioritizing patching.

Affected
erlef (Erlang Ecosystem Foundation) oidccall versions from 3.2.0-beta.1 (inclusive) up to 3.9.0 (exclusive); fixed in 3.9.0
Estimated exposure
nichelikely hundreds to low thousands of deployments (niche Erlang/Elixir library) — oidcc is a specialized OpenID Connect client library used only in Erlang/Elixir (BEAM) applications acting as relying parties, and only deployments that process encrypted ID tokens or JARM responses are exploitable, so realistic exposure…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Improper Verification of Cryptographic Signature vulnerability in erlef oidcc allows an unauthenticated attacker to impersonate an arbitrary user via an encrypted ID token or JARM response carrying no nested signature. OpenID Connect Core 1.0 section 2 requires that an encrypted ID token be signed then encrypted, with the result being a Nested JWT, and JARM processing rule 5 requires the client to check the signature unconditionally. oidcc instead accepted a JWE wrapping unsigned claims as fully validated, so anyone holding the relying party's public encryption key could mint a token with an arbitrary sub, iss, and aud without possessing the provider's signing key. In oidcc_jwt_util:verify_decrypted_token/4, a decrypted payload that is not a signed JWS fell back to parsing the plaintext claims and returning them with no verifying key. oidcc_token:int_validate_jwt/4 then matched on the JOSE structure type rather than on whether a signature had been verified, and returned success. The JARM path in oidcc_token:validate_jarm/3 is reachable through the browser front channel. UserInfo responses are not affected, because OpenID Connect Core 1.0 section 5.3.2 permits them to be encrypted without also being signed. This issue affects oidcc: from 3.2.0-beta.1 before 3.9.0.

Weakness
CWE-347
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.