CVE-2026-40226 in Systemd Project Systemd
In nspawn in systemd 233 through 259 before 260, an escape-to-host action can occur via a crafted optional config file.
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, high complexity, high 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 |
|---|---|---|
| Systemd Project | Systemd | ≥ 233, < 257.12 ≥ 258, < 258.6 ≥ 259, < 259.4 |
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.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In nspawn in systemd 233 through 259 before 260, an escape-to-host action can occur via a crafted optional config file.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-40226 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-152206-M |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Published | 2026-04-10 |
| Last modified | 2026-04-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-348: CWE-348
Related attack patterns (CAPEC)
CAPEC-76 Manipulating Web Input to File System Calls via CWE-348
CAPEC-85 AJAX Footprinting via CWE-348
CAPEC-142 DNS Cache Poisoning via CWE-348
CAPEC-73 User-Controlled Filename via CWE-348
CAPEC-141 Cache Poisoning via CWE-348
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in nspawn in systemd versions 233 through 259 before 260 allows an escape-to-host action via a crafted optional config file.
An attacker can exploit this vulnerability by creating a specially crafted configuration file that can be used to escape from the nspawn container to the host system, potentially gaining unauthorized access.
Questions
What is CVE-2026-40226?
A vulnerability in nspawn in systemd versions 233 through 259 before 260 allows an escape-to-host action via a crafted optional config file.
What is the CVSS score for CVE-2026-40226?
CVE-2026-40226 has CVSS 6.4 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.1%.
Is CVE-2026-40226 actively exploited?
No confirmed active exploitation of CVE-2026-40226 as of 2026-05-30.
How do I remediate CVE-2026-40226?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2026-40226?
CVE-2026-40226 affects Systemd Project Systemd.
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":"Systemd Project","product":"Systemd","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-04-17.