CVE-2026-4878
MEDIUMA 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,...
Full CISO analysis pending enrichment.
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| vLLM | pip | — | No patch |
| vLLM | pip | — | No patch |
| vLLM | pip | — | No patch |
| compat-libcap1 | — | — | No patch |
| costmanagement/costmanagement-metrics-rhel9-operator | — | — | No patch |
| discovery/discovery-server-rhel9 | — | — | No patch |
| discovery/discovery-ui-rhel9 | — | — | No patch |
| insights-proxy/insights-proxy-container-rhel9 | — | — | No patch |
| libcap | — | — | No patch |
| libcap-main | — | — | No patch |
| rhaiis/model-opt-cuda-rhel9 | — | — | No patch |
| rhcos | — | — | No patch |
| rhosdt/opentelemetry-collector-rhel9 | — | — | No patch |
| rhosdt/opentelemetry-rhel9-operator | — | — | No patch |
| rhosdt/opentelemetry-target-allocator-rhel9 | — | — | No patch |
| rhui5/cds-rhel9 | — | — | No patch |
| rhui5/haproxy-rhel9 | — | — | No patch |
| rhui5/installer-rhel9 | — | — | No patch |
| rhui5/rhua-rhel9 | — | — | No patch |
How severe is it?
What is the attack surface?
What should I do?
No patch available
Monitor for updates. Consider compensating controls or temporary mitigations.
Which compliance frameworks are affected?
Compliance analysis pending. Sign in for full compliance mapping when available.
Frequently Asked Questions
What is 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.
Is CVE-2026-4878 actively exploited?
No confirmed active exploitation of CVE-2026-4878 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-4878?
No patch is currently available. Monitor vendor advisories for updates.
What is the CVSS score for CVE-2026-4878?
CVE-2026-4878 has a CVSS v3.1 base score of 6.7 (MEDIUM).
What are the technical details?
Original Advisory
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.
Weaknesses (CWE)
CWE-367 — Time-of-check Time-of-use (TOCTOU) Race Condition: The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.
- [Implementation] The most basic advice for TOCTOU vulnerabilities is to not perform a check before the use. This does not resolve the underlying issue of the execution of a function on a resource whose state and identity cannot be assured, but it does help to limit the false sense of security given by the check.
- [Implementation] When the file being altered is owned by the current user and group, set the effective gid and uid to that of the current user and group when executing this statement.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H References
- access.redhat.com/errata/RHSA-2026:12423 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:12441 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:13285 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:14162 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:14937 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:19130 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:19346 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:19456 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:19458 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:20595 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:21254 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:21275 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:22634 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:22957 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:23233 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:23245 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:24346 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:25044 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:25096 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:25181 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:26542 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:27998 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:29197 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:30078 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:30087 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:30088 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:30089 vendor-advisory x_refsource_REDHAT
- access.redhat.com/errata/RHSA-2026:7473 vendor-advisory x_refsource_REDHAT
- access.redhat.com/security/cve/CVE-2026-4878 vdb-entry x_refsource_REDHAT
- bugzilla.redhat.com/show_bug.cgi
- bugzilla.redhat.com/show_bug.cgi issue-tracking x_refsource_REDHAT
Timeline
Related Vulnerabilities
CVE-2024-9053 9.8 vllm: RCE via unsafe pickle deserialization in RPC server
Same package: vllm CVE-2026-25960 9.8 vllm: SSRF allows internal network access
Same package: vllm CVE-2025-47277 9.8 vLLM: RCE via exposed TCPStore in distributed inference
Same package: vllm CVE-2024-11041 9.8 vllm: RCE via unsafe pickle deserialization in MessageQueue
Same package: vllm CVE-2025-32444 9.8 vLLM: RCE via pickle deserialization on ZeroMQ
Same package: vllm