CVE-2023-0386 in Canonical Ubuntu Linux and 12 more products
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 o...
Affects 13 products from 4 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 18.04 20.04 22.04 |
| Debian | Debian Linux | 10.0 |
| Linux | Linux Kernel | 6.2 ≥ 5.11, < 5.15.91 ≥ 5.16, < 6.1.9 |
| Netapp | H300S (device and firmware) | No version listed by the source |
| Netapp | H500S (device and firmware) | No version listed by the source |
| Netapp | H700S (device and firmware) | No version listed by the source |
| Netapp | H410S (device and firmware) | No version listed by the source |
| Netapp | H410C (device and firmware) | No version listed by the source |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Yes added 2025-06-17 |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-0386 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-260240-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2023-03-22 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-282: CWE-282
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-282
CAPEC-17 Using Malicious Files via CWE-282
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A privilege escalation vulnerability exists in the Linux kernel's OverlayFS subsystem, allowing a local user to gain unauthorized access to setuid files with capabilities. This can lead to full system compromise. The vulnerability affects multiple Linux distributions and has a public proof of concept, increasing the risk of exploitation.
The vulnerability arises from a flaw in how the OverlayFS subsystem handles the copying of capable files from a nosuid mount to another mount. An attacker with local access can exploit this issue to escalate privileges, potentially leading to full control over the affected system.
Compensating controls AI-drafted, review before use
Implement strict file permissions and monitor for unusual file operations, especially those involving setuid files and OverlayFS mounts.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2023-0386?
A privilege escalation vulnerability exists in the Linux kernel's OverlayFS subsystem, allowing a local user to gain unauthorized access to setuid files with capabilities. This can lead to full system compromise. The vulnerability affects multiple Linux distributions and has a public proof of concept, increasing the risk of exploitation.
What is the CVSS score for CVE-2023-0386?
CVE-2023-0386 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 3.3%.
Is CVE-2023-0386 actively exploited?
Yes. CVE-2023-0386 is in the CISA known-exploited catalog (added 2025-06-17). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2023-0386?
Priority: IMMEDIATE.
What systems are affected by CVE-2023-0386?
CVE-2023-0386 affects Canonical Ubuntu Linux; Debian Debian Linux; Linux Linux Kernel; Netapp H300S, H500S, H700S, H410S, H410C.
What NERC-CIP standard applies to CVE-2023-0386?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 as it allows unauthorized access to critical systems, which could compromise the security of the BES.
What IEC 62443 requirement maps to CVE-2023-0386?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that can be exploited to gain unauthorized access to system resources, which is a critical security concern in ICS environments.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.