CVE-2026-145347: EnterpriseDB repmgr · OS Command Injection
Affects EnterpriseDB repmgrSource CVE Database V5
Not known to be exploited · CVSS 5.9 Medium : upgrade to 5.5.2 when convenient.
Data as of 4 Dec 2026, 21:33 UTC
Thin evidence
One scorer or none| CNA (EDB) | CVSS 4.0 | 5.9 |
|---|
- Patch
- Available – fixed in 5.5.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:L/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.
What to do
Upgrade EnterpriseDB repmgr to 5.5.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| EnterpriseDBrepmgr | Affected
| Fixed in
|
GitHubrepmgrpkg:github/repmgrOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade repmgr to version 5.5.2 or later, where the vulnerability is fixed. No other mitigations are indicated by the vendor advisory. Since the vulnerability involves improper escaping of command-line arguments, patching is the recommended and effective remediation.
Description
EnterpriseDB repmgr versions 4.0.0 through 5.5.1 contain an OS command injection vulnerability (CWE-78) in the construction of pg_basebackup and pg_rewind commands. The vulnerability arises because user-supplied data from the repmgr.nodes table is inserted into shell commands without proper escaping. This allows an attacker with non-superuser repmgr database credentials to execute arbitrary OS commands as the operating system user running repmgr, typically 'postgres'. The issue is fixed in version 5.5.2.