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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-61817— PostgreSQL扩展pg_partman SQL注入权限提升漏洞

一分钟漏洞结论

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

pg_partman 是一个用于通过时间或 ID 管理 PostgreSQL 分区表的扩展。在 5.5.0 之前, 、 、 、 和 函数会将可写的 文本值未加标识符引号地插入到动态 SQL 中。拥有文档中所述的 权限的角色可以存储 SQL 语句,而不仅仅是解码器函数名。当受影响的后续操作使用被污染的该值时(包括针对基于文本或 UUID 键集的 维护任务),该 SQL 将以执行该操作的权限运行,而该权限可能是默认的 PostgreSQL 超级用户后台工作进程(background worker)角色。由于持久化的行可

CVSS 8.5 · High

影响版本矩阵 1

厂商产品 版本范围状态
pgpartman pg_partman < 5.5.0 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
pg_partman privilege escalation via SQL injection in several functions via time decoder
来源: CVE Program / CVE List V5
Vulnerability Description
pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, run_maintenance(), show_partitions(), show_partition_info(), undo_partition(), and partition_data_time() interpolate the writable part_config.time_dncoder text value without identifier quoting into dynamic SQL. A role with the documented partman_user privileges can store SQL rather than a decoder function name. When an affected operation later uses the poisoned value, including pg_partman_bgw maintenance for a text- or UUID-keyed set, the SQL executes with the operation's privileges, which can be the default PostgreSQL superuser background-worker role. The persistent row can restore elevated access on later ticks, and successful exploitation can permit database-wide compromise and operating-system command execution as the PostgreSQL service account. This issue is fixed in version 5.5.0.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
pgpartman pg_partman < 5.5.0 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2026-61817 厂商安全公告 (1)

CVE-2026-61817 其他参考 (1)

同批安全公告 · pgpartman · 2026-09-18 · 共 7 条

CVE-2026-61781 9.9 CRITICAL pg_partman SQL注入致特权提升漏洞
CVE-2026-61820 8.5 HIGH pg_partman SQL注入提权漏洞
CVE-2026-61818 8.5 HIGH pg_partman时间分区撤销编码器SQL注入漏洞
CVE-2026-61819 8.5 HIGH pg_partman SQL注入致权限提升
CVE-2026-61821 8.5 HIGH pg_partman 保留策略跨模式移动表授权绕过漏洞
CVE-2026-61822 6.5 MEDIUM pg_partman 分区维护禁用漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-61817

暂无评论


发表评论