CVE-2026-79772
Medium · 5.3CVSS
5.3
EPSS
0.3%
Published
Aug 25, 2026
CISA due date
—
Cloudanix analysis
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.
- 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
- Identify a target application using Nokogiri for XML canonicalization in SAML flows
- Craft XML input that causes xmlC14NExecute to fail
- Submit the input to obtain an empty canonical string accepted as valid
- 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
- CVE-2026-115403 In Eclipse ThreadX NetX Duo versions 6.0 through 6.5.2.202603a, built with BSD raw socket… CWE-252
- CVE-2026-114408 In Eclipse ThreadX NetX Duo versions 6.4.5.202504 through 6.5.2.202603a, built with IPv6… CWE-252
- CVE-2026-118263 Echo is a Go web framework. CWE-252
- CVE-2026-111497 A buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli… CWE-252
- CVE-2026-110353 HAProxy 3.2 before 3.4.6 allows a remote unauthenticated attacker to cause a denial of… CWE-252
- CVE-2026-56388 The Redis server command parser in Apache bRPC accepts an empty RESP array as a command… CWE-252
- CVE-2026-106436 The BSON encoder in the MongoDB PHP Driver does not check some return values after a… CWE-252
- CVE-2026-98141 In the Linux kernel, the following vulnerability has been resolved: ntfs: propagate… CWE-252