CVE-2026-4878

HighCVSS 7.0/10Last modified Nov 4, 2026

Description

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.

Metrics

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

Weakness enumeration

Affected software

VendorProductVersions
Red HatRed Hat Enterprise Linux 10—
Red HatRed Hat Enterprise Linux 10—
Red HatRed Hat Enterprise Linux 10.0 Extended Update Support—
Red HatRed Hat Enterprise Linux 8—
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support—
Red HatRed Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On—
Red HatRed Hat Enterprise Linux 8.8 Telecommunications Update Service—
Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions—
Red HatRed Hat Enterprise Linux 9—
Red HatRed Hat Enterprise Linux 9—
Red HatRed Hat Enterprise Linux 9—
Red HatRed Hat Enterprise Linux 9—
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions—
Red HatRed Hat Enterprise Linux 9.4 Extended Update Support—
Red HatRed Hat Enterprise Linux 9.6 Extended Update Support—
Red HatRed Hat OpenShift Container Platform 4.12—
Red HatRed Hat OpenShift Container Platform 4.13—
Red HatRed Hat OpenShift Container Platform 4.14—
Red HatRed Hat OpenShift Container Platform 4.15—
Red HatRed Hat OpenShift Container Platform 4.16—
Red HatRed Hat OpenShift Container Platform 4.17—
Red HatRed Hat OpenShift Container Platform 4.18—
Red HatRed Hat OpenShift Container Platform 4.19—
Red HatCert Manager support for Red Hat OpenShift release 1.17—
Red HatCert Manager support for Red Hat OpenShift release 1.17—
Red HatCert Manager support for Red Hat OpenShift release 1.17—
Red HatCert Manager support for Red Hat OpenShift release 1.17—
Red HatCert Manager support for Red Hat OpenShift release 1.18—
Red HatCert Manager support for Red Hat OpenShift release 1.18—
Red HatCert Manager support for Red Hat OpenShift release 1.18—
Red HatCert Manager support for Red Hat OpenShift release 1.18—
Red HatCert Manager support for Red Hat OpenShift release 1.18—
Red HatCert Manager support for Red Hat OpenShift release 1.20—
Red HatCost Management 4—
Red HatCost Management 4—
Red HatRed Hat AI Inference Server 3.2—
Red HatRed Hat AI Inference Server 3.3—
Red HatRed Hat AI Inference Server 3.3—
Red HatRed Hat AI Inference Server 3.3—
Red HatRed Hat AI Inference Server 3.3—
Red HatRed Hat Discovery 2—
Red HatRed Hat Discovery 2—
Red HatRed Hat Discovery 2—
Red HatRed Hat Discovery 2—
Red HatRed Hat Hardened Images—
Red HatRed Hat Insights proxy 1.5—
Red HatRed Hat OpenShift AI 3.4—
Red HatRed Hat OpenShift distributed tracing 3.9.3—
Red HatRed Hat OpenShift distributed tracing 3.9.3—
Red HatRed Hat OpenShift distributed tracing 3.9.3—

References

Timeline

Published
Apr 9, 2026
Last modified
Nov 4, 2026
NVD status
Modified

Related CVEs from 2026

CVE-2026-487808.2Forem is open source software for building communities. Prior to commit a2ab6d4, a maliciously crafted email address could allow an attackerCVE-2026-487819.9Postiz is an AI social media scheduling tool. In versions prior to 2.21.8, the Skool integration callback signed an attacker-controlled JSONCVE-2026-487826.8Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. In versions 1.56.0 through 1.101.0, 2.0.CVE-2026-487834.8Postiz is an AI social media scheduling tool. Versions prior to 2.21.8 contained an unauthenticated endpoint that accepted a signed token anCVE-2026-487846.1Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 5.4.53, 6.4.41, 7.4.13, and 8.0.1CVE-2026-487854.8Apptainer is an open source container platform. Prior to version 1.5.1, Image.AuthorizedPath applies plain string-prefix matching to the limCVE-2026-487866.5Fleet is an open-source device management platform built on osquery. In versions prior to 4.87.0, the target search endpoint (POST /api/lateCVE-2026-487877.4gin-vue-admin is an AI-assisted basic development platform. In version 2.9.1, an authenticated attacker with access to the code-generation fCVE-2026-487888.2Remark42 is a self-hosted comment engine for blogs, articles, or any other place where readers can add comments. Versions 1.6.0 through 1.15CVE-2026-487894.3AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during chatting. Prior to 1.13.0,CVE-2026-48794.3GitLab has remediated an issue in GitLab EE affecting all versions from 16.0 before 19.0.6, 19.1 before 19.1.4, and 19.2 before 19.2.2 that CVE-2026-487905.5Turso CLI is the command line interface (CLI) to the open-source database Turso. Versions prior to 1.0.26 persist the user's Turso platform