{"api_version":"1","generated_at":"2026-07-12T06:26:51+00:00","cve":"CVE-2026-55789","urls":{"html":"https://cve.report/CVE-2026-55789","api":"https://cve.report/api/cve/CVE-2026-55789.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-55789","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-55789"},"summary":{"title":"Logto: SAML IdP injects user-controlled profile attributes raw into signed assertions, allowing privilege escalation at relying Service Providers","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-07-10 20:16:47","updated_at":"2026-07-10 20:16:47"},"problem_types":["CWE-91","CWE-91 CWE-91: XML Injection (aka Blind XPath Injection)","CWE-1395 CWE-1395: Dependency on Vulnerable Third-Party Component"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"8.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","baseScore":8.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"HIGH","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"8.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.5,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/logto-io/logto/commit/9097054860f0d638d90778d3dcde2ba050b844b6","name":"https://github.com/logto-io/logto/commit/9097054860f0d638d90778d3dcde2ba050b844b6","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/logto-io/logto/pull/9107","name":"https://github.com/logto-io/logto/pull/9107","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/logto-io/logto/security/advisories/GHSA-vfpw-vq44-4p63","name":"https://github.com/logto-io/logto/security/advisories/GHSA-vfpw-vq44-4p63","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/logto-io/logto/releases/tag/v1.41.0","name":"https://github.com/logto-io/logto/releases/tag/v1.41.0","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-55789","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55789","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"logto-io","product":"logto","version":"affected < 1.41.0","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"55789","cve":"CVE-2026-55789","epss":"0.002980000","percentile":"0.216350000","score_date":"2026-07-11","updated_at":"2026-07-12 00:00:50"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"logto","vendor":"logto-io","versions":[{"status":"affected","version":"< 1.41.0"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.5,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-91","description":"CWE-91: XML Injection (aka Blind XPath Injection)","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1395","description":"CWE-1395: Dependency on Vulnerable Third-Party Component","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-10T19:55:37.360Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/logto-io/logto/security/advisories/GHSA-vfpw-vq44-4p63","tags":["x_refsource_CONFIRM"],"url":"https://github.com/logto-io/logto/security/advisories/GHSA-vfpw-vq44-4p63"},{"name":"https://github.com/logto-io/logto/pull/9107","tags":["x_refsource_MISC"],"url":"https://github.com/logto-io/logto/pull/9107"},{"name":"https://github.com/logto-io/logto/commit/9097054860f0d638d90778d3dcde2ba050b844b6","tags":["x_refsource_MISC"],"url":"https://github.com/logto-io/logto/commit/9097054860f0d638d90778d3dcde2ba050b844b6"},{"name":"https://github.com/logto-io/logto/releases/tag/v1.41.0","tags":["x_refsource_MISC"],"url":"https://github.com/logto-io/logto/releases/tag/v1.41.0"}],"source":{"advisory":"GHSA-vfpw-vq44-4p63","discovery":"UNKNOWN"},"title":"Logto: SAML IdP injects user-controlled profile attributes raw into signed assertions, allowing privilege escalation at relying Service Providers"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-55789","datePublished":"2026-07-10T19:55:37.360Z","dateReserved":"2026-06-17T14:40:28.380Z","dateUpdated":"2026-07-10T19:55:37.360Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-10 20:16:47","lastModifiedDate":"2026-07-10 20:16:47","problem_types":["CWE-91","CWE-91 CWE-91: XML Injection (aka Blind XPath Injection)","CWE-1395 CWE-1395: Dependency on Vulnerable Third-Party Component"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","baseScore":8.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":3.1,"impactScore":4.7}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"55789","Ordinal":"1","Title":"Logto: SAML IdP injects user-controlled profile attributes raw i","CVE":"CVE-2026-55789","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"55789","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Logto: SAML IdP injects user-controlled profile attributes raw i"}]}}}