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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.5
- **CVSS:** 8.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.40% (percentile 26, 2026-11-28)
- **CWE:** CWE-91, CWE-1395
- **Published:** 2026-07-10T19:55:37.360Z
- **Modified:** 2026-10-25T15:10:00.147Z

## Who should check

- Anyone running logto-io logto \< 1.41.0

## 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.

## Affected and fixed versions

- logto-io logto: \< 1.41.0 (cvelist)

## Mitigation

- Upgrade logto to 1.41.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-55789. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-55789.md
Affected: logto-io logto < 1.41.0
Fixed in: logto-io logto 1.41.0

Steps:
1. Search this machine and project for logto-io logto: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-55789 being exploited?

There is no confirmed exploitation: CVE-2026-55789 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-55789?

High: CVSS 8.5 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-55789?

logto-io logto \< 1.41.0.

### Is there a fix for CVE-2026-55789?

Yes. Fixed in logto-io logto 1.41.0. Upgrade logto to 1.41.0 or later.

### How do I check if I'm affected by CVE-2026-55789?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/logto-io/logto/security/advisories/GHSA-vfpw-vq44-4p63>
- patch: <https://github.com/logto-io/logto/pull/9107>
- patch: <https://github.com/logto-io/logto/commit/9097054860f0d638d90778d3dcde2ba050b844b6>
- other: <https://github.com/logto-io/logto/releases/tag/v1.41.0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-55789>

HTML: <https://flawdb.com/CVE-2026-55789> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-55789>
