VDB

CVE-2026-18089

CVE-2026-18089 PUBLISHED CVSS 7.5 HIGH

Reported by CPANSec · Published August 3, 2026

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.

Risk Scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected Products

VendorProductVersions
TIMLEGGENet::SAML20
TIMLEGGENet::SAML20
alpineperl-net-saml20

Timeline

  • Aug 3, 2026 Coalition ESS Score
  • Aug 3, 2026 CVE Published
  • Aug 3, 2026 CVE Updated
  • Aug 4, 2026 Security Advisory
  • Aug 7, 2026 EPSS Score
  • Aug 24, 2026 EPSS Score
  • Sep 5, 2026 EPSS Score
  • Sep 15, 2026 EPSS Score
  • Sep 24, 2026 EPSS Score
  • Sep 26, 2026 EPSS Score
  • Oct 2, 2026 EPSS Score
  • Oct 7, 2026 EPSS Score

References

  • release-notes
Open in Interactive Console →
$ Console Community · 50/day Open console ›