# CVE-2026-144596: Logto through 1.46.0 SQL Injection via Social Identity Target

Source: https://aplosec.si/cve/CVE-2026-144596/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-144596

Medium 6.9 · Reported · No fix listed · CWE-89 · Server

# Logto through 1.46.0 SQL Injection via Social Identity Target

CVE-2026-144596 · published 2026-12-04

In plain words: this type of bug lets someone change the queries sent to the database (SQL injection). No fixed release is listed yet.

## Summary

CVE-2026-144596 affects Logto (Server) <= 1.46.0: SQL Injection via Social Identity Target (CWE-89). No fixed release is listed. CVSS 4.0 base score 6.9 (Medium), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/logto-through-1.46.0-sql-injection-via-social-identity-target](https://www.vulncheck.com/advisories/logto-through-1.46.0-sql-injection-via-social-identity-target)

- [Fix commithttps://github.com/logto-io/logto/commit/4885ab76a96899c3d104841c259e4cf46ce8d48b](https://github.com/logto-io/logto/commit/4885ab76a96899c3d104841c259e4cf46ce8d48b)

- [Vulnerable codehttps://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#L177-L186)

- [Vulnerable codehttps://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/queries/user.ts#L299-L307)

- [Vulnerable codehttps://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/blob/v1.46.0/packages/core/src/routes/admin-user/social.ts#L32-L54)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-144596](https://www.cve.org/CVERecord?id=CVE-2026-144596)

**Severity:** Medium 6.9 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-144596)

**Package:** Logto

**Ecosystem:** Server

**Affected:** <= 1.46.0

**Fixed:** None

**Weakness:** CWE-89

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
