# CVE-2026-76240: stigmem Postgres SQL Injection via Schema Identifier

- Severity: High 7.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-05-29T22:15:40.000Z
- Modified: 2026-09-11T18:28:15.520Z
- Also known as: GHSA-9pc9-4crj-mhpj
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- eidetic-labs stigmem: before 0.9.0a2 (not affected: 0.9.0a2)
- stigmem-node (PyPI): before 0.9.0a2

## Every score

- VulnCheck: CVSS:4.0 7.5 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/eidetic-labs/stigmem/security/advisories/GHSA-9pc9-4crj-mhpj> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/stigmem-postgres-sql-injection-via-schema-identifier> (third-party-advisory)
- <https://github.com/eidetic-labs/stigmem> (package)
- <https://github.com/eidetic-labs/stigmem/blob/v0.9.0a2/CHANGELOG.md#L14-L35> (web)
- <https://github.com/eidetic-labs/stigmem/blob/v0.9.0a2/SECURITY.md> (web)
- <https://github.com/eidetic-labs/stigmem/releases/tag/v0.9.0a2> (web)

## Sources

- CVE List: [CVE-2026-76240](https://www.cve.org/CVERecord?id=CVE-2026-76240), CVE Terms of Use, modified 2026-08-20
- GitHub Advisory Database: [GHSA-9pc9-4crj-mhpj](https://github.com/advisories/GHSA-9pc9-4crj-mhpj), CC-BY-4.0, modified 2026-08-20
- NVD: [CVE-2026-76240](https://nvd.nist.gov/vuln/detail/CVE-2026-76240), Public domain, modified 2026-09-11

---

Page: https://cve.day/CVE-2026-76240 · Whole record: https://cve.day/CVE-2026-76240.json · Rebuilt by cve.day 2026-11-25T22:59:33.945Z
