Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 77%

CVE-2026-55789: CWE-91: XML Injection (aka Blind XPath Injection) in logto-io logto

0
High
VulnerabilityCVE-2026-55789cvecve-2026-55789cwe-91cwe-1395
Published: 07/10/2026 (07/10/2026, 19:55:37 UTC)
Source: CVE Database V5
Vendor/Project: logto-io
Product: logto

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.

CVSS v3.1

Score 8.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N

Affected software

GitHub Actionsmore threats →ai
logto-io/logto
pkg:github/logto-io/logto
Affected versions
<1.41.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/18/2026, 15:28:52 UTC

Technical Analysis

CVE-2026-55789 is an XML Injection (Blind XPath Injection) vulnerability in logto-io's Logto product affecting versions before 1.41.0. The self-hosted SAML IdP builds signed SAML responses by string-substituting user profile attributes into XML templates without escaping, using samlify 2.10.0. This allows an authenticated low-privilege user to inject XML markup into profile attributes, resulting in forged signed SAML attributes and potential privilege escalation at relying Service Providers. The vulnerability has a CVSS 3.1 score of 8.5 (high severity).

Potential Impact

An authenticated low-privilege user can inject XML markup into profile attributes, causing Logto to sign forged SAML attributes such as arbitrary roles. This enables privilege escalation at relying Service Providers that authorize based on SAML attributes. Confidentiality impact is low, integrity impact is high, and availability is not affected.

Mitigation Recommendations

A fix is available in Logto version 1.41.0. Users should upgrade to version 1.41.0 or later to remediate this vulnerability. No vendor advisory is provided, but the description explicitly states the issue is fixed in 1.41.0. Until upgraded, restrict access to trusted users and consider additional validation of SAML attributes at relying Service Providers.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-17T14:40:28.380Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a51500b68715ace431e0c64

Added to database: 07/10/2026, 20:03:23 UTC

Last enriched: 07/18/2026, 15:28:52 UTC

Last updated: 08/23/2026, 10:52:10 UTC

Views: 106

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses