CVE-2026-18089
Last modified
CVE-2026-18089 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Net::SAML2 versions before 0.86 for Perl allow SAML authentication bypass by verifying responses against the response-embedded certificate in verify_xml when no trust anchor is configured. verify_xml in Net::SAML2::Role::VerifyXML runs "return if !$anchors && !$cacert;" as soon as the XML::Sig check succeeds, and that check uses the X.509 certificate taken from the response's own dsig:KeyInfo/dsig:X509Certificate element, so an unanchored response is checked only against the key it carries. Binding::POST declares cacert as an optional Maybe[Str] with no default, so a POST binding built without one takes that path, and _verify_encrypted_assertion returns early the same way with "return $xml unless $cacert;". Any caller that constructs Binding::POST or calls Assertion->new_from_xml without a cacert, cert_text, or anchors argument accepts a response signed by an attacker generated key whose self-signed certificate is embedded in that response, authenticating an arbitrary assertion.. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
Description
Net::SAML2 versions before 0.86 for Perl allow SAML authentication bypass by verifying responses against the response-embedded certificate in verify_xml when no trust anchor is configured. verify_xml in Net::SAML2::Role::VerifyXML runs "return if !$anchors && !$cacert;" as soon as the XML::Sig check succeeds, and that check uses the X.509 certificate taken from the response's own dsig:KeyInfo/dsig:X509Certificate element, so an unanchored response is checked only against the key it carries. Binding::POST declares cacert as an optional Maybe[Str] with no default, so a POST binding built without one takes that path, and _verify_encrypted_assertion returns early the same way with "return $xml unless $cacert;". Any caller that constructs Binding::POST or calls Assertion->new_from_xml without a cacert, cert_text, or anchors argument accepts a response signed by an attacker generated key whose self-signed certificate is embedded in that response, authenticating an arbitrary assertion.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Timlegge | Net\ | < 0.86 | Saml2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-18089?
How severe is CVE-2026-18089?
How do I fix CVE-2026-18089?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-18078IBM i 7.6, 7.5, 7.4, and 7.3 could allow a remote authentica…6.5
- CVE-2026-1808The Orange Confort+ accessibility toolbar for WordPress plug…6.4
- CVE-2026-18080The ERP: Complete HR, Accounting & CRM Suite Built for WooCo…9.8
- CVE-2026-18084Improper Neutralization of Input During Web Page Generation …6.1
- CVE-2026-18085An Improper Input Validation in the BlackBerry UEM Managemen…6.9
- CVE-2026-18086IBM i 7.6, 7.5, 7.4, and 7.3 could allow a local attacker to…5.3
- CVE-2026-1809The HTML Tag Shortcodes plugin for WordPress is vulnerable t…6.4
- CVE-2026-18090A flaw was found in gdk-pixbuf. This vulnerability allows a …6.1
- CVE-2026-18092Net::SAML2 versions before 0.86 for Perl allow SAML authenti…8.1
- CVE-2026-18095IBM Financial Transaction Manager (FTM) for RedHat OpenShift…8.5
- CVE-2026-18096IBM Db2 12.1.5 for Linux, UNIX and Windows (includes DB2 Con…3.3
- CVE-2026-18097IBM Db2 11.5.0 through 11.5.9, and 12.1.0 through 12.1.5 for…5.5
Are you affected by CVE-2026-18089?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
