CVE-2025-66475: Signature wrapping vulnerability in OneLogin php-saml via xmlseclibs
CVE-2025-66475 is a critical signature wrapping vulnerability affecting OneLogin php-saml through its xmlseclibs dependency. Based on the provided advisory, the flaw is in XML signature validation handling and can be exploited in SAML processing, allowing a maliciously crafted signed XML/SAML message to bypass intended signature protections. The issue affects deployments using vulnerable php-saml releases that depend on an unpatched xmlseclibs version.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can allow an attacker to impersonate a user by abusing improper XML signature validation during SAML assertion or response processing. In practice, this can result in authentication bypass against applications relying on the affected php-saml library for SSO, potentially leading to unauthorized access under another user's identity.
Mitigation
If you can’t patch tonight, do this now.
Apply the vendor-provided php-saml updates that include or require the patched xmlseclibs dependency. The provided advisory does not describe an alternative workaround or compensating control beyond upgrading.
Remediation
Patch, then assume compromise.
Upgrade OneLogin php-saml to a fixed release that enforces use of a patched xmlseclibs version. The advisory specifies the following fixed versions by supported branch: 2.21.1, 3.8.1, or 4.3.1.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2025-66475 exploited in the wild?
- As of Jun 4, 2026, Mallory has no reports of CVE-2025-66475 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-66475?
- As of Jun 4, 2026, Mallory has found no public exploit for CVE-2025-66475.
- Is there a patch for CVE-2025-66475?
- Upgrade OneLogin php-saml to a fixed release that enforces use of a patched xmlseclibs version. The advisory specifies the following fixed versions by supported branch: 2.21.1, 3.8.1, or 4.3.1.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.