CVE-2026-79772
Published:August 25, 2026
Updated:August 27, 2026
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 Packages
https://github.com/sparklemotion/nokogiri.git (GITHUB):
Affected version(s) >=v1.5.1 <v1.19.1Fix Suggestion:
Update to version v1.19.1nokogiri (RUBY):
Affected version(s) >=1.5.1 <1.19.1Fix Suggestion:
Update to version 1.19.1Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Unchecked Return Value
EPSS
Base Score:
0.26