{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "1.46.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "4885ab76a96899c3d104841c259e4cf46ce8d48b"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "d179bf9d2d51104236a342b90c2841df66e4ba5b"
            },
            {
              "fixed": "4885ab76a96899c3d104841c259e4cf46ce8d48b"
            }
          ],
          "repo": "https://github.com/logto-io/logto",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144596.json"
  },
  "details": "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.",
  "id": "CVE-2026-144596",
  "modified": "2026-12-04T02:45:21.915472072Z",
  "published": "2026-12-04T01:08:44.436Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144596.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/logto-io/logto"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/logto-io/logto/blob/v1.46.0/packages/core/src/queries/user.ts#L177-L186"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/logto-io/logto/blob/v1.46.0/packages/core/src/queries/user.ts#L299-L307"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/logto-io/logto/blob/v1.46.0/packages/core/src/routes/admin-user/social.ts#L32-L54"
    },
    {
      "type": "FIX",
      "url": "https://github.com/logto-io/logto/commit/4885ab76a96899c3d104841c259e4cf46ce8d48b"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-144596"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/logto-through-1.46.0-sql-injection-via-social-identity-target"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Logto through 1.46.0 SQL Injection via Social Identity Target"
}