CVE-2026-4878

HIGH
MEDIUM Priority: 0.01 BB Relevance: 29/100
Published: 2026-04-09 Modified: 2026-10-26 First seen: 2026-10-29 Status: active

Attack Surface

No Interaction Conf. Impact Integ. Impact

CVSS Vector Breakdown

AV: Local
AC: High
PR: Low
UI: None
S: Unchanged
C: High
I: High
A: High

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.

Weakness Classification (1)

References & Advisories (51)

http://www.openwall.com/lists/oss-security/2026/04/09/5
Exploit Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2026/04/09/6
Exploit Mailing List Third Party Advisory
Showing 25 of 51 references

Bug Bounty Relevance

29 / 100
✓ No user interaction

CVSS Score

7.0 / 10.0 v3.1
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS — Exploitation Probability

0.20%
Raw Score 0.002010
Percentile 10.0%
Date 2026-10-28

Intelligence Sources

nvd ref →