Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2026-4878: Local privilege escalation via TOCTOU race in libcap cap_set_file()

Published Apr 9, 2026 · Updated 18 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days3 mentions · peak 2 in a dayToday
CVSS7.0High · v3.1
EPSS0.15%2nd percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
Libcap ProjectRed Hat
IdentifiersCVE-2026-4878CWE-367 · Time-of-check Time-of-use (TOCTOU)…

CVE-2026-4878 is a time-of-check-to-time-of-use race condition in libcap's cap_set_file() function. A local unprivileged attacker with write access to a parent directory can race a file capability update and redirect it to an attacker-controlled file. This permits capabilities to be injected into or stripped from unintended executables, potentially resulting in privilege escalation.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises file capability integrity and can allow an unprivileged local user to escalate privileges. Depending on the affected executable and capabilities applied, exploitation can have high confidentiality, integrity, and availability impacts. Removing capabilities from unintended executables can also interfere with their intended operation.

Mitigation

If you can’t patch tonight, do this now.

Restrict untrusted users' write access to parent directories involved in privileged file capability updates, and avoid performing such updates within attacker-writable directory trees until patched. These measures address the directory-write prerequisite; no vulnerability-specific vendor workaround is documented.

Remediation

Patch, then assume compromise.

Install vendor-patched libcap packages and any affected companion packages. Oracle Linux 9 identifies package release 2.48-10.1 as containing the fix in ELSA-2026-12441; this release identifier is distribution-specific. For affected container deployments, install the vendor's updated images, rebuild dependent images, and update deployment references. For bundled products, deploy the applicable fixed product release.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Libcap ProjectLibcapapplication
Red HatOpenshift Container Platformapplication
Red HatRed Hat Enterprise Linuxoperating_system
FAQ

Frequently asked questions

Is CVE-2026-4878 exploited in the wild?
As of Nov 11, 2026, Mallory has no reports of CVE-2026-4878 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-4878?
Yes. As of Nov 11, 2026, Mallory has reports of a public exploit for CVE-2026-4878.
Is there a patch for CVE-2026-4878?
Install vendor-patched libcap packages and any affected companion packages. Oracle Linux 9 identifies package release 2.48-10.1 as containing the fix in ELSA-2026-12441; this release identifier is distribution-specific.
What products are affected by CVE-2026-4878?
Libcap Project Libcap, Red Hat Openshift Container Platform, and Red Hat Enterprise Linux.
How severe is CVE-2026-4878?
CVE-2026-4878 has a CVSS v3.1 score of 7.0 (High) and an EPSS score of 0.15% (2nd percentile) as of Nov 11, 2026.
Activity feed

Recent activity

61 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
tenable nessus pluginsNews · Nov 9, 2026CentOS Linux 6 [TuxCare] Security Update: libcap / libcap-deve... | Tenable®A race condition in libcap allows a local unprivileged attacker with write access to a parent directory to redirect file capability updates to an attacker-controlled file. Capabilities can be injected into or stripped from unintended executables, potentially leading to privilege escalation. The advisory-level plugin reports exploit availability but does not identify which CVE has an available exploit.Read more ↗tenable nessus pluginsNews · Nov 7, 2026EulerOS Virtualization 2.15.1 : libcap (EulerOS-SA-2026-4645) | Tenable®A local privilege-escalation vulnerability in libcap's cap_set_file() function. An attacker with write access to a parent directory can exploit a race condition to redirect capability updates, injecting capabilities into or stripping them from unintended executables. The advisory identifies affected libcap packages on EulerOS Virtualization 2.15.1 and assigns a CVSS v3 base score of 7.0. Nessus detects exposure using the installed package's reported version rather than testing exploitation.Read more ↗tenable nessus pluginsNews · Nov 7, 2026EulerOS Virtualization 2.15.0 : libcap (EulerOS-SA-2026-4703) | Tenable®A local privilege-escalation vulnerability in libcap affects EulerOS Virtualization 2.15.0. An attacker with write access to a parent directory can exploit a race condition in cap_set_file() to inject or strip capabilities from unintended executables. The reference reports a CVSS v3 base score of 7.0 and available exploits. Updated libcap packages are available, with a patch publication date of November 5, 2026. Nessus detects potential exposure using self-reported package versions rather than testing exploitation.Read more ↗tenable nessus pluginsNews · Oct 23, 2026Oracle Linux 9 : libcap (ELSA-2026-12441) | Tenable®A time-of-check/time-of-use race condition in libcap's cap_set_file() affects libcap and libcap-devel packages on Oracle Linux 9. The advisory assigns a CVSS v3 base score of 7.0, with local access, low privileges, and high attack complexity. Exploits and patched packages are available. Nessus detects affected versions through package-version checks rather than testing exploitation.Read more ↗
+22 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity18Community discussion across Reddit, Mastodon, and other social sources.