Answer in brief
CVE-2026-145347 records a Medium severity (CVSS 5.9) vulnerability in repmgr OS command injection through node record values in pg_basebackup and pg_rewind commands. The current sources do not mark it as known exploited. The current feed maps EnterpriseDB/repmgr (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 5.9. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps EnterpriseDB/repmgr (generic). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| EnterpriseDB/repmgrgeneric | >=4.0.0 <5.5.2 | 5.5.2 |
Published upstream
Dec 4, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Dec 4, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Dec 4, 2026
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.
Quoted source text, attributed separately from HOL analysis.