Logto through 1.46.0 contains an SQL injection vulnerability in findUserByIdentity and hasUserWithIdentity that allows
Source GCVE Database
Not known to be exploited · CVSS 6.9 Medium.
Data as of 4 Dec 2026, 04:32 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.9 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 4.9 |
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| logto-ioLogto | Affected
| Fixed in– |
GitHubLogtopkg:github/LogtoOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, restrict Management API access to trusted users only and monitor for suspicious activity involving the affected endpoints. Avoid supplying untrusted input to the social identity target parameter.
Description
Logto versions through 1.46.0 have an SQL injection vulnerability in the functions findUserByIdentity and hasUserWithIdentity. This flaw allows Management API callers to inject SQL code via a crafted single quote in the social identity target parameter. Exploitation can occur through the PUT /api/users/:userId/identities/:target endpoint or a connector's metadata.target, enabling blind extraction of sensitive data such as user password digests.
References
- nvd.nist.gov/vuln/detail/CVE-2026-144596 (opens in a new tab)
- github.com/logto-io/logto/commit/4885ab76a96899c3d104841c259e4cf46ce8d48b (opens in a new tab)
- github.com/logto-io/logto/blob/v1.46.0/packages/core/src/queries/user.ts (opens in a new tab)
- github.com/logto-io/logto/blob/v1.46.0/packages/core/src/queries/user.ts (opens in a new tab)
- github.com/logto-io/logto/blob/v1.46.0/packages/core/src/routes/admin-user/social.ts (opens in a new tab)
- vulncheck.com/advisories/logto-through-1.46.0-sql-injection-via-social-identity-target (opens in a new tab)