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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
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-18064An incomplete fix for CVE-2026-15352 in the NASA core Flight…8.2
- CVE-2026-1807The InteractiveCalculator for WordPress plugin for WordPress…6.4
- CVE-2026-18072The Advanced Responsive Video Embedder for Rumble, Odysee, Y…9.8
- CVE-2026-1808The Orange Confort+ accessibility toolbar for WordPress plug…6.4
- CVE-2026-18084Improper Neutralization of Input During Web Page Generation …8.6
- CVE-2026-18085An Improper Input Validation in the BlackBerry UEM Managemen…5.9
- CVE-2026-1809The HTML Tag Shortcodes plugin for WordPress is vulnerable t…6.4
- CVE-2026-18092Net::SAML2 versions before 0.86 for Perl allow SAML authenti…8.1
- CVE-2026-1810A vulnerability was detected in bolo-blog bolo-solo up to 2.…8.8
- CVE-2026-18103A flaw was found in dhcp-server. A remote attacker with netw…4.9
- CVE-2026-18107A flaw was found in CRIU's handling of restartable sequences…7.8
- CVE-2026-18108Net::SAML2 versions before 0.86 for Perl allow authenticatio…9.8
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
