Alpine: multiple libcap packages: security update to 2.78-r0

high Tenable Cloud Security Plugin ID 482883

Description

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

- A flaw was found in libcap. A local unprivileged user can exploit a Time-of-check-to-time-of-use (TOCTOU)
race condition in the `cap_set_file()` function. This allows an attacker with write access to a parent
directory to redirect file capability updates to an attacker-controlled file. By doing so, capabilities
can be injected into or stripped from unintended executables, leading to privilege escalation.
(CVE-2026-4878)

Solution

Update the libcap library and its related packages to version 2.78-r0 or later.

See Also

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

Plugin Details

Severity: High

ID: 482883

Version: Revision 1.1

Type: Local

Published: 11/26/2026

Updated: 11/26/2026

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.4

CVSS v2

Risk Factor: Medium

Base Score: 6

Temporal Score: 4.7

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

CVSS Score Source: CVE-2026-4878

CVSS v3

Risk Factor: High

Base Score: 7

Temporal Score: 6.3

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 4/9/2026

Reference Information

CVE: CVE-2026-4878