CVE Explorer
CVE-2026-41889
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"pgx","vendor":"jackc","versions":[{"status":"affected","version":"< 5.9.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:72b50d3f5e11307453777aedc2d416c52bebb72c928d74b8eb8c1da3ba36cae6 · sha256:a48a54a88019e921… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":2.3,"baseSeverity":"LOW","privilegesRequired":"LOW","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:72b50d3f5e11307453777aedc2d416c52bebb72c928d74b8eb8c1da3ba36cae6 · sha256:a48a54a88019e921… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-89","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:72b50d3f5e11307453777aedc2d416c52bebb72c928d74b8eb8c1da3ba36cae6 · sha256:a48a54a88019e921… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/jackc/pgx/commit/60644f84918a8af66d14a4b0d865d4edafd955da","tags":["x_refsource_MISC"],"url":"https://github.com/jackc/pgx/commit/60644f84918a8af66d14a4b0d865d4edafd955da"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:72b50d3f5e11307453777aedc2d416c52bebb72c928d74b8eb8c1da3ba36cae6 · sha256:a48a54a88019e921… · /containers/cna/references/1
{"name":"https://github.com/jackc/pgx/releases/tag/v5.9.2","tags":["x_refsource_MISC"],"url":"https://github.com/jackc/pgx/releases/tag/v5.9.2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:72b50d3f5e11307453777aedc2d416c52bebb72c928d74b8eb8c1da3ba36cae6 · sha256:a48a54a88019e921… · /containers/cna/references/2
{"name":"https://github.com/jackc/pgx/security/advisories/GHSA-j88v-2chj-qfwx","tags":["x_refsource_CONFIRM"],"url":"https://github.com/jackc/pgx/security/advisories/GHSA-j88v-2chj-qfwx"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:72b50d3f5e11307453777aedc2d416c52bebb72c928d74b8eb8c1da3ba36cae6 · sha256:a48a54a88019e921… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.