2026-08-30 1:12CVE-2026-75759EEF
PUBLISHED5.2ApplicationCWE-347

Encrypted ID token or JARM response accepted without a nested signature in erlef oidcc

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.

Problem type

Affected products

erlef

oidcc

< 3.9.0 - AFFECTED

oidcc

< 5f62fbccdae8526ff62653b8901657a6c1400fd9 - AFFECTED

References

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-75759
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-75759",
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "dateUpdated": "2026-08-30T01:12:43.435Z",
    "dateReserved": "2026-08-21T09:30:01.395Z",
    "datePublished": "2026-08-30T01:12:43.435Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF",
        "dateUpdated": "2026-08-30T01:12:43.435Z"
      },
      "title": "Encrypted ID token or JARM response accepted without a nested signature in erlef oidcc",
      "descriptions": [
        {
          "lang": "en",
          "value": "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.\n\nIn 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.\n\nThis issue affects oidcc: from 3.2.0-beta.1 before 3.9.0.",
          "supportingMedia": [
            {
              "type": "text/html",
              "base64": false,
              "value": "<p>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. <code>oidcc</code> 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 <code>sub</code>, <code>iss</code>, and <code>aud</code> without possessing the provider's signing key.</p>\n<p>In <code>oidcc_jwt_util:verify_decrypted_token/4</code>, a decrypted payload that is not a signed JWS fell back to parsing the plaintext claims and returning them with no verifying key. <code>oidcc_token:int_validate_jwt/4</code> then matched on the JOSE structure type rather than on whether a signature had been verified, and returned success. The JARM path in <code>oidcc_token:validate_jarm/3</code> 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.</p>\n<p>This issue affects oidcc: from 3.2.0-beta.1 before 3.9.0.</p>"
            },
            {
              "type": "text/markdown",
              "base64": false,
              "value": "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.\n\nIn `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.\n\nThis issue affects oidcc: from 3.2.0-beta.1 before 3.9.0."
            }
          ]
        }
      ],
      "affected": [
        {
          "vendor": "erlef",
          "product": "oidcc",
          "collectionURL": "https://repo.hex.pm",
          "packageName": "oidcc",
          "cpes": [
            "cpe:2.3:a:erlef:oidcc:*:*:*:*:*:*:*:*"
          ],
          "modules": [
            "oidcc_jwt_util",
            "oidcc_token"
          ],
          "programFiles": [
            "src/oidcc_jwt_util.erl",
            "src/oidcc_token.erl"
          ],
          "programRoutines": [
            {
              "name": "oidcc_jwt_util:verify_decrypted_token/4"
            },
            {
              "name": "oidcc_jwt_util:verify_not_none_alg/1"
            },
            {
              "name": "oidcc_token:int_validate_jwt/4"
            },
            {
              "name": "oidcc_token:validate_id_token/3"
            },
            {
              "name": "oidcc_token:validate_jarm/3"
            }
          ],
          "repo": "https://github.com/erlef/oidcc",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "3.2.0-beta.1",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "3.9.0"
            }
          ]
        },
        {
          "vendor": "erlef",
          "product": "oidcc",
          "collectionURL": "https://github.com",
          "packageName": "erlef/oidcc",
          "cpes": [
            "cpe:2.3:a:erlef:oidcc:*:*:*:*:*:*:*:*"
          ],
          "modules": [
            "oidcc_jwt_util",
            "oidcc_token"
          ],
          "programFiles": [
            "src/oidcc_jwt_util.erl",
            "src/oidcc_token.erl"
          ],
          "programRoutines": [
            {
              "name": "oidcc_jwt_util:verify_decrypted_token/4"
            },
            {
              "name": "oidcc_jwt_util:verify_not_none_alg/1"
            },
            {
              "name": "oidcc_token:int_validate_jwt/4"
            },
            {
              "name": "oidcc_token:validate_id_token/3"
            },
            {
              "name": "oidcc_token:validate_jarm/3"
            }
          ],
          "repo": "https://github.com/erlef/oidcc",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "37a1361f704889816db2873f72d744d63ec39568",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5f62fbccdae8526ff62653b8901657a6c1400fd9"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-347 Improper Verification of Cryptographic Signature",
              "cweId": "CWE-347",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://github.com/erlef/oidcc/security/advisories/GHSA-533g-4vf3-xwrj",
          "tags": [
            "related",
            "vendor-advisory"
          ]
        },
        {
          "url": "https://cna.erlef.org/cves/CVE-2026-75759.html",
          "tags": [
            "related"
          ]
        },
        {
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-75759",
          "tags": [
            "related"
          ]
        },
        {
          "url": "https://github.com/erlef/oidcc/commit/5f62fbccdae8526ff62653b8901657a6c1400fd9",
          "tags": [
            "patch"
          ]
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-475",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-475 Signature Spoofing by Improper Validation"
            }
          ]
        }
      ],
      "metrics": [
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "value": "Reachable only when the OpenID Provider advertises ID token encryption (id_token_encryption_alg_values_supported and id_token_encryption_enc_values_supported), or, for the JARM path, authorization response encryption (authorization_encryption_alg_values_supported and authorization_encryption_enc_values_supported), and the relying party has an encryption key configured. Without those, decryption fails before the affected code is reached.",
          "supportingMedia": [
            {
              "type": "text/html",
              "base64": false,
              "value": "<p>Reachable only when the OpenID Provider advertises ID token encryption (<code>id_token_encryption_alg_values_supported</code> and <code>id_token_encryption_enc_values_supported</code>), or, for the JARM path, authorization response encryption (<code>authorization_encryption_alg_values_supported</code> and <code>authorization_encryption_enc_values_supported</code>), and the relying party has an encryption key configured. Without those, decryption fails before the affected code is reached.</p>"
            },
            {
              "type": "text/markdown",
              "base64": false,
              "value": "Reachable only when the OpenID Provider advertises ID token encryption (`id_token_encryption_alg_values_supported` and `id_token_encryption_enc_values_supported`), or, for the JARM path, authorization response encryption (`authorization_encryption_alg_values_supported` and `authorization_encryption_enc_values_supported`), and the relying party has an encryption key configured. Without those, decryption fails before the affected code is reached."
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "EQSTLab",
          "type": "reporter"
        },
        {
          "lang": "en",
          "value": "Jonatan Männchen / EEF",
          "type": "remediation developer"
        },
        {
          "lang": "en",
          "value": "Jonatan Männchen / EEF",
          "type": "coordinator"
        }
      ]
    }
  }
}