Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2026-4878

6.7 · MEDIUM
Published Apr 9, 2026 libcap_project CWE-367

Overview

CVE-2026-4878 is a medium-severity vulnerability affecting libcap_project libcap. It was published on April 9, 2026 and has a CVSS 3.1 base score of 6.7 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from libcap_project. Update libcap to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status

Frequently Asked Questions

What is CVE-2026-4878?

CVE-2026-4878 is a medium-severity vulnerability affecting libcap_project libcap. It was published on April 9, 2026 and has a CVSS 3.1 base score of 6.7 (MEDIUM).

How severe is CVE-2026-4878?

This vulnerability has a CVSS 3.1 base score of 6.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2026-4878?

Check the references section for vendor advisories and patches from libcap_project. Update libcap to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-4878?

CyberStrike's AI-powered security agents can automatically detect CVE-2026-4878 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.