{"id":"GHSA-9pc9-4crj-mhpj","summary":"stigmem-node's Postgres schema identifier handling required defensive quoting","details":"### Impact\nPostgres backend schema identifiers were interpolated into SQL strings. In the reviewed code path the schema value is operator-controlled, but the pattern was unsafe if future call sites allowed tenant or request-controlled schema names. Impacted users are operators using the Postgres backend in affected versions.\n\n### Patches\nPatched in 0.9.0a2. Schema identifier handling now uses defensive identifier quoting and validation-oriented regression coverage.\n\n### Workarounds\nBefore upgrading, only configure Postgres schema names from trusted deployment configuration and do not derive schema names from request, tenant, header, or user input.\n\n### Upgrade\nUpgrade to the patched release:\n\n```bash\npip install --upgrade --pre stigmem-node\n```\n\nIf developers install through the Stigmem meta-package instead, they should use the matching extra for deployments, for example:\n\n```bash\npip install --upgrade --pre 'stigmem[node]'\n```\n\n### Resources\n- Release: https://github.com/eidetic-labs/stigmem/releases/tag/v0.9.0a2\n- Changelog: https://github.com/eidetic-labs/stigmem/blob/v0.9.0a2/CHANGELOG.md#L14-L35\n- Security policy and posture: https://github.com/eidetic-labs/stigmem/blob/v0.9.0a2/SECURITY.md","aliases":["CVE-2026-76240"],"modified":"2026-08-20T04:04:12.485700057Z","published":"2026-05-29T22:15:40Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-05-29T22:15:40Z","nvd_published_at":null,"cwe_ids":["CWE-89"]},"references":[{"type":"WEB","url":"https://github.com/eidetic-labs/stigmem/security/advisories/GHSA-9pc9-4crj-mhpj"},{"type":"PACKAGE","url":"https://github.com/eidetic-labs/stigmem"},{"type":"WEB","url":"https://github.com/eidetic-labs/stigmem/blob/v0.9.0a2/CHANGELOG.md#L14-L35"},{"type":"WEB","url":"https://github.com/eidetic-labs/stigmem/blob/v0.9.0a2/SECURITY.md"},{"type":"WEB","url":"https://github.com/eidetic-labs/stigmem/releases/tag/v0.9.0a2"}],"affected":[{"package":{"name":"stigmem-node","ecosystem":"PyPI","purl":"pkg:pypi/stigmem-node"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0a2"}]}],"versions":["0.9.0a1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-9pc9-4crj-mhpj/GHSA-9pc9-4crj-mhpj.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"}]}