{"id":"CVE-2026-76240","summary":"stigmem Postgres SQL Injection via Schema Identifier","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.","aliases":["GHSA-9pc9-4crj-mhpj"],"modified":"2026-08-22T03:30:57.248970048Z","published":"2026-08-19T14:02:18.061Z","database_specific":{"cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76240.json","cna_assigner":"VulnCheck"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/eidetic-labs/stigmem","events":[{"introduced":"0"},{"fixed":"18ec5dbe3a3970d804f2013b4ae53dd2da8ed4ac"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"0.9.0a2"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-76240.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","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"}]}