# postgrex (Hex) vulnerabilities

3 known vulnerabilities (1 high, 1 medium, 1 low), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://hex.pm/packages/postgrex

## Advisories (3)

### [CVE-2026-66838](https://cve.now/CVE-2026-66838): SQL injection via the :comment option in Postgrex.stream/4

- Severity: Medium 5.9
- Published: Aug 7, 2026
- Affected: from 0.19.3, fixed in 0.22.4; from 0.19.3, fixed in 0.22.4.

### [CVE-2026-58225](https://cve.now/CVE-2026-58225): SQL injection via unescaped dollar-quote in Postgrex.Notifications reconnect replay causes notification denial of service

- Severity: Low 2.1
- Published: Jul 10, 2026
- Affected: from 0.16.0, fixed in 0.22.3; from 0.16.0, fixed in 0.22.3.

### [CVE-2026-32687](https://cve.now/CVE-2026-32687): SQL injection via channel name in Postgrex.Notifications.listen/3 and unlisten/3

- Severity: High 7.5
- Published: May 12, 2026
- Affected: from 0.16.0, fixed in 0.22.2; from 0.16.0, fixed in 0.22.2.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/hex/postgrex
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
