Cloudanix VulnDB

CVE-2026-79772

Medium · 5.3

CVSS

5.3

EPSS

0.3%

Published

Aug 25, 2026

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in a popular XML library used by many web applications can let attackers trick security checks into accepting fake signatures, opening the door to unauthorized logins.

Chainable
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Data Tampering
Component
Library
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The canonicalize method returns an empty string on xmlC14NExecute failure instead of raising an exception, allowing invalid canonicalized XML to be accepted as valid.

Why it matters to the business

Applications relying on Nokogiri for XML processing in SAML workflows face increased risk of authentication bypass after 60 days of public disclosure with rising exploit probability, potentially enabling unauthorized access without immediate ransomware association.

How an attack unfolds

An attacker supplies malformed XML that triggers a failure in xmlC14NExecute; the library silently returns an empty string which downstream SAML libraries accept as valid canonical form, bypassing signature validation.

How to fix it

Upgrade Nokogiri to version 1.19.1 or later in all affected installations.

How to confirm the fix worked

Inspect Gemfile or equivalent dependency manifests for Nokogiri versions prior to 1.19.1; run unit tests exercising canonicalize with invalid inputs to confirm exception behavior.

Typical attack path

  1. Identify a target application using Nokogiri for XML canonicalization in SAML flows
  2. Craft XML input that causes xmlC14NExecute to fail
  3. Submit the input to obtain an empty canonical string accepted as valid
  4. Bypass signature checks to forge authentication assertions

How to detect it

Review application logs for SAML validation successes immediately following XML canonicalization calls; search for empty-string returns from canonicalize in debug or error traces; correlate with authentication events from unexpected sources.

What your security team should do

  • Prioritize upgrade to Nokogiri 1.19.1 across all environments given 60-day exposure window and EPSS increase
  • Audit SAML libraries and XML processing code for direct Nokogiri canonicalize usage
  • Implement additional signature validation checks independent of canonicalization output
  • Monitor dependency update pipelines for Nokogiri releases

The record

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

Ecosystem Package Introduced Fixed

Related vulnerabilities