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

- Severity: High 8.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-10T19:55:37.360Z
- Modified: 2026-10-25T15:10:00.147Z
- Weaknesses: CWE-91, CWE-1395
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- logto-io logto: < 1.41.0

## References

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

## Sources

- CVE List: [CVE-2026-55789](https://www.cve.org/CVERecord?id=CVE-2026-55789), CVE Terms of Use, modified 2026-07-13
- NVD: [CVE-2026-55789](https://nvd.nist.gov/vuln/detail/CVE-2026-55789), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-55789 · Whole record: https://cve.day/CVE-2026-55789.json · Rebuilt by cve.day 2026-11-25T22:59:27.676Z
