CVE-2026-18092
Last modified
CVE-2026-18092 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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. new_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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
Description
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. new_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. Any 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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
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-18092?
How severe is CVE-2026-18092?
How do I fix CVE-2026-18092?
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-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-18089Net::SAML2 versions before 0.86 for Perl allow SAML authenti…7.5
- CVE-2026-1809The HTML Tag Shortcodes plugin for WordPress is vulnerable t…6.4
- 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
- CVE-2026-1811A flaw has been found in bolo-blog bolo-solo up to 2.6.4. Th…8.8
- CVE-2026-1812A vulnerability has been found in bolo-blog bolo-solo up to …9.8
Are you affected by CVE-2026-18092?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
