CVE-2026-41889
CRITICAL9.8EPSS 0.01%pgx: SQL Injection via placeholder confusion with dollar quoted string literals
發布日:2026/4/22修改日:2026/5/22
描述
pgx is a PostgreSQL driver and toolkit for Go. Prior to version 5.9.2, SQL injection can occur when the non-default simple protocol is used, a dollar quoted string literal is used in the SQL query, that string literal contains text that would be would be interpreted as a placeholder outside of a string literal, and the value of that placeholder is controllable by the attacker. This issue has been patched in version 5.9.2.
受影響套件(4)
- Debian/golang-github-jackc-pgx-v5from 0
- Go/github.com/jackc/pgxfrom 0, <= 3.6.2
- Go/github.com/jackc/pgx/v4from 0, <= 4.18.3
- Go/github.com/jackc/pgx/v5from 0, < 5.9.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-41889
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-41889
- PATCHhttps://github.com/jackc/pgx
- WEBhttps://github.com/jackc/pgx/commit/60644f84918a8af66d14a4b0d865d4edafd955da
- WEBhttps://github.com/jackc/pgx/releases/tag/v5.9.2
- WEBhttps://github.com/jackc/pgx/security/advisories/GHSA-j88v-2chj-qfwx