CVE-2026-4878Libcap: libcap: privilege escalation via toctou race condition in cap_set_file()
Updated under an hour ago ()
Does this affect you?
It affects Red Hat Enterprise Linux 10 and 18 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 6.7 MEDIUM (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-367
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- redhat
- NVD analysis
- Modified
- Record last updated
- Oct 14, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Red Hat Red Hat Enterprise Linux 10 redhat:enterprise_linux | from 0:2.69-7.el10_1.1 not affected | CNA record |
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support redhat:enterprise_linux_eus | from 0:2.69-7.el10_0.1 not affected | CNA record |
from 0:2.48-4.el8_6.1 not affected | CNA record | |
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support redhat:rhel_eus_long_life | from 0:2.48-4.el8_6.1 not affected | CNA record |
from 0:2.48-5.el8_8.1 not affected | CNA record | |
from 0:2.48-5.el8_8.1 not affected | CNA record | |
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support redhat:rhel_eus | from 0:2.48-9.el9_4.1 not affected | CNA record |
Red Hat Red Hat OpenShift Container Platform 4.12 redhat:openshift | from 412.86.202608241157-0 not affected | CNA record |
Red Hat Cert Manager support for Red Hat OpenShift release 1.17 redhat:cert_manager | from 1791371080 not affected | CNA record |
Red Hat Cost Management 4 redhat:cost_management | from 1780946239 not affected | CNA record |
Red Hat Red Hat AI Inference Server 3.2 redhat:ai_inference_server | from 1780681984 not affected | CNA record |
Red Hat Red Hat Discovery 2 redhat:discovery | from 1778101579 not affected | CNA record |
Red Hat Red Hat Hardened Images redhat:hummingbird | from 2.78-1.1.hum1 not affected | CNA record |
Red Hat Red Hat Insights proxy 1.5 redhat:insights_proxy | from 1780420428 not affected | CNA record |
Red Hat Red Hat OpenShift AI 3.4 redhat:openshift_ai | from 1790703542 not affected | CNA record |
Red Hat Red Hat OpenShift distributed tracing 3.9.3 redhat:openshift_distributed_tracing | from 1778056267 not affected | CNA record |
Red Hat Red Hat Update Infrastructure 5 redhat:rhui | from 1779798159 not affected | CNA record |
Red Hat Red Hat Enterprise Linux 10 redhat:enterprise_linux | from 0:2.69-7.el10_1.1 not affected; from 0:2.69-7.el10_2.1 not affected | CISA ADP |
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support redhat:enterprise_linux_eus | from 0:2.69-7.el10_0.1 not affected | CISA ADP |
from 0:2.48-4.el8_6.1 not affected | CISA ADP | |
Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On redhat:rhel_eus_long_life | from 0:2.48-4.el8_6.1 not affected | CISA ADP |
from 0:2.48-5.el8_8.1 not affected | CISA ADP | |
from 0:2.48-5.el8_8.1 not affected | CISA ADP | |
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support redhat:rhel_eus | from 0:2.48-9.el9_4.1 not affected | CISA ADP |
Red Hat Red Hat OpenShift Container Platform 4.12 redhat:openshift | from 412.86.202608241157-0 not affected | CISA ADP |
Red Hat Cost Management 4 redhat:cost_management | from 1780946239 not affected; from 1783539156 not affected | CISA ADP |
Red Hat Red Hat AI Inference Server 3.2 redhat:ai_inference_server | from 1780681984 not affected | CISA ADP |
Red Hat Red Hat Discovery 2 redhat:discovery | from 1778101579 not affected; from 1782159791 not affected | CISA ADP |
Red Hat Red Hat Hardened Images redhat:hummingbird | from 2.78-1.1.hum1 not affected | CISA ADP |
Red Hat Red Hat Insights proxy 1.5 redhat:insights_proxy | from 1780420428 not affected | CISA ADP |
Red Hat Red Hat OpenShift distributed tracing 3.9.3 redhat:openshift_distributed_tracing | from 1778056267 not affected | CISA ADP |
Red Hat Red Hat Update Infrastructure 5 redhat:rhui | from 1779798159 not affected | CISA ADP |
libcap_project libcap libcap_project:libcap | all versions | NVD |
redhat openshift_container_platform redhat:openshift_container_platform | 4.0 | NVD |
redhat enterprise_linux redhat:enterprise_linux | 8.0; 9.0; 10.0 | NVD |
References
- https://access.redhat.com/errata/RHSA-2026:12423vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:12441vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:13285vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:14162vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:14937vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:19130vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:19346vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:19456vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:19458vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:20595vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:21254vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:21275vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:22634vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:22957vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:23233vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:23245vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:24346vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:25044vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:25096vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:25181vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:26542vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:27998vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:28887vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:29197vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:30078vendor-advisory, x-refsource-redhat
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.