MEDIUM · CVSS 5.9 Published: 2026-12-04

CVE-2026-145348 — Technical Security Advisory & CVSS Profile

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.

Technical Metadata

IdentifierCVE-2026-145348
Base Severity / ScoreMEDIUM (5.9 / 10.0)
CVSS VectorCVSS: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 ClassificationCWE-78
Archive CategoriesMEDIUM Advisories · 2026 Index

Operational Mitigation Guidance

Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2026-145347 MEDIUM 5.9
CVE-2026-145353 MEDIUM 5.3
CVE-2026-144889 MEDIUM 6.3
CVE-2026-144890 MEDIUM 4.3
CVE-2026-145354 MEDIUM 5.5
CVE-2026-145356 MEDIUM 4.7
Recently updated entries: advisory/CVE-2025-3254 · advisory/CVE-2025-32434 · advisory/CVE-2025-32350