Skip to content

postgrex (Hex)

Advisories
4
Latest version
—
License
—
OpenSSF Scorecard
—

How to fix

Upgrading to 0.22.4 or later clears every advisory below that has a fix.

Upgrade commands
mix
{:postgrex, "~> 0.22.4"} # then: mix deps.update postgrex

Known vulnerabilities

AdvisorySeverityAffectedFixed in
EEF-CVE-2026-66838
SQL injection via the :comment option in Postgrex.stream/4
High
EPSS 0.40%
>= 0.19.3, < 0.22.4
0.22.4
EEF-CVE-2026-58225
SQL injection via unescaped dollar-quote in Postgrex.Notifications reconnect replay causes notification denial of service
Not rated yet
EPSS 0.22%
>= 0.16.0, < 0.22.3
0.22.3
GHSA-r73h-97w8-m54h
SQL injection via channel name in Postgrex.Notifications.listen/3 and unlisten/3
High
EPSS 0.20%
>= 0.16.0, < 0.22.2
0.22.2
GHSA-r73h-97w8-m54h
SQL injection via channel name in Postgrex.Notifications.listen/3 and unlisten/3
High
EPSS 0.20%
>= 0.16.0, < 0.22.2
0.22.2
Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor