CVE-2026-18089
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
Mitigation
- Upgrade Net::SAML2 to 0.86 or later.
- Vendor workaround: For deployments that cannot upgrade, construct Net::SAML2::Binding::POST, and call Net::SAML2::Protocol::Assertion->new_from_xml, with a cacert, cert_text, or anchors argument identifying the IdP signing certificate.
Who should check
- Anyone running TIMLEGGE Net::SAML2 < 0.86
Vulnerability facts
- Affected
- TIMLEGGE Net::SAML2 < 0.86
- Fixed in
- TIMLEGGE Net::SAML2 0.86
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.23% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- CWE
- CWE-347, CWE-295
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| TIMLEGGE Net::SAML2 | < 0.86 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-18089. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-18089.md Affected: TIMLEGGE Net::SAML2 < 0.86 Fixed in: TIMLEGGE Net::SAML2 0.86 Steps: 1. Search this machine and project for TIMLEGGE Net::SAML2: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://metacpan.org/release/TIMLEGGE/Net-SAML2-0.88/source/Changes
- https://metacpan.org/release/TIMLEGGE/Net-SAML2-0.85/source/lib/Net/SAML2/Role/VerifyXML.pm#L32
- https://metacpan.org/release/TIMLEGGE/Net-SAML2-0.85/source/lib/Net/SAML2/Binding/POST.pm#L21
- https://metacpan.org/release/TIMLEGGE/Net-SAML2-0.85/source/lib/Net/SAML2/Protocol/Assertion.pm#L84
FAQ
Is CVE-2026-18089 being exploited?
There is no confirmed exploitation: CVE-2026-18089 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-18089?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-18089?
TIMLEGGE Net::SAML2 < 0.86.
Is there a fix for CVE-2026-18089?
Yes. Fixed in TIMLEGGE Net::SAML2 0.86. Upgrade Net::SAML2 to 0.86 or later. Vendor workaround: For deployments that cannot upgrade, construct Net::SAML2::Binding::POST, and call Net::SAML2::Protocol::Assertion->new_from_xml, with a cacert, cert_text, or anchors argument identifying the IdP signing certificate.
How do I check if I'm affected by CVE-2026-18089?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.