{"id":"CVE-2026-79772","state":"PUBLISHED","title":"Nokogiri before 1.19.1 Unchecked Return Value canonicalize","description":"Nokogiri versions before 1.19.1 fail to check the return value from xmlC14NExecute in the canonicalize method, returning an empty string on failure instead of raising an exception. Attackers can exploit this to bypass signature validation in downstream SAML libraries by providing invalid canonicalized XML that is incorrectly accepted as valid.","publishedAt":"2026-08-25T15:16:04.400Z","updatedAt":"2026-08-28T22:24:47.141Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["sparklemotion nokogiri"],"affected":[{"vendor":"sparklemotion","product":"nokogiri","packageURL":"pkg:gem/nokogiri","defaultStatus":"unaffected","versions":[{"version":"1.5.1","status":"affected","lessThan":"1.19.1","versionType":"semver"},{"version":"1.19.1","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-wx95-c6cv-8532","https://www.vulncheck.com/advisories/nokogiri-before-unchecked-return-value-canonicalize"],"weaknesses":["CWE-252"],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/79xxx/CVE-2026-79772.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-79772","state":"PUBLISHED","datePublished":"2026-08-25T15:16:04.400Z","dateUpdated":"2026-08-28T22:24:47.141Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-08-25T14:29:43.528Z"},"containers":{"cna":{"title":"Nokogiri before 1.19.1 Unchecked Return Value canonicalize","descriptions":[{"lang":"en","value":"Nokogiri versions before 1.19.1 fail to check the return value from xmlC14NExecute in the canonicalize method, returning an empty string on failure instead of raising an exception. Attackers can exploit this to bypass signature validation in downstream SAML libraries by providing invalid canonicalized XML that is incorrectly accepted as valid."}],"affected":[{"vendor":"sparklemotion","product":"nokogiri","packageURL":"pkg:gem/nokogiri","defaultStatus":"unaffected","versions":[{"version":"1.5.1","status":"affected","lessThan":"1.19.1","versionType":"semver"},{"version":"1.19.1","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-wx95-c6cv-8532","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-wx95-c6cv-8532)"},{"url":"https://www.vulncheck.com/advisories/nokogiri-before-unchecked-return-value-canonicalize","name":"VulnCheck Advisory: Nokogiri before 1.19.1 Unchecked Return Value canonicalize","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-252","lang":"en","description":"Unchecked Return Value","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-08-25T15:16:04.400Z"},"datePublic":"2026-02-16T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:*:*:*","versionStartIncluding":"1.5.1","versionEndExcluding":"1.19.1"}]}]}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-28T22:24:35.826683Z","id":"CVE-2026-79772","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-28T22:24:47.141Z"}}]}}}