---
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.00383
epssPercentile: 0.29558
aliases:
  - GHSA-9pc9-4crj-mhpj
ecosystem: pip
ingestedAt: '2026-08-20T19:23:05.605Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-76240)

Affected packages:

- `stigmem-node < 0.9.0a2`

Patched in:

- `stigmem-node 0.9.0a2`

Source: https://osv.dev/vulnerability/GHSA-9pc9-4crj-mhpj
