{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.9.0a2"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "18ec5dbe3a3970d804f2013b4ae53dd2da8ed4ac"
            }
          ],
          "repo": "https://github.com/eidetic-labs/stigmem",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-9pc9-4crj-mhpj"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76240.json"
  },
  "details": "stigmem-node 0.9.0a1 interpolates Postgres backend schema identifiers into SQL strings without defensive quoting. In the affected code path the schema value is operator-controlled, but the unsafe pattern could allow SQL injection if a schema name were derived from tenant, request, or user input. Fixed in 0.9.0a2, which adds identifier quoting and validation. As a workaround, only configure schema names from trusted deployment configuration.",
  "id": "CVE-2026-76240",
  "modified": "2026-08-22T03:30:57.248970048Z",
  "published": "2026-08-19T14:02:18.061Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76240.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/eidetic-labs/stigmem/security/advisories/GHSA-9pc9-4crj-mhpj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-76240"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/stigmem-postgres-sql-injection-via-schema-identifier"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "stigmem Postgres SQL Injection via Schema Identifier"
}