← Browse

CVE-2026-4878

Low

No strong exploitation signal.

CVSS base
6.7 MEDIUM
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS — probability of exploitation (30 days)
0.2%
10.4th percentile
CISA KEV
Not listed
Weakness / dates
CWE-367
Published 2026-04-09 · modified 2026-09-09

CVSS breakdown

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

Attack VectorLLocal
Attack ComplexityHHigh
Privileges RequiredLLow
User InteractionRRequired
ScopeUUnchanged
ConfidentialityHHigh
IntegrityHHigh
AvailabilityHHigh

Timeline

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.

Affected

libcap_project redhat

References

Official: NVD · CVE.org