Alpine: multiple repmgr packages: security update to 5.5.1-r0

medium Tenable Self-Hosted Container Security Plugin ID 499300

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- repmgr 4.0.0 through 5.5.0 is affected by an OS command injection vulnerability (CWE-78) in event
notifications. When event_notification_command is configured, repmgr substitutes the %a (node name), %c
(connection string) and %d (details) placeholders into the command and runs it through the shell. %a and
%c are inserted without escaping, and %d escapes only double quotes, so shell command substitution still
works inside the quoting the documentation recommends. The node name and connection string come from node
records in the repmgr.nodes table. 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 or
repmgrd (usually postgres), on other cluster nodes that process an event using these placeholders. The %a
placeholder of failover_validation_command has the same flaw. Deployments whose repmgr database user is a
superuser gain no new capability, because a superuser can already run OS commands, and deployments that do
not use these placeholders are not affected. The issue is fixed in repmgr 5.5.1. After upgrading,
operators must remove any quotes they placed around these placeholders, because a placeholder left inside
double quotes is still open to command injection. (CVE-2026-122043)

Solution

Update the repmgr library and its related packages to version 5.5.1-r0 or later.

See Also

https://security.alpinelinux.org/vuln/CVE-2026-122043

Plugin Details

Severity: Medium

ID: 499300

Version: Revision 1.1

Type: Local

Published: 12/4/2026

Updated: 12/4/2026

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.5

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2026-122043

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6

Threat Score: 2.2

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 11/11/2026

Reference Information

CVE: CVE-2026-122043