Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local account on setuid Apptainer host
-
DeliveryEnumerate allowed paths in apptainer.conf
-
ExploitCreate sibling directory extending allowed path prefix
-
ExecutionPlace container image in sibling directory
-
PersistInvoke Apptainer against sibling path
-
ImpactBypass path restriction, execute container
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires all three of the following specific conditions simultaneously: (1) Apptainer must be installed and running in setuid mode - installations using unprivileged user-namespace mode are completely unaffected; (2) the |
| Impact | The NVD CVSS 3.1 score of 4.8 (Medium) with vector AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L accurately reflects the constrained attack surface: local access, low privileges, and limited CIA impact. No EPSS score was provided in the available intelligence, and this CVE is not listed in the CISA KEV catalog, indicating no confirmed active exploitation. The vulnerability is not a remote code execution or privilege escalation path - it is a security control bypass that only matters if an organization explicitly relies on |
| Exploit ScenarioDerived | A local user on an HPC cluster running Apptainer in setuid mode discovers that the sysadmin has configured |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 26, 2026
Apptainer's limit container paths security directive in setuid mode fails to enforce path boundaries correctly because it uses string prefix matching rather than full path-component comparison, allowing local users to run containers from sibling directories whose names begin with an allowed path string. A system configured to allow only /data/safe will inadvertently also permit /data/safe-but-unsafe or any other path sharing that prefix. This affects only installations running Apptainer in setuid mode with the limit container paths directive explicitly configured; no public exploit has been identified at time of analysis, and the vendor-confirmed fix is available in version 1.5.1.
RemediationAI
The primary remediation is to upgrade Apptainer to version 1.5.1, which corrects the path comparison logic to enforce directory-component boundaries. The vendor advisory detailing the fix is at https://github.com/apptainer/apptainer/security/advisories/GHSA-cr2j-534f-mf3g. For environments that cannot immediately upgrade, two workarounds are available with trade-offs: first, disable setuid mode entirely - this eliminates the vulnerable code path but may prevent privileged container operations that require it, impacting workloads that depend on setuid capabilities. Second, remove the limit container paths directive if the path restriction is not a hard security requirement; note that without this control, local users may run containers from any path they have filesystem access to, but the bypass bug is no longer relevant. Administrators should also note that if unrestricted user namespaces are permitted on the host, the limit container paths directive provides no effective security boundary regardless of this vulnerability, per the vendor's own documentation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apptainer (the community successor to Singularity) is a Go-based container runtime widely used in HPC and scientific computing environments. Its setuid execution mode allows unprivileged users to run containers with elevated capabilities. The limit container paths directive in apptainer.conf is a security control allowing sysadmins to restrict which filesystem paths containers may be executed from. The root cause (CWE-22, Path Traversal / improper path handling) is that the path matching logic compares the configured path as a raw string prefix against the requested path, rather than normalizing and comparing full directory-component boundaries. This means any path whose string representation begins with the allowed path string - including sibling directories with extended names - satisfies the check. The affected package is go/github.com/apptainer/apptainer, versions prior to 1.5.1.
Know when the next one hits your stack
- 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
AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Local low-privilege access suffices to exploit the prefix-match bypass; the attacker initiates the container run themselves, requiring no separate user interaction.
Primary rating from Vendor (https://github.com/apptainer/apptainer).
CVSS VectorVendor: https://github.com/apptainer/apptainer
DescriptionCVE.org
Impact
The limit container paths directive in apptainer.conf is intended to allow a system administrator limit the paths from which containers can be run, under setuid mode. Due to incorrect matching of a path string, sibling directories with similar names may incorrectly be allowed.
For example, the configuration:
limit container paths = /data/safeWill also allow containers in /data/safe-but-unsafe to be run.
Patches
The issue is patched in apptainer version 1.5.1.
Workarounds
If developers do not use setuid mode or do not use the limit container paths functionality, then this issue does not affect their installation. Note that, as documented [1], if user namespaces are allowed for unrestricted use then this functionality does not stop users from running any container of their choice.
If developers do use the limit container paths functionality they are advised to update.
Credit
This vulnerability was discovered and disclosed to the Apptainer project by Dave Trudgian of Sylabs.
Resources
[1] https://apptainer.org/docs/admin/latest/configfiles.html#limiting-container-execution
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise High Performance Computing 15 SP7 SUSE Linux Enterprise Module for HPC 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Fixed |
| openSUSE Leap 16.0 | Fixed |
| openSUSE Tumbleweed | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Affected |
| SUSE Linux Enterprise Module for HPC 15 SP7 | Affected |
| SUSE Linux Enterprise Module for HPC 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-78889
GHSA-cr2j-534f-mf3g
NVD
CVE.org
EPSS
Exploit-DB