CVE-2026-55789CWE-1395CWE-91

Logto: SAML IdP injects user-controlled profile attributes raw into signed assertions, allowing privilege escalation at relying Service Providers

High · published July 10, 2026

CVSS v3.1
8.5
EPSS
0%
Percentile
33.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00402 · 33.4th percentile
Weaknesses
CWE-1395 · Dependency on Vulnerable Third-Party Component; CWE-91 · XML Injection (aka Blind XPath Injection)
Published
2026-07-10T19:55Z
EPSS history
Timeline
  • 10 JUL 19:55Z
    Logto: SAML IdP injects user-controlled profile attributes raw into signed assertions, allowing privilege escalation at relying Service Providers
    cvelistv5