CVE-2026-145347

MediumCVSS 5.9/10Last modified Dec 4, 2026

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.

Metrics

CVSS 4.0 5.9/10CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 4, 2026
Last modified
Dec 4, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-1453485.9repmgr 4.0.0 through 5.5.1 is affected by an OS command injection vulnerability (CWE-78) in the commands it runs on other cluster nodes overCVE-2026-145359.8In Trail of Bits fickling versions up to and including 0.1.11, the UnsafeImportsML analysis pass unconditionally calls AnalysisContext.shortCVE-2026-1453535.3Avahi through 0.9-rc5 contains an origin validation error in libavahi-client that allows unprivileged local users to deliver forged org.freeCVE-2026-1453545.5Avahi through 0.9-rc5 contains an uncontrolled resource allocation vulnerability that allows local users to bypass the per-group entry limitCVE-2026-1453557.1Turso AgentFS 0.4.0 through 0.6.4 contains a path traversal vulnerability that allows NFS clients to escape the overlay base directory by suCVE-2026-1453564.7open-multi-agent 1.5.0 before 1.27.0 contains a sandbox escape vulnerability in resolvePathWithinCwd that allows attackers to access host fiCVE-2026-1453573.7Metorial Platform through commit 1b5ff9b contains an egress policy bypass vulnerability in the MCP runtime OAuth client that fails to enforcCVE-2026-1453586.5markdownify-mcp before 2.0.0 contains an uncontrolled resource consumption vulnerability that allows attackers to exhaust server memory or hCVE-2026-1453598.1MCPJungle 0.1.11 through 0.4.7 contains a missing authentication vulnerability in the POST /init endpoint that allows unauthenticated attackCVE-2026-145368.8Improper enforcement of a mandatory multi-factor authentication policy in Devolutions Server 2026.2.9.0 allows an attacker with valid user cCVE-2026-1453607.4bb-browser 0.12.0 through 0.14.2 contains a missing authentication vulnerability that allows remote attackers to invoke browser commands by CVE-2026-1453614.7libid3tag through 0.16.4 contains an integer overflow vulnerability in id3_parse_latin1() in src/parse.c that lets attackers trigger a heap
CVE-2026-145347: Medium severity, CVSS 5.9 | Vulnix