Skip to content

CVE-2026-75759 Encrypted ID token or JARM response accepted without a nested signature in erlef oidcc

HighCVSS 7.6 EPSS 0.20%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
erlef oidcc >= 3.2.0-beta.1, < 3.9.0; >= 37a1361f704889816db2873f72d744d63ec39568, < 5f62fbccdae8526ff62653b8901657a6c1400fd9 3.9.0, 5f62fbccdae8526ff62653b8901657a6c1400fd9 Fixed

Affected products

ProductAffected versionsFixed in
erlef oidcc >= 3.2.0-beta.1, < 3.9.0 3.9.0
erlef oidcc >= 37a1361f704889816db2873f72d744d63ec39568, < 5f62fbccdae8526ff62653b8901657a6c1400fd9 5f62fbccdae8526ff62653b8901657a6c1400fd9

References