Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

nvd логотип

CVE-2026-4878

Опубликовано: 09 апр. 2026
Источник: nvd
CVSS3: 6.7
CVSS3: 7
EPSS Низкий

Описание

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.

Уязвимые конфигурации

Конфигурация 1

Одно из

cpe:2.3:a:libcap_project:libcap:-:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*

EPSS

Процентиль: 11%
0.00206
Низкий

6.7 Medium

CVSS3

7 High

CVSS3

Дефекты

CWE-367
CWE-367

Связанные уязвимости

CVSS3: 6.7
ubuntu
4 месяца назад

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.

CVSS3: 6.7
redhat
4 месяца назад

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.

CVSS3: 6.7
msrc
4 месяца назад

Libcap: libcap: privilege escalation via toctou race condition in cap_set_file()

CVSS3: 6.7
debian
4 месяца назад

A flaw was found in libcap. A local unprivileged user can exploit a Ti ...

suse-cvrf
3 месяца назад

Security update for libcap

EPSS

Процентиль: 11%
0.00206
Низкий

6.7 Medium

CVSS3

7 High

CVSS3

Дефекты

CWE-367
CWE-367