{"id":"CVE-2026-76240","title":"stigmem-node 0.9.0a1 interpolates Postgres backend schema identifiers into SQL strings without defensive quoting","summary":"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 sc…","severity":"high","cwe":["CWE-89"],"vendor":"stigmem-node","product":"stigmem-node","affected":["stigmem-node < 0.9.0a2"],"patched":["stigmem-node 0.9.0a2"],"published":"2026-08-19","updated":"2026-09-11","sourceUpdated":"2026-09-11T18:28:15.520","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-76240","references":[{"url":"https://github.com/eidetic-labs/stigmem/security/advisories/GHSA-9pc9-4crj-mhpj","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/stigmem-postgres-sql-injection-via-schema-identifier","label":"disclosure@vulncheck.com"},{"url":"https://github.com/eidetic-labs/stigmem"},{"url":"https://github.com/eidetic-labs/stigmem/blob/v0.9.0a2/CHANGELOG.md#L14-L35"},{"url":"https://github.com/eidetic-labs/stigmem/blob/v0.9.0a2/SECURITY.md"},{"url":"https://github.com/eidetic-labs/stigmem/releases/tag/v0.9.0a2"}],"tags":["nvd","osv","pip"],"epss":0.00279,"epssPercentile":0.20608,"aliases":["GHSA-9pc9-4crj-mhpj"],"ecosystem":"pip","ingestedAt":"2026-08-20T19:23:05.605Z","slug":"CVE-2026-76240","body":"## Overview\n\nstigmem-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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-76240)\n\nAffected packages:\n\n- `stigmem-node < 0.9.0a2`\n\nPatched in:\n\n- `stigmem-node 0.9.0a2`\n\nSource: https://osv.dev/vulnerability/GHSA-9pc9-4crj-mhpj","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}