CVE-2026-55789 Details
Description
Logto is the modern, open-source auth infrastructure for SaaS and AI apps. Prior to 1.41.0, Logto's self-hosted SAML application IdP built the signed SAML response and assertion by string-substituting user-controlled profile attributes such as name, email, and custom attribute-mapping values into element-text placeholders of a SAML XML template using samlify 2.10.0, which left those placeholders unescaped. An authenticated low-privilege user could place XML markup in a profile attribute so Logto signed a forged SAML attribute, such as an arbitrary role, allowing privilege escalation at relying Service Providers that authorize on SAML attributes. This issue is fixed in version 1.41.0.
A vulnerability in Logto's self-hosted SAML application Identity Provider (IdP) allows authenticated low-privilege users to escalate privileges by injecting unescaped XML markup into SAML assertions. This issue affects Logto versions prior to 1.41.0. The vulnerability arises because the SAML IdP constructs signed responses by inserting user-controlled profile attributes, such as name and email, into an XML template using the samlify library version 2.10.0. The injected attributes are not properly escaped when placed in element-text positions, enabling users to forge SAML attributes, like roles, and gain unauthorized access at relying Service Providers that validate SAML attributes.
Logto has released a patch in version 1.41.0, which upgrades the samlify library to version 2.13.0. Users should update to this version to address the vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 10, 2026CISA-ADP
Assessed Jul 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/logto-io/logto/security/advisories/GHSA-vfpw-vq44-4p63 | CISA-ADP | AdvisoryExploitRemedyTechnical AnalysisVendor |
| https://github.com/logto-io/logto/commit/9097054860f0d638d90778d3dcde2ba050b844b6 | [email protected] | Source CodeVendor |
| https://github.com/logto-io/logto/pull/9107 | [email protected] | Source CodeVendor |
| https://github.com/logto-io/logto/releases/tag/v1.41.0 | [email protected] | Release NotesVendor |
| https://github.com/logto-io/logto/security/advisories/GHSA-vfpw-vq44-4p63 | [email protected] | AdvisoryExploitRemedyTechnical AnalysisVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-91 | XML Injection (aka Blind XPath Injection) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Logto | <= 1.40.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 13, 2026 | CVE Modified | CISA-ADP |
| Jul 10, 2026 | New CVE Received | [email protected] |
Volerion