CVE-2026-4878
CWE-367Published: April 9, 2026· Updated: Apr 13, 2026
Official 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.
Technical Analysis
CVE-2026-4878 requires local access, meaning attackers must already have a foothold on the target system.
Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 6.7.
CVSS v3.1 Vector Breakdown
Exploit & PoC Resources
All References (8)
Quick Facts
Related CVEs (CWE-367)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2026-4878 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts