CRITICAL · CVSS 9.8 Published: 2025-03-12

CVE-2025-25291 — Technical Security Advisory & CVSS Profile

ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. An authentication bypass vulnerability was found in ruby-saml prior to versions 1.12.4 and 1.18.0 due to a parser differential. ReXML and Nokogiri parse XML differently; the parsers can generate entirely different document structures from the same XML input. That allows an attacker to be able to execute a Signature Wrapping attack. This issue may lead to authentication bypass. Versions 1.12.4 and 1.18.0 fix the issue.

Technical Metadata

IdentifierCVE-2025-25291
Base Severity / ScoreCRITICAL (9.8 / 10.0)
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness ClassificationCWE-347, CWE-436
Archive CategoriesCRITICAL Advisories · 2025 Index

Operational Mitigation Guidance

Immediate patching or compensating network isolation is strongly advised. Audit perimeter exposure, apply vendor security updates immediately, and restrict service privileges using least-privilege namespaces. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2025-25292 CRITICAL 9.8
CVE-2025-25306 CRITICAL 9.3
CVE-2025-25343 CRITICAL 9.8
CVE-2025-25349 CRITICAL 9.8
CVE-2025-25351 CRITICAL 9.8
CVE-2025-25361 CRITICAL 9.8