Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › SSH

CVE-2026-145348 — EnterpriseDB repmgr

Medium · CVSS 5.9 First seen December 04, 2026

One of 2 EnterpriseDB repmgr vulnerabilities published together by NVD: our article covers all of them.

SSHOperating systemsDatabasesVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 5.9 CVSS 4.0 base score 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.

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

Vector 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/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

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Affected and fixed versions

ProductAffected versionsFixed in
EnterpriseDB repmgr≥ 4.0.0, < 5.5.25.5.2

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Patches and fixed releases

Other references

Details from NVD (public domain).

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.

Timeline & sources

References

Related vulnerabilities & news