CVE-2026-145348 — EnterpriseDB repmgr
One of 2 EnterpriseDB repmgr vulnerabilities published together by NVD: our article covers all of them.
SSHOperating systemsDatabasesVulnerabilitiesSummary
repmgr 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 over SSH. Commands such as repmgr cluster matrix, repmgr cluster crosscheck and repmgr standby switchover build an ssh command line that includes the configuration file path (config_file) and the host name from other nodes' records in the repmgr.nodes table, and run it through the shell without quoting these values. 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 where an operator or automation runs one of these commands. 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.
Severity breakdown
Medium · 5.9
An attacker with administrator rights can exploit this over the network if a user views or visits something, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- yes, an administrator account
- User action needed
- yes, a user must view or visit something
- Impact
- high on integrity and availability, low on confidentiality
- Impact on other systems
- none
Weakness
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| EnterpriseDB repmgr | ≥ 4.0.0, < 5.5.2 | 5.5.2 |
References by type
Patches and fixed releases
Other references
Affected
- EnterpriseDB repmgr
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-145348?
repmgr 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 over SSH. Weakness type: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CWE-78).
How severe is CVE-2026-145348?
CVE-2026-145348 has a CVSS 4.0 base score of 5.9 (medium), from the CNA. An attacker with administrator rights can exploit this over the network if a user views or visits something, but only under specific conditions.
Is CVE-2026-145348 being exploited?
Not as far as is known: CVE-2026-145348 is not in CISA's Known Exploited Vulnerabilities catalog as of December 5, 2026.
Which versions are affected by CVE-2026-145348?
EnterpriseDB repmgr ≥ 4.0.0, < 5.5.2 (fixed in 5.5.2).
How do I fix CVE-2026-145348?
Update to a fixed release: EnterpriseDB repmgr 5.5.2.