Back to CVE records
Medium 6.7Published Apr 9, 2026

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.

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

Affected products
from 0:2.69-7.el10_1.1 not affected
CNA record
from 0:2.69-7.el10_0.1 not affected
CNA record
from 0:2.48-4.el8_6.1 not affected
CNA record
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
from 0:2.48-9.el9_4.1 not affected
CNA record
from 412.86.202608241157-0 not affected
CNA record
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
from 1778101579 not affected
CNA record
from 2.78-1.1.hum1 not affected
CNA record
from 1780420428 not affected
CNA record
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
from 1779798159 not affected
CNA record
from 0:2.69-7.el10_1.1 not affected; from 0:2.69-7.el10_2.1 not affected
CISA ADP
from 0:2.69-7.el10_0.1 not affected
CISA ADP
from 0:2.48-4.el8_6.1 not affected
CISA ADP
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
from 0:2.48-9.el9_4.1 not affected
CISA ADP
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
from 1778101579 not affected; from 1782159791 not affected
CISA ADP
from 2.78-1.1.hum1 not affected
CISA ADP
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
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

  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat

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.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.