CVE-2026-79772

Nokogiri before 1.19.1 Unchecked Return Value canonicalize

State
Published
Severity
6.9 Medium
Published
Aug 25, 2026
Updated
Aug 28, 2026
Reserved
Aug 25, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NVulnCheck
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NVulnCheck

Weaknesses

Affected Products

ProductVersions
nokogirisparklemotion
  • 1.5.1 to before 1.19.1Affected
  • 1.19.1Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.