CVE Database
/

CVE-2026-4878

Back to search

CVE-2026-4878

Published: Apr 9, 2026

Modified: Jun 3, 2026

PUBLISHED

CVSS v3.1

6.7

MEDIUM

Description

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.

VendorProductVersions

Red Hat

Red Hat Enterprise Linux 10

unaffected
0:2.69-7.el10_1.1 - < *

Red Hat

Red Hat Enterprise Linux 10

unaffected
0:2.69-7.el10_2.1 - < *

Red Hat

Red Hat Enterprise Linux 10.0 Extended Update Support

unaffected
0:2.69-7.el10_0.1 - < *

Red Hat

Red Hat Enterprise Linux 8

unaffected
0:2.48-6.el8_10.1 - < *

Red Hat

Red Hat Enterprise Linux 8.8 Telecommunications Update Service

unaffected
0:2.48-5.el8_8.1 - < *

Red Hat

Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions

unaffected
0:2.48-5.el8_8.1 - < *

Red Hat

Red Hat Enterprise Linux 9

unaffected
0:2.48-10.el9_7.1 - < *

Red Hat

Red Hat Enterprise Linux 9

unaffected
0:2.48-10.el9_8.1 - < *

Red Hat

Red Hat Enterprise Linux 9

unaffected
0:2.48-10.el9_7.1 - < *

Red Hat

Red Hat Enterprise Linux 9

unaffected
0:2.48-10.el9_8.1 - < *

Red Hat

Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

unaffected
0:2.48-9.el9_2.1 - < *

Red Hat

Red Hat Enterprise Linux 9.4 Extended Update Support

unaffected
0:2.48-9.el9_4.1 - < *

Red Hat

Red Hat Enterprise Linux 9.6 Extended Update Support

unaffected
0:2.48-9.el9_6.1 - < *

Red Hat

Red Hat Discovery 2

unaffected
1778101579 - < *

Red Hat

Red Hat Discovery 2

unaffected
1778156756 - < *

Red Hat

Red Hat Hardened Images

unaffected
2.78-1.1.hum1 - < *

Red Hat

Red Hat Insights proxy 1.5

unaffected
1780420428 - < *

Red Hat

Red Hat OpenShift distributed tracing 3.9.3

unaffected
1778056267 - < *

Red Hat

Red Hat OpenShift distributed tracing 3.9.3

unaffected
1778056233 - < *

Red Hat

Red Hat OpenShift distributed tracing 3.9.3

unaffected
1778056245 - < *

Red Hat

Red Hat Update Infrastructure 5

unaffected
1779798159 - < *

Red Hat

Red Hat Update Infrastructure 5

unaffected
1779798164 - < *

Red Hat

Red Hat Update Infrastructure 5

unaffected
1779798165 - < *

Red Hat

Red Hat Update Infrastructure 5

unaffected
1779798222 - < *

Red Hat

Red Hat Enterprise Linux 6

All versions

Red Hat

Red Hat Enterprise Linux 6

All versions

Red Hat

Red Hat Enterprise Linux 7

All versions

Red Hat

Red Hat Enterprise Linux 7

All versions

Red Hat

Red Hat OpenShift Container Platform 4

All versions

Weaknesses (CWE)

CVSS v3.1 Details

CVSS v3.1 Vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Attack Vector

Local

Attack Complexity

High

Privileges Required

Low

User Interaction

Required

Scope

Unchanged

Confidentiality

High

Integrity

High

Availability

High

References

RHSA-2026:12423
vendor-advisory
x_refsource_REDHAT
RHSA-2026:12441
vendor-advisory
x_refsource_REDHAT
RHSA-2026:13285
vendor-advisory
x_refsource_REDHAT
RHSA-2026:14162
vendor-advisory
x_refsource_REDHAT
RHSA-2026:14937
vendor-advisory
x_refsource_REDHAT
RHSA-2026:19130
vendor-advisory
x_refsource_REDHAT
RHSA-2026:19346
vendor-advisory
x_refsource_REDHAT
RHSA-2026:19456
vendor-advisory
x_refsource_REDHAT
RHSA-2026:19458
vendor-advisory
x_refsource_REDHAT
RHSA-2026:20595
vendor-advisory
x_refsource_REDHAT
RHSA-2026:21254
vendor-advisory
x_refsource_REDHAT
RHSA-2026:21275
vendor-advisory
x_refsource_REDHAT
RHSA-2026:22634
vendor-advisory
x_refsource_REDHAT
RHSA-2026:22957
vendor-advisory
x_refsource_REDHAT
RHSA-2026:7473
vendor-advisory
x_refsource_REDHAT
RHBZ#2451615
issue-tracking
x_refsource_REDHAT

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now