目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-136506— SQL injection through names the driver puts into its own queries

一分钟漏洞结论

影响对象
PostgreSQL psqlODBC
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

psqlODBC builds queries of its own from names, and put these names into them without escaping or qualification: the database name in SQLForeignKeys(); the current schema name in catalog functions; the table name in the currtid2() call that re-reads rows of upd

CVSS 7.5 · High
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-136506 基础信息

漏洞信息

Shenlong is analyzing...


对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
SQL injection through names the driver puts into its own queries
来源: CVE Program / CVE List V5
Vulnerability Description
psqlODBC builds queries of its own from names, and put these names into them without escaping or qualification: - the database name in SQLForeignKeys(); - the current schema name in catalog functions; - the table name in the currtid2() call that re-reads rows of updatable cursors; - column names in the inserts and updates of SQLSetPos() and SQLBulkOperations(); - cursor names set with SQLSetCursorName() or returned as refcursors (FetchRefcursors=1); - parameter names (SQL_DESC_NAME) in procedure calls; - the = operator in an OID comparison in SQLColumns(), which the server resolves through search_path. The column names of the fourth item are a variant of CVE-2026-120065 (GHSA-9cg8-r57h-h6jj). The fix for that advisory, in 18.00.0006, doubles " in the stored row-identifier name, which the keyset queries and the WHERE clause of the positioned statements use. The column names that SQLSetPos() and SQLBulkOperations() put into the SET list of their UPDATE and into the column list of their SQL_ADD INSERT come from the catalog and were not covered by it, so a driver patched to 18.00.0006 is still affected by this one. A database user who can create a database, schema, table, column or operator with a crafted name, or an end user who supplies a cursor or parameter name to the application, can run SQL with the rights of the application's database role. Versions up to and including psqlODBC 18.00.0006 are affected.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
PostgreSQL psqlODBC 0 ~ 18.00.0006 -

二、漏洞 CVE-2026-136506 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-136506 的情报信息

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

CVE-2026-136506 其他参考 (2)

同批安全公告 · PostgreSQL · 2026-11-25 · 共 17 条

CVE-2026-136500 8.1 HIGH SQL injection with BIG5 aliases and the JOHAB, EUC_TW, EUC_CN and EUC_KR client encodings
CVE-2026-136507 8.1 HIGH Connection string injection in SQLDriverConnect and the MSDTC XA open string
CVE-2026-136502 8.1 HIGH SQL injection and redirected writes because the driver reads SQL text differently from the
CVE-2026-136515 7.5 HIGH Memory corruption and crashes when the driver rewrites statements for cursors and escapes
CVE-2026-136505 7.5 HIGH Unchecked sizes and counters overflow driver buffers
CVE-2026-136509 7.5 HIGH Driver does not check that server replies match the queries it sent
CVE-2026-136512 7.5 HIGH Buffer overflows when a converted value does not fit the application's buffer
CVE-2026-136503 7.5 HIGH Use after free, double free and out-of-bounds writes in result and transaction clean-up
CVE-2026-136501 7.1 HIGH Positioned writes go to another user's table through name and case matching
CVE-2026-136511 6.8 MEDIUM An SSLmode value written with capitals or braces connects without TLS
CVE-2026-136508 6.8 MEDIUM MSDTC connections drop the connection's TLS and channel binding settings
CVE-2026-136514 6.5 MEDIUM Another database user can crash applications by changing a table they own
CVE-2026-136499 5.9 MEDIUM Driver sends application memory to the server or returns it to the caller
CVE-2026-136504 5.0 MEDIUM Debug log records the database password in clear text
CVE-2026-136510 4.8 MEDIUM Statement after an abandoned parameter array sends the abandoned batch's rows instead of i
CVE-2026-136513 3.6 LOW Another local user can redirect log files (incomplete fix for CVE-2026-120066)

IV. Related Vulnerabilities