ADVISORIES

Vulnerability

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.

120 advisories report this vulnerability, across 7 ecosystems.

Advisories in RubyGems

  • GHSA-wx95-c6cv-8532

    Nokogiri does not check the return value from xmlC14NExecute

    Moderate CVE-2026-79772 RubyGems Updated 10 September 2026

References