MEDIUM 5.5

CVE-2026-53287: Linux Kernel Audit Logging Corruption – CAPSET Capability Miscord

A bug in the Linux kernel's audit logging system incorrectly records capability information when processes change their permissions. When a program modifies its inheritable capabilities—a mechanism used to control privilege escalation during program execution—the audit log incorrectly shows the effective capabilities instead of the inheritable ones. This means attackers could modify a process's inheritable capabilities in preparation for privilege escalation without leaving a clear trace in the audit trail, defeating the purpose of compliance and forensic monitoring. The flaw has existed since 2008.

Source data · NVD / CISA · public domain

CVSS
3.1 · 5.5 MEDIUM · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses (CWE)
Affected products
4 configuration(s)
Published / Modified
2026-06-26 / 2026-07-08

NVD description (verbatim)

In the Linux kernel, the following vulnerability has been resolved: audit: fix incorrect inheritable capability in CAPSET records __audit_log_capset() records the effective capability set into the inheritable field due to a copy-paste error. Every CAPSET audit record therefore reports cap_pi (process inheritable) with the value of cap_effective instead of cap_inheritable. This silently corrupts audit data used for compliance and forensic analysis: an attacker who modifies inheritable capabilities to prepare for a privilege-escalating exec would have the change masked in the audit trail. The bug has been present since the original introduction of CAPSET audit records in 2008.

8 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The Linux kernel function __audit_log_capset() contains a copy-paste error that writes the effective capability set (cap_effective) into the cap_inheritable field of CAPSET audit records. When the kernel logs capability set changes via the audit subsystem, the process inheritable capability set (cap_pi) is populated with the wrong data. This silently corrupts audit data relied upon for compliance, threat detection, and post-incident forensics. The vulnerability exists in the audit logging layer and does not directly enable privilege escalation, but it enables attackers to mask capability modifications that would otherwise be logged.

Business impact

Organizations relying on Linux audit logs for compliance frameworks (SOC 2, PCI-DSS, ISO 27001) and incident response will have incomplete or misleading capability-related evidence. An attacker exploiting this flaw could modify a process's inheritable capabilities—potentially setting up privilege escalation vectors—without the action appearing correctly in audit records. This undermines forensic reconstruction, violates compliance evidence integrity, and creates blind spots in security monitoring. The 18-year-old nature of this bug means it affects all current and recent Linux distributions and deployments.

Affected systems

All Linux kernel versions from the 2008 introduction of CAPSET audit records through current versions are affected. This includes Red Hat Enterprise Linux, Ubuntu, Debian, SUSE, and all other distributions using the affected kernel code. Any system using the audit subsystem to monitor capability changes is vulnerable to silent audit data corruption.

Exploitability

An attacker with local access and sufficient permissions to modify process capabilities (typically requiring CAP_SYS_ADMIN or equivalent) could deliberately change inheritable capabilities without those changes being properly recorded in the audit log. The vulnerability is not network-exploitable and does not directly grant elevated privileges, but it enables obfuscation of capability modifications that serve as prerequisites for privilege escalation exploits. The bug requires local execution and knowledge of capability manipulation, making it a tool for advanced persistent threat actors or privileged insiders attempting to cover their tracks.

Remediation

Patch the kernel to a version that corrects __audit_log_capset() to record cap_inheritable instead of cap_effective in the inheritable field. Verify against the vendor advisory for specific patched kernel versions for your distribution. After patching, no configuration changes are required. Organizations should also review historical audit logs for any CAPSET records to determine whether capability changes were masked during the vulnerability window.

Patch guidance

Obtain a patched Linux kernel from your distribution vendor that includes the fix for CVE-2026-53287. Verify the specific version numbers against your vendor's security advisory (this will vary by distribution). Apply the kernel update using your distribution's standard package manager and reboot to activate the patched kernel. Test audit logging on a non-production system to confirm CAPSET records now correctly report inheritable capabilities.

Detection guidance

Post-patch, audit logs will correctly reflect inheritable capability changes. Review historical CAPSET audit records (ausearch, auditctl) for any period prior to patching—particularly focusing on accounts that subsequently executed privilege escalation attempts or exploits. Cross-reference capability changes with process execution logs and privilege escalation events to identify any masked modifications. Enable continuous auditing of capability changes (auditctl rules for execve and capset) to catch future anomalies.

Why prioritize this

Although the CVSS score is moderate (5.5), the 18-year window of silent audit data corruption creates significant compliance and forensic risk. This is not an availability or confidentiality flaw, but an integrity issue that specifically undermines logging—the detective control relied upon to identify breach activity. Organizations with strict compliance requirements, mature security monitoring, or forensic needs should prioritize patching to restore audit integrity.

Risk score, explained

The CVSS 3.1 score of 5.5 (MEDIUM, AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) reflects local-only attack vector, low complexity, requirement for low privileges, and high impact to availability. However, the 'availability' impact here is availability of trustworthy audit data rather than system availability. The lack of confidentiality or integrity impact on the running system itself keeps the score moderate, but the business impact to forensic and compliance capabilities is disproportionately high.

Frequently asked questions

Does this vulnerability allow direct privilege escalation?

No. CVE-2026-53287 is a logging bug, not a privilege escalation vulnerability. It does not grant elevated privileges by itself. However, it enables an attacker who already has the ability to modify capabilities to hide those modifications from audit records—potentially masking preparation steps for a separate privilege escalation exploit.

Which versions of Linux are affected?

All Linux kernel versions from 2008 to the present are affected, unless patched. This includes every major distribution (Red Hat, Ubuntu, Debian, SUSE, etc.). Check your vendor's security advisory for the specific patched kernel versions available for your distribution and release.

How can I tell if I've been compromised by this?

Review historical audit logs for CAPSET records that appear suspicious or correlate with privilege escalation attempts. Look for capset events followed shortly by successful exploitation or privilege gain. After patching, enable continuous audit logging of capability changes to catch future attempts. Note that audit logs created before patching will not be repairable—only prospective monitoring can benefit.

Is this in the KEV catalog?

No, this vulnerability is not currently tracked in CISA's Known Exploited Vulnerabilities catalog, indicating no evidence of active exploitation in the wild at this time. However, the long-standing nature of the bug and its utility in covering attack tracks means it warrants prompt attention regardless of KEV status.

This analysis is provided for informational purposes to support vulnerability management and incident response decisions. SEC.co does not provide specific legal, compliance, or operational advice. Verify all patch version numbers, vendor statements, and affected product lists against official vendor security advisories before making deployment decisions. CVSS scores and CVE details are accurate as of the publication date; consult the official CVE record and vendor advisories for the most current information. Any references to active exploitation or threat actor behavior are based on available evidence at time of publication and may not represent current threat status. Source: NVD (public-domain), retrieved 2026-08-05. Analysis generated by SEC.co (claude-haiku-4-5).