← Vulnerability feed

Vulnerability record · CVE-2023-0386 · published 22 March 2023

CVE-2023-0386: Linux kernel OverlayFS setuid copy privilege escalation

Debian · Debian Linux

A uid mapping bug in the Linux kernel OverlayFS subsystem lets a local user copy a file with capabilities from a nosuid mount into another mount, bypassing the intended restriction on setuid execution. Because the copied file retains its capabilities, an unprivileged local user can gain elevated privileges on the host.

7.8 CVSS 3.1 High CISA KEV since 17 Jun 2025 EPSS 7.9% · top 5.5% CWE-282 · CWE-282
7.8CVSS 3.1 base score
7.9%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
8Affected product versions listed by NVD
13References
17 Jun 2026Last modified by NVD

Description

A flaw was found in the Linux kernel, where unauthorized access to the execution of the setuid file with capabilities was found in the Linux kernel’s OverlayFS subsystem in how a user copies a capable file from a nosuid mount into another mount. This uid mapping bug allows a local user to escalate their privileges on the system.

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityLocal privilege escalation to root with confirmed active exploitation in CISA KEV, though it requires an existing local account.

What it is

A uid mapping bug in the Linux kernel OverlayFS subsystem lets a local user copy a file with capabilities from a nosuid mount into another mount, bypassing the intended restriction on setuid execution. Because the copied file retains its capabilities, an unprivileged local user can gain elevated privileges on the host.

Impact

An attacker with a local account gains root-level privileges on the affected system, enabling full control of the host, data access and further lateral movement.

Attack surface

Reached locally through OverlayFS mount operations; the CVSS vector (AV:L/PR:L/UI:N) indicates a low-privileged local user is required and no user interaction is needed. No remote or network vector is described.

Exploitation

CVE-2023-0386 is listed in CISA KEV (added 2025-06-17), confirming active exploitation; EPSS 30-day probability is 0.0788 (94th percentile). No ransomware campaign use is documented.

What to do

  • Apply the kernel patch referenced in the git.kernel.org commit and vendor advisories (Debian DSA-5402, NetApp, Canonical) as the first action.
  • Update to a fixed kernel version per your distribution's advisory; do not rely on version numbers not stated in the record.
  • Restrict local shell access and limit unprivileged user accounts on hosts where OverlayFS is enabled.
  • Where patching is not immediately possible, follow vendor mitigation guidance or discontinue use of the affected product per CISA BOD 22-01.
  • Track KEV remediation due date of 2025-07-08 for any remaining exposed systems.

Detection

  • Monitor for unexpected creation or execution of setuid/capability-bearing files in overlay or user-writable mount paths.
  • Alert on privilege escalation attempts involving OverlayFS mount and copy operations by non-root users.
  • Audit for new root-owned processes or shells spawned from unprivileged user sessions.
  • Review kernel and audit logs for overlayfs mount activity correlated with local user accounts.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2023-0386 to the Known Exploited Vulnerabilities catalog on 17 June 2025 as "Linux Kernel Improper Ownership Management Vulnerability". Required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. Federal deadline 8 July 2025.

Affected products

8 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-0386 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2024-54085AMI MegaRAC SPx BMC authentication bypass via Redfish Host InterfaceAMI's SPx BMC implementation contains an authentication bypass reachable remotely through the Redfish Host Interface, classified as CWE-290 (authenti…KEVEPSS 61%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed

Source: NIST National Vulnerability Database (record CVE-2023-0386), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.