Privilege Escalation Vulnerability in libcap: Important Security Update Required

libcap Updated 03 May 2026

Summary

03/05/2026
N/A
Yes i
Medium
6.7

RLSA-2026:12423: Important: libcap security update. Affects libcap versions < 0:2.69-7.el10_1.1. Fixed in 0:2.69-7.el10_1.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Libcap is a critical library used in Linux systems for managing POSIX capabilities, which allow fine-grained control over the privileges of processes. It enables applications to run with limited privileges, enhancing security by minimizing the risk of unauthorized access or actions. However, a recent vulnerability has been identified that could allow attackers to exploit a race condition, leading to privilege escalation.

Vulnerability Detail

The vulnerability, identified as CVE-2026-4878, arises from a Time-of-Check to Time-of-Use (TOCTOU) race condition in the cap_set_file() function of libcap. This flaw can be exploited by an attacker with limited privileges to escalate their access rights, potentially allowing them to perform unauthorized actions on the system. The ramifications of this vulnerability are significant, as it compromises the integrity and security of the system by allowing malicious users to gain elevated privileges.

How To Fix

Minimum fixed version

0:2.69-7.el10_1.1

This is the first release that contains the fix.

sudo dnf update libcap

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users can limit the use of applications that rely on libcap until the package is updated. Additionally, monitoring system logs for unusual activity can help mitigate potential exploitation while waiting for the patch.

Conclusion

The identified vulnerability in libcap poses a significant risk due to its potential for privilege escalation. It is crucial for users to update to the latest patched version to safeguard their systems. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for libcap →

Share this vulnerability

FAQ

CVE-2026-4878 is a vulnerability in the libcap library that allows privilege escalation due to a race condition in the cap_set_file() function.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

If exploited, this vulnerability could allow an attacker to gain elevated privileges, compromising the security and integrity of the system.

Yes, a patched version of libcap is available. Users should update to version 0:2.69-7.el10_1.1 or later to mitigate the risk.

The CVSS score for this vulnerability is 6.7, indicating a medium severity level.

Related vulnerabilities

Recent vulnerabilities recorded for libcap.

How To Fix

Minimum fixed version

0:2.69-7.el10_1.1

This is the first release that contains the fix.

sudo dnf update libcap

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback