Skip to main content
VulnerabilityPublished

CVE-2026-145347: EnterpriseDB repmgr · OS Command Injection

Affects EnterpriseDB repmgrSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (EDB)CVSS 4.05.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
EnterpriseDBrepmgrAffected
  • >=4.0.0 <5.5.2
Fixed in
  • 5.5.2
GitHubrepmgrpkg:github/repmgrOther threatsAffected
  • >=4.0.0 <5.5.2
Fixed in
  • 5.5.2

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.

References

Community reviews

Loading reviews…