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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-145347— repmgr 节点记录值 OS 命令注入漏洞

一分钟漏洞结论

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

repmgr 4.0.0 至 5.5.1 版本中,其构建的 pg_basebackup 和 pg_rewind 命令存在操作系统命令注入漏洞(CWE-78)。在执行 repmgr standby clone 期间,来自上游节点在 repmgr.nodes 表中记录的复制用户名(repluser)在未经转义的情况下被插入到 pg_basebackup 命令行中。在执行 repmgr node rejoin --force-rewind 期间(包括 repmgr standby switchover --force-r

CVSS 5.9 · Medium
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
repmgr OS command injection through node record values in pg_basebackup and pg_rewind commands
来源: CVE Program / CVE List V5
Vulnerability Description
repmgr 4.0.0 through 5.5.1 is affected by an OS command injection vulnerability (CWE-78) in the pg_basebackup and pg_rewind commands it builds. During repmgr standby clone, the replication user name (repluser) from the upstream node's record in the repmgr.nodes table is inserted into the pg_basebackup command line without escaping. During repmgr node rejoin with --force-rewind, including the rejoin step of repmgr standby switchover --force-rewind, the primary node's connection string (conninfo) is inserted into the pg_rewind command line without escaping. repmgr runs both commands through the shell. An attacker with the credentials of a non-superuser repmgr database user can write a crafted node record and run OS commands, as the operating system user that runs repmgr (usually postgres), on the node being cloned or rejoined. Deployments whose repmgr database user is a superuser gain no new capability, because a superuser can already run OS commands. The issue is fixed in repmgr 5.5.2.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
EnterpriseDB repmgr 4.0.0 ~ 5.5.2 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

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

同批安全公告 · EnterpriseDB · 2026-12-04 · 共 3 条

CVE-2026-141488 9.2 CRITICAL AIDB MCP 端点认证绕过漏洞
CVE-2026-145348 5.9 MEDIUM repmgr OS命令注入漏洞

IV. Related Vulnerabilities