{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-18092","published":"2026-08-03T14:16:25.030000Z","last_modified":"2026-10-23T21:10:00.157000Z","status":"Analyzed","cvss":{"version":"3.1","score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["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":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":64,"links":{"html_es":"/es/cve/CVE-2026-18092/","html_en":"/en/cve/CVE-2026-18092/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-18092","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-18092"},"untrusted":{"vendor_name":"Timlegge","product_name":"Net::saml2","desc_en":"Net::SAML2 versions before 0.86 for Perl allow SAML authentication bypass via XML signature wrapping because new_from_xml reads assertion identity with document-wide XPath instead of the signed subtree.\n\nnew_from_xml reads the NameID, attribute values, SessionIndex, audience and other identity fields with document-wide XPath, such as //saml:Assertion/saml:AttributeStatement/saml:Attribute and //saml:Subject/saml:NameID, which select the first matching element in document order rather than the element covered by the verified signature. handle_response confirms that a signature is present and, when a cacert is configured, that it chains to the CA, but XML::Sig verifies only the element named by the signature's Reference URI, so unsigned sibling assertions in the same document are not covered. An attacker who holds any one IdP-signed assertion can add an unsigned attacker-authored assertion earlier in document order; the signature still verifies and the document-order XPath returns the attacker's NameID and attributes.\n\nAny caller that passes an untrusted Response to new_from_xml can accept identity fields from an assertion the IdP never signed, even when a cacert trust anchor is configured, so a party holding one valid IdP-signed assertion can authenticate as an arbitrary user.","affected":[{"untrusted_vendor":"TIMLEGGE","untrusted_product":"Net::SAML2","versions":[]}],"references":[{"url":"https://github.com/perl-net-saml2/perl-Net-SAML2/commit/201fead7f42b83f40c84bf4a311a25b09acd18f9.patch","tags":["Patch"]},{"url":"https://metacpan.org/release/TIMLEGGE/Net-SAML2-0.86/changes","tags":["Release Notes"]}]}}