Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-32687

published high CVSS 4.0 · 7.5

SQL injection via channel name in Postgrex.Notifications.listen/3 and unlisten/3

Published
12 May 2026, 14:18:07 UTC
Updated
20 Nov 2026, 05:14:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
elixir-ecto — postgrex0.16.0 to < 0.22.2 · Other versions: unaffected Affected Not stated EEF
elixir-ecto — elixir-ecto/postgrexpostgrex · 266b530faf9bde094e31e0e4ab851f933fadc0f5 to < 7cdedbd4316bb65f82e6a9a4f922c0ac491cb770 · Other versions: unaffected Affected Not stated EEF

Description

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in elixir-ecto postgrex (Postgrex.Notifications module) allows SQL Injection. The channel argument passed to Postgrex.Notifications.listen/3 and Postgrex.Notifications.unlisten/3 is interpolated directly into LISTEN "..." / UNLISTEN "..." SQL statements without escaping the " character. An attacker who can influence the channel name can inject a " to break out of the quoted identifier and append arbitrary SQL. Because the notifications connection uses the PostgreSQL simple query protocol, multi-statement payloads are accepted, allowing DDL and DML commands to be chained (e.g. ; DROP TABLE ...; --). The same unsanitized interpolation also occurs in handle_connect/1 when replaying LISTEN commands after a reconnect. This vulnerability is associated with program file lib/postgrex/notifications.ex and program routines Postgrex.Notifications.listen/3, Postgrex.Notifications.unlisten/3, Postgrex.Notifications.handle_connect/1. This issue affects postgrex: from 0.16.0 before 0.22.2.

en · EEF · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
7.5 / 10
Severity
high
Provider
EEF · cna
Vector string
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
elixir-ecto postgrex 0.16.0 to < 0.22.2 (affected · semver)Default: unaffected EEF · cna
elixir-ecto postgrex 266b530faf9bde094e31e0e4ab851f933fadc0f5 to < 7cdedbd4316bb65f82e6a9a4f922c0ac491cb770 (affected · git)Default: unaffected EEF · cna

Weaknesses

1
  • CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command (EEF · cna)

References

5

Provider assertions

2

EEF · cna

SQL injection via channel name in Postgrex.Notifications.listen/3 and unlisten/3

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
cab00a390774c9d39aaef8ef415a3356bf66f6147ca2a3e26336b68e40b089fe
Ingested
20 Nov 2026, 05:19:38 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected