CVE-2026-145347
Last modified
CVE-2026-145347 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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.
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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| EnterpriseDB | repmgr | >= 4.0.0, < 5.5.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-145347?
How severe is CVE-2026-145347?
How do I fix CVE-2026-145347?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-14529IBM WebSphere Application Server 9.0, and 8.5 and IBM WebSph…9.8
- CVE-2026-1453A missing authentication for critical function vulnerability…9.8
- CVE-2026-145313In agentgateway 1.7.0, including its 1.7.0 pre-releases, the…4.3
- CVE-2026-145314A heap out-of-bounds write exists in the MPEG-1/2 video deco…7.2
- CVE-2026-14532IBM WebSphere Application Server - Liberty 17.0.0.3 through …4.3
- CVE-2026-14534Trail of Bits fickling versions up to and including 0.1.10 d…8.8
- CVE-2026-145348repmgr 4.0.0 through 5.5.1 is affected by an OS command inje…5.9
- CVE-2026-14535In Trail of Bits fickling versions up to and including 0.1.1…9.8
- CVE-2026-145353Avahi through 0.9-rc5 contains an origin validation error in…5.3
- CVE-2026-145354Avahi through 0.9-rc5 contains an uncontrolled resource allo…5.5
- CVE-2026-145355Turso AgentFS 0.4.0 through 0.6.4 contains a path traversal …7.1
- CVE-2026-145356open-multi-agent 1.5.0 before 1.27.0 contains a sandbox esca…4.7
Are you affected by CVE-2026-145347?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
