Vulnerability in Sparklemotion Nokogiri

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.

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-79772?
CVE-2026-79772 is a medium-severity vulnerability in Sparklemotion Nokogiri, classified under CWE-252. CVSS score: 5.3/10. Published 2026-08-25.
How severe is CVE-2026-79772?
Medium severity. CVSS v3 base score is 5.3 out of 10.