CVE-2026-4878
HIGH7.0EPSS 0.01%發布日:2026/4/9修改日:2026/4/28
也稱為:ALPINE-CVE-2026-4878
描述
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.
受影響套件(2)
- Alpine/libcapfrom 0, < 2.78-r0
- Debian/libcap2from 0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |