Skip to content
Noroxi
NVD / CVE Program· CNA redhat

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

Noroxi assessment

Priority: Monitor (action score 28/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.20% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. Special conditions such as timing or configuration are required.
  • Fixed version: azl3 libcap 2.69-13 on Azure Linux 3.0 2.69-14; azl3 libcap 2.69-14 on Azure Linux 3.0 2.69-14; cbl2 libcap 2.60-7 on CBL Mariner 2.0 2.60-8.

Low priority for now. Upgrade to azl3 libcap 2.69-13 on Azure Linux 3.0 2.69-14; azl3 libcap 2.69-14 on Azure Linux 3.0 2.69-14; cbl2 libcap 2.60-7 on CBL Mariner 2.0 2.60-8 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

HighCVSS 7.0 · v3.1—No exploit Fix available
Published
Apr 9, 2026
Updated
Nov 4, 2026
EPSS
0.2% · 11th percentile

Report tools

JSON

Action score

28

Monitor

Low priority for now.

CVSS
28 / 40 · 7.0 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
7.0
CNA · redhat
6.7
0.3 point gap

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

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2026-4878

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
libcap projectlibcap
redhatopenshift container platform
redhatenterprise linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • libcap project libcapall versions
  • redhat enterprise linux10.0
  • redhat enterprise linux8.0
  • redhat enterprise linux9.0
  • redhat openshift container platform4.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • Red Hat Cert Manager support for Red Hat OpenShift release 1.17

    • 1791371080 and laternot affected · rpm
    • 1791371069 and laternot affected · rpm
    • 1791788287 and laternot affected · rpm
    • 1791970484 and laternot affected · rpm
  • Red Hat Cert Manager support for Red Hat OpenShift release 1.18

    • 1791459707 and laternot affected · rpm
    • 1791459711 and laternot affected · rpm
    • 1791459759 and laternot affected · rpm
    • 1789029076 and laternot affected · rpm
    • 1791966259 and laternot affected · rpm
  • Red Hat Cert Manager support for Red Hat OpenShift release 1.20

    • 1790598593 and laternot affected · rpm
  • Red Hat Cost Management 4

    • 1780946239 and laternot affected · rpm
    • 1783539156 and laternot affected · rpm
  • Red Hat Red Hat AI Inference Server 3.2

    • 1780681984 and laternot affected · rpm
  • Red Hat Red Hat AI Inference Server 3.3

    • 1782352950 and laternot affected · rpm
    • 1782352919 and laternot affected · rpm
    • 1782353093 and laternot affected · rpm
    • 1782352847 and laternot affected · rpm
  • Red Hat Red Hat Discovery 2

    • 1778101579 and laternot affected · rpm
    • 1778156756 and laternot affected · rpm
    • 1782159791 and laternot affected · rpm
    • 1782166952 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 10

    • 0:2.69-7.el10_1.1 and laternot affected · rpm
    • 0:2.69-7.el10_2.1 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support

    • 0:2.69-7.el10_0.1 and laternot affected · rpm
  • Red Hat Red Hat Enterprise Linux 6

    • all versionsunknown
    • all versionsunknown
  • Red Hat Red Hat Enterprise Linux 7

    • all versionsunknown
    • all versionsunknown
  • Red Hat Red Hat Enterprise Linux 8

    • 0:2.48-6.el8_10.1 and laternot affected · rpm

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:10libcapbefore 2.69-7.el10_1.12.69-7.el10_1.1
AlmaLinux:10libcapbefore 2.69-7.el10_2.12.69-7.el10_2.1
AlmaLinux:10libcap-develbefore 2.69-7.el10_2.12.69-7.el10_2.1
AlmaLinux:10libcap-develbefore 2.69-7.el10_1.12.69-7.el10_1.1
AlmaLinux:8libcapbefore 2.48-6.el8_10.12.48-6.el8_10.1
AlmaLinux:8libcap-develbefore 2.48-6.el8_10.12.48-6.el8_10.1
AlmaLinux:9libcapbefore 2.48-10.el9_8.12.48-10.el9_8.1
AlmaLinux:9libcapbefore 2.48-10.el9_7.12.48-10.el9_7.1
AlmaLinux:9libcap-develbefore 2.48-10.el9_8.12.48-10.el9_8.1
AlmaLinux:9libcap-develbefore 2.48-10.el9_7.12.48-10.el9_7.1
Alpine:v3.20libcapbefore 2.78-r02.78-r0
Debian:12libcap2before 1:2.66-4+deb12u31:2.66-4+deb12u3
Debian:13libcap2before 1:2.75-10+deb13u11:2.75-10+deb13u1
Debian:14libcap2before 1:2.78-11:2.78-1
openSUSE:Leap 16.0libcapbefore 2.73-160000.3.12.73-160000.3.1
openSUSE:Tumbleweedlibcapbefore 2.78-1.12.78-1.1
Red Hat:enterprise_linux_eus:10.0libcapbefore 0:2.69-7.el10_0.10:2.69-7.el10_0.1
Red Hat:enterprise_linux_eus:10.0libcap-debuginfobefore 0:2.69-7.el10_0.10:2.69-7.el10_0.1
Red Hat:enterprise_linux_eus:10.0libcap-debugsourcebefore 0:2.69-7.el10_0.10:2.69-7.el10_0.1
Red Hat:enterprise_linux_eus:10.0libcap-develbefore 0:2.69-7.el10_0.10:2.69-7.el10_0.1
Red Hat:enterprise_linux:10.1libcapbefore 0:2.69-7.el10_1.10:2.69-7.el10_1.1
Red Hat:enterprise_linux:10.1libcap-debuginfobefore 0:2.69-7.el10_1.10:2.69-7.el10_1.1
Red Hat:enterprise_linux:10.1libcap-debugsourcebefore 0:2.69-7.el10_1.10:2.69-7.el10_1.1
Red Hat:enterprise_linux:10.1libcap-develbefore 0:2.69-7.el10_1.10:2.69-7.el10_1.1

+47

Other highest-scoring records for the same primary product.

  • CVE-2023-2603A vulnerability was found in libcap.
    31Monitor
  • CVE-2023-2602A vulnerability was found in the pthread_create() function in libcap.
    13Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
azl3 libcap 2.69-13 on Azure Linux 3.02.69-14 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 libcap 2.69-14 on Azure Linux 3.02.69-14 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 libcap 2.60-7 on CBL Mariner 2.02.60-8 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 libcap 2.60-7 on CBL-Mariner 2.02.60-8 · Release NotesMicrosoft (MSRC)
almalinux:libcap2.69-7.el10_1.1 · AlmaLinux:10Package registry (OSV)
almalinux:libcap-devel2.69-7.el10_1.1 · AlmaLinux:10Package registry (OSV)
alpine:libcap2.78-r0 · Alpine:v3.20Package registry (OSV)
debian:libcap21:2.66-4+deb12u3 · Debian:12Package registry (OSV)
opensuse:libcap2.78-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:captree0:2.78-1.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
red hat:libcap0:2.69-7.el10_1.1 · Red Hat:enterprise_linux:10.1Package registry (OSV)
red hat:libcap-debuginfo0:2.69-7.el10_1.1 · Red Hat:enterprise_linux:10.1Package registry (OSV)
red hat:libcap-debugsource0:2.69-7.el10_1.1 · Red Hat:enterprise_linux:10.1Package registry (OSV)
red hat:libcap-devel0:2.69-7.el10_1.1 · Red Hat:enterprise_linux:10.1Package registry (OSV)
red hat:libcap-static0:2.78-1.1.hum1 · Red Hat:hummingbird:1Package registry (OSV)
rocky linux:libcap0:2.69-7.el10_1.1 · Rocky Linux:10Package registry (OSV)
suse:libcap2.63-150400.3.6.1 · SUSE:Linux Enterprise Micro 5.3Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

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

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records