LiveActive security incident?Get immediate response
CVE Record

CVE-2026-4878: Libcap: libcap: privilege escalation via toctou race condition in cap_set_file()

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.

MediumCVSS 6.7Not KEV-listedUpdated
Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-367: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Privilege behavior lookup

The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

Container behavior lookup

The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-4878 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.7 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
7Timeline events
3ADP providers
44Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.7CVSS 3.1MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H0.85.9redhat
6.7CVSS 3.1MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H0.85.9redhat-SADP

Vulnerability scoring details

Base CVSS 3.1 score

6.7Medium
CVSS 3.1 vector shape for CVE-2026-4878Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Reported to Red Hat.

  3. Source timelineredhat

    Reported to Red Hat.

  4. ADP timelineredhat-SADP

    Made public.

  5. Source timelineredhat

    Made public.

  6. CVE publishedCVE Program

    The CVE record was published.

  7. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CVECVE Program Container
CISA-ADPCISA ADP Vulnrichment
other:ssvc
redhat-SADPlibcap: libcap: Privilege escalation via TOCTOU race condition in cap_set_file()
other:Red Hat severity ratingcvssV3_1
  • 2026-03-26T06:56:21.213Z: Reported to Red Hat.
  • 2026-04-06T00:00:00.000Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Red HatRed Hat Enterprise Linux 10libcap, 0:2.69-7.el10_1.1affected
Red HatRed Hat Enterprise Linux 10libcap, 0:2.69-7.el10_2.1affected
Red HatRed Hat Enterprise Linux 10.0 Extended Update Supportlibcap, 0:2.69-7.el10_0.1affected
Red HatRed Hat Enterprise Linux 8libcap, 0:2.48-6.el8_10.1affected
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportlibcap, 0:2.48-4.el8_6.1affected
Red HatRed Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onlibcap, 0:2.48-4.el8_6.1affected
Red HatRed Hat Enterprise Linux 8.8 Telecommunications Update Servicelibcap, 0:2.48-5.el8_8.1affected
Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutionslibcap, 0:2.48-5.el8_8.1affected
Red HatRed Hat Enterprise Linux 9libcap, 0:2.48-10.el9_7.1affected
Red HatRed Hat Enterprise Linux 9libcap, 0:2.48-10.el9_8.1affected
Red HatRed Hat Enterprise Linux 9libcap, 0:2.48-10.el9_7.1affected
Red HatRed Hat Enterprise Linux 9libcap, 0:2.48-10.el9_8.1affected
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutionslibcap, 0:2.48-9.el9_2.1affected
Red HatRed Hat Enterprise Linux 9.4 Extended Update Supportlibcap, 0:2.48-9.el9_4.1affected
Red HatRed Hat Enterprise Linux 9.6 Extended Update Supportlibcap, 0:2.48-9.el9_6.1affected
Red HatRed Hat OpenShift Container Platform 4.12openshift/ose-rhel-coreos-8, 412.86.202608241157-0affected
Red HatRed Hat OpenShift Container Platform 4.13openshift/ose-rhel-coreos-9, 413.92.202606160406-0affected
Red HatRed Hat OpenShift Container Platform 4.14openshift/ose-rhel-coreos-9, 414.92.202606231112-0affected
Red HatRed Hat OpenShift Container Platform 4.15openshift/ose-rhel-coreos-9, 415.92.202606030318-0affected
Red HatRed Hat OpenShift Container Platform 4.16openshift/ose-rhel-coreos-9, 416.94.202606051757-0affected
Red HatRed Hat OpenShift Container Platform 4.17openshift/ose-rhel-coreos-9, 417.94.202606250942-0affected
Red HatRed Hat OpenShift Container Platform 4.18openshift/ose-rhel-coreos-9, 418.94.202606051320-0affected
Red HatRed Hat OpenShift Container Platform 4.19openshift/ose-rhel-coreos-9, 4.19.9.6.202606031700-0affected
Red HatCert Manager support for Red Hat OpenShift release 1.17cert-manager/jetstack-cert-manager-acmesolver-rhel9, 1791371080affected
Red HatCert Manager support for Red Hat OpenShift release 1.17cert-manager/jetstack-cert-manager-rhel9, 1791371069affected
Red HatCert Manager support for Red Hat OpenShift release 1.17cert-manager/cert-manager-operator-rhel9, 1791788287affected
Red HatCert Manager support for Red Hat OpenShift release 1.17cert-manager/cert-manager-operator-bundle, 1791970484affected
Red HatCert Manager support for Red Hat OpenShift release 1.18cert-manager/jetstack-cert-manager-acmesolver-rhel9, 1791459707affected
Red HatCert Manager support for Red Hat OpenShift release 1.18cert-manager/jetstack-cert-manager-rhel9, 1791459711affected
Red HatCert Manager support for Red Hat OpenShift release 1.18cert-manager/cert-manager-istio-csr-rhel9, 1791459759affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-367 · source CWE mapping

Time-of-check Time-of-use (TOCTOU) Race Condition

Time-of-check Time-of-use (TOCTOU) Race Condition represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.