VulnerabilityCVE-2026-4878WID-SEC-W-2026-1267:CVE-2026-4878WID-SEC-W-2026-3043:CVE-2026-4878
Libcap: libcap: privilege escalation via toctou race condition in cap_set_file()
Not on CISA KEV
Summary
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,
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- BSI CERT-Bund Source: BSI CERT-Bund
- CVE List Source: CVE Program (cve.org)