Skip to main content

Systemd CVE-2026-40226

| EUVDEUVD-2026-21400 MEDIUM
Use of Less Trusted Source (CWE-348)
2026-04-10 mitre GHSA-hc7r-6254-88w5
6.4
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V6 - Authentication IP-independent access control
Impact

CVSS 6.4 indicates moderate-to-high risk, but real-world exploitation is significantly constrained. Attack Vector Local (AV:L) and Privilege Required High (PR:H) mean only trusted users with administrative capabilities can exploit this; the high attack complexity (AC:H) suggests the crafted config must meet precise structural or timing conditions. CVSS alone does not capture that nspawn is typically deployed in controlled environments (CI/CD, development, trusted hosting scenarios) where an already-privileged user executing the attack represents an insider threat rather than a remote adversary risk. EPSS and KEV status are not provided, but the absence of public exploit code and the requirement for high privilege significantly reduce practical exploitation probability compared to the CVSS score alone. SSVC framing: exploitation is possible but requires non-trivial conditions; technical impact is high (host compromise) if achieved, but exploitability remains bounded by authentication and privilege gates. This is a genuine vulnerability requiring patching, but not a widespread critical risk.

Exploit ScenarioDerived

A system administrator or container orchestration operator (e.g., root or a privileged systemd-nspawn user) with write access to systemd nspawn configuration directories crafts a malicious .nspawn config file with specially-formatted parameters that bypass namespace validation logic. When nspawn parses this config during container startup, the vulnerability allows the attacker to disable or modify isolation restrictions, granting container processes access to the host's root filesystem, network interfaces, and privileged system calls. This enables the attacker to exfiltrate sensitive data, modify host system files, or inject malicious code into the host environment.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 10, 2026

Escape-to-host vulnerability in systemd nspawn (versions 233-259) allows local privileged users to break container isolation via a crafted optional config file, enabling arbitrary code execution on the host system. CVSS 6.4 reflects high integrity and confidentiality impact but requires high privilege and difficult attack conditions. No public exploit code or active exploitation has been confirmed at the time of analysis.

RemediationAI

Vendor-released patch: systemd version 260 and later. Affected users should upgrade systemd immediately to version 260 or newer via their distribution's package manager (e.g., apt upgrade systemd on Debian/Ubuntu, dnf upgrade systemd on Fedora/RHEL). Users unable to upgrade immediately should restrict file permissions on nspawn configuration directories (/etc/systemd/nspawn/, /run/systemd/nspawn/, and user-local equivalents) to prevent unauthorized creation or modification of container config files by non-root users. Refer to GitHub Security Advisory GHSA-9mj4-rrc3-gjcx (https://github.com/systemd/systemd/security/advisories/GHSA-9mj4-rrc3-gjcx) for detailed advisory and additional context.

Affected VersionsENISA

systemd 233 <260

Affected Packages

euvd systemd fix: 260

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

systemd's nspawn is a lightweight container runtime that isolates processes using Linux namespaces and cgroups. The vulnerability resides in nspawn's config file parsing logic (CWE-348: Incorrect Calculation of Buffer Size for String Copy), where insufficient validation of optional configuration parameters allows a malicious config to manipulate namespace boundaries or resource restrictions. An attacker with high privileges (root or systemd-nspawn user) within the container or with write access to nspawn configuration directories can craft a config file that bypasses containerization controls, granting access to the host filesystem, network, and process space. The affected CPE cpe:2.3:a:systemd:systemd:*:*:*:*:*:*:*:* spans all systemd installations using nspawn; the version range 233-259 is vulnerable.

Know when Systemd gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 6.4 MEDIUM
AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
SUSE MEDIUM
Red Hat 6.4 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Apr 16, 2026 - 05:29 EUVD
260
CVE Published
Apr 10, 2026 - 15:18 nvd
MEDIUM 6.4

DescriptionCVE.org

In nspawn in systemd 233 through 259 before 260, an escape-to-host action can occur via a crafted optional config file.

Threat Intelligence Overview

EPSS Score
0.0%
Top 100% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2015-7510 CRITICAL POC
9.8 Sep 25

Stack-based buffer overflow in the getpwnam and getgrnam functions of the NSS module nss-mymachines in systemd. Rated cr

CVE-2013-4391 HIGH POC
7.5 Oct 28

Integer overflow in the valid_user_field function in journal/journald-native.c in systemd allows remote attackers to cau

CVE-2023-26604 HIGH POC
7.8 Mar 03

systemd before 247 does not adequately block local privilege escalation for some Sudo configurations, e.g., plausible su

CVE-2016-10156 HIGH POC
7.8 Jan 23

A flaw in systemd v228 in /src/basic/fs-util.c caused world writable suid files to be created when using the systemd tim

CVE-2019-3844 HIGH POC
7.8 Apr 26

It was discovered that a systemd service that uses DynamicUser property can get new privileges through the execution of

CVE-2019-3843 HIGH POC
7.8 Apr 26

It was discovered that a systemd service that uses DynamicUser property can create a SUID/SGID binary that would be allo

CVE-2018-15686 HIGH POC
7.8 Oct 26

A vulnerability in unit_deserialize of systemd allows an attacker to supply arbitrary state across systemd re-execution

CVE-2018-6954 HIGH POC
7.8 Feb 13

systemd-tmpfiles in systemd through 237 mishandles symlinks present in non-terminal path components, which allows local

CVE-2021-33910 MEDIUM POC
5.5 Jul 20

basic/unit-name.c in systemd prior to 246.15, 247.8, 248.5, and 249.1 has a Memory Allocation with an Excessive Size Val

CVE-2019-3842 HIGH POC
7.0 Apr 09

In systemd before v242-rc4, it was discovered that pam_systemd does not properly sanitize the environment before using t

CVE-2018-15687 HIGH POC
7.0 Oct 26

A race condition in chown_one() of systemd allows an attacker to cause systemd to set arbitrary permissions on arbitrary

CVE-2017-1000082 CRITICAL
9.8 Jul 07

systemd v233 and earlier fails to safely parse usernames starting with a numeric digit (e.g. Rated critical severity (CV

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Micro 5.2 Affected
SUSE Linux Enterprise Micro 5.3 Affected
SUSE Linux Enterprise Micro 5.4 Affected
SUSE Linux Enterprise Micro 5.5 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy