{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-18089","published":"2026-08-03T14:16:24.890000Z","last_modified":"2026-10-23T21:10:00.157000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-295","CWE-347"],"cpes":[{"criteria":"cpe:2.3:a:timlegge:net\\:\\:saml2:*:*:*:*:*:perl:*:*","part":"a","vendor":"timlegge","product":"net::saml2","version_end_excluding":"0.86"}],"cpes_truncated":false,"vendors":["timlegge"],"products":["timlegge/net-saml2"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2026-18089/","html_en":"/en/cve/CVE-2026-18089/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-18089","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-18089"},"untrusted":{"vendor_name":"Timlegge","product_name":"Net::saml2","desc_en":"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.\n\nverify_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;\".\n\nAny 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":[{"untrusted_vendor":"TIMLEGGE","untrusted_product":"Net::SAML2","versions":[]}],"references":[{"url":"https://metacpan.org/release/TIMLEGGE/Net-SAML2-0.85/source/lib/Net/SAML2/Binding/POST.pm#L21","tags":["Product"]},{"url":"https://metacpan.org/release/TIMLEGGE/Net-SAML2-0.85/source/lib/Net/SAML2/Protocol/Assertion.pm#L84","tags":["Product"]},{"url":"https://metacpan.org/release/TIMLEGGE/Net-SAML2-0.85/source/lib/Net/SAML2/Role/VerifyXML.pm#L32","tags":["Product"]},{"url":"https://metacpan.org/release/TIMLEGGE/Net-SAML2-0.88/source/Changes","tags":["Release Notes"]}]}}