CVE-2026-144596
DESCRIPTION
Logto through 1.46.0 contains an SQL injection vulnerability in findUserByIdentity and hasUserWithIdentity that allows Management API callers to inject SQL via a single quote in the social identity target. Attackers can supply a crafted target in PUT /api/users/:userId/identities/:target or a connector's metadata.target to perform blind extraction of data such as user password digests.
CVSS
MEDIUM 6.9 · v4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XWEAKNESSES
REFERENCES
- https://github.com/logto-io/logto/blob/v1.46.0/packages/core/src/queries/user.ts#L177-L186
- https://github.com/logto-io/logto/blob/v1.46.0/packages/core/src/queries/user.ts#L299-L307
- https://github.com/logto-io/logto/blob/v1.46.0/packages/core/src/routes/admin-user/social.ts#L32-L54
- https://github.com/logto-io/logto/commit/4885ab76a96899c3d104841c259e4cf46ce8d48b
- https://www.vulncheck.com/advisories/logto-through-1.46.0-sql-injection-via-social-identity-target
This record is mirrored from the NIST National Vulnerability Database and republished unchanged. It may have been revised or withdrawn since we last synced it; check the record at NVD before relying on it.