{"id":"CVE-2026-54431","state":"PUBLISHED","title":"Improper Data Validation in liboauth2","description":"In liboauth2 the Demonstrating Proof-of-Possession (DPoP) verifier accepts a proof whose JSON Web Key (jwk) header contains private key material. RFC 9449 section 4.3 step 7 requires the verifier to reject such a proof but oauth2_token_verify() function returns success for a malformed DPoP proof that embeds the private Elliptic Curve (EC) key in the header.\n\nThis issue was fixed in version 2.3.0","publishedAt":"2026-07-02T10:30:57.655Z","updatedAt":"2026-07-02T12:16:41.569Z","severity":{"score":5.1,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","source":"CERT-PL"},"assigner":"CERT-PL","products":["OpenIDC liboauth2"],"affected":[{"vendor":"OpenIDC","product":"liboauth2","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.3.0","versionType":"semver"}],"repo":"https://github.com/OpenIDC/liboauth2","programFiles":["src/dpop.c"],"programRoutines":[{"name":"_oauth2_dpop_parse_and_validate()"}]}],"references":["https://cert.pl/en/posts/2026/07/CVE-2026-54430","https://github.com/OpenIDC/liboauth2","https://github.com/OpenIDC/liboauth2/commit/c0b57152ed6a0af33aeb04a60bd7f5bff5ab8800"],"weaknesses":["CWE-358"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/54xxx/CVE-2026-54431.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54431","state":"PUBLISHED","datePublished":"2026-07-02T10:30:57.655Z","dateUpdated":"2026-07-02T12:16:41.569Z","assignerShortName":"CERT-PL","assignerOrgId":"4bb8329e-dd38-46c1-aafb-9bf32bcb93c6","dateReserved":"2026-06-15T13:08:01.057Z"},"containers":{"cna":{"title":"Improper Data Validation in liboauth2","descriptions":[{"lang":"en","value":"In liboauth2 the Demonstrating Proof-of-Possession (DPoP) verifier accepts a proof whose JSON Web Key (jwk) header contains private key material. RFC 9449 section 4.3 step 7 requires the verifier to reject such a proof but oauth2_token_verify() function returns success for a malformed DPoP proof that embeds the private Elliptic Curve (EC) key in the header.\n\nThis issue was fixed in version 2.3.0"}],"affected":[{"vendor":"OpenIDC","product":"liboauth2","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.3.0","versionType":"semver"}],"repo":"https://github.com/OpenIDC/liboauth2","programFiles":["src/dpop.c"],"programRoutines":[{"name":"_oauth2_dpop_parse_and_validate()"}]}],"references":[{"url":"https://cert.pl/en/posts/2026/07/CVE-2026-54430","tags":["third-party-advisory"]},{"url":"https://github.com/OpenIDC/liboauth2","tags":["product"]},{"url":"https://github.com/OpenIDC/liboauth2/commit/c0b57152ed6a0af33aeb04a60bd7f5bff5ab8800","tags":["issue-tracking"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":5.1,"vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-358","lang":"en","description":"CWE-358 Improperly Implemented Security Check for Standard","type":"CWE"}]}],"providerMetadata":{"shortName":"CERT-PL","orgId":"4bb8329e-dd38-46c1-aafb-9bf32bcb93c6","dateUpdated":"2026-07-02T10:44:44.691Z"},"datePublic":"2026-07-02T00:00:00.000Z","tags":["x_open-source"],"credits":[{"lang":"en","value":"Michał Majchrowicz (AFINE Team)","type":"finder"},{"lang":"en","value":"Marcin Wyczechowski (AFINE Team)","type":"finder"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-02T12:16:34.432412Z","id":"CVE-2026-54431","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-02T12:16:41.569Z"}}]}}}