{"id":"CVE-2026-55789","published":"2026-07-10T19:55:37Z","modified":"2026-07-13T18:16:18Z","title":"Logto: SAML IdP injects user-controlled profile attributes raw into signed assertions, allowing privilege escalation…","vendor":"logto-io","product":"logto","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00402,"percentile":0.25991,"provenance":"source"},"cwes":[{"id":"CWE-91","name":"XML Injection"},{"id":"CWE-1395","name":"Dependency on Vulnerable Third-Party Component"}],"references":[{"url":"https://github.com/logto-io/logto/security/advisories/GHSA-vfpw-vq44-4p63","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/logto-io/logto/pull/9107","tags":["x_refsource_MISC"]},{"url":"https://github.com/logto-io/logto/commit/9097054860f0d638d90778d3dcde2ba050b844b6","tags":["x_refsource_MISC"]},{"url":"https://github.com/logto-io/logto/releases/tag/v1.41.0","tags":["x_refsource_MISC"]}],"priority":{"score":11.1,"factors":[{"name":"EPSS percentile","points":5.2},{"name":"CVSS severity","points":5.95}]},"vendorSlug":"logto-io","affectedVersions":[{"vendor":"logto-io","product":"logto","versions":["< 1.41.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-13T18:16:09.500167Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-43010","exploited":false,"provenance":"source"}}