CVE-2026-79772

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.

Scoring

Severity
MEDIUM
CVSS base score
6.9
CVSS 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
EPSS probability
0.25%
CWE
CWE-252
Published
2026-08-25
Last modified
2026-08-28

Affected products

Weakness type

Related vulnerabilities

Markdown version · Browse all CVEs