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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| logto-io | logto | {"endIncluding":"1.46.0"} | |
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
CWEs
CWE-89
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.