Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-41889— pgx: SQL Injection via placeholder confusion with dollar quoted string literals

Quick assessment

Affected
jackc pgx
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

pgx是适用于 Go 的 PostgreSQL 驱动程序和工具包。 pgx 5.9.2之前版本存在SQL注入漏洞,该漏洞源于使用非默认简单协议时,美元引号字符串字面量中的占位符可能被错误解析,可能导致SQL注入。

AI Predicted 7.5 Difficulty: Moderate EPSS 0.49% · P41

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProduct Version RangeStatus
jackc pgx < 5.9.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-41889

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
pgx: SQL Injection via placeholder confusion with dollar quoted string literals
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
pgx SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
pgx是适用于 Go 的 PostgreSQL 驱动程序和工具包。 pgx 5.9.2之前版本存在SQL注入漏洞,该漏洞源于使用非默认简单协议时,美元引号字符串字面量中的占位符可能被错误解析,可能导致SQL注入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
jackc pgx < 5.9.2 -

II. Public POCs for CVE-2026-41889

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-41889

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-41889 (1)

Vendor Advisories for CVE-2026-41889 (1)

Vendor Pages for CVE-2026-41889 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-41889

No comments yet


Leave a comment