Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker obtains local low-privilege account
-
DeliveryIdentifies or creates sibling directory matching allowed path string prefix
-
ExploitPlaces container image in unauthorized sibling directory
-
ExecutionInvokes Singularity in setuid mode targeting the sibling path
-
Persiststrings.HasPrefix authorization check incorrectly passes
-
ImpactContainer executes from administrator-restricted location
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 of the following: (1) Singularity must be deployed in setuid mode - rootless or user-namespace-only deployments are not affected by this specific flaw; (2) the |
| Impact | The CVSS 4.8 (Medium) score accurately reflects a constrained attack surface: AV:L requires local system access, PR:L confirms a low-privilege authenticated account is needed, UI:R indicates user interaction is required, the scope is unchanged (S:U), and CIA impacts are all Low. This is a security control bypass rather than a direct privilege escalation or code execution vulnerability. Real-world risk is tightly scoped to environments that (a) run Singularity in setuid mode and (b) rely on |
| Exploit ScenarioDerived | A local user on a shared HPC system with a standard low-privilege account places or accesses a container image in a directory whose name is a string extension of an administrator-allowed path (e.g., |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 04, 2026
Path restriction bypass in SingularityCE allows local authenticated low-privilege users to execute containers from directories whose names share a string prefix with administrator-configured allowed paths, defeating the limit container paths security control in setuid mode. The flaw exists only when this directive is actively configured in singularity.conf; installations not using the directive are entirely unaffected per the vendor advisory. No public exploit identified at time of analysis, and the CVE is not listed in CISA KEV.
RemediationAI
Upgrade SingularityCE to version 4.4.2 or later (release at https://github.com/sylabs/singularity/releases/tag/v4.4.2) and upgrade SingularityPRO to version 4.3.9 or 4.1.14 or later, as confirmed in the vendor advisory at https://github.com/sylabs/singularity/security/advisories/GHSA-wqcr-7rf3-f64m. The upstream code fix is available at https://github.com/sylabs/singularity/commit/c08791793e843d4c9c1f2fc1d9d12abef747378f. For installations that cannot immediately upgrade, the vendor-recommended workaround is to remove the limit container paths directive from singularity.conf entirely - however, this trade-off is significant: it eliminates the path restriction mechanism completely, relying instead on OS-level filesystem permissions and ACLs to prevent users from placing container images in unauthorized directories. Administrators should evaluate whether native filesystem controls alone provide adequate containment before adopting this workaround. Additionally, review the documented limitations for user namespace mode at https://docs.sylabs.io/guides/latest/admin-guide/configfiles.html#limiting-container-execution.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 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
The root cause is CWE-22 (Improper Limitation of a Pathname), specifically an incorrect path authorization algorithm in the AuthorizedPath function within pkg/image/image.go. The original code used strings.HasPrefix(dirname, match) to determine whether a container image path falls within an administrator-specified allowed directory. Because this is a raw string comparison rather than a filesystem hierarchy check, any sibling directory whose name begins with the allowed path string (e.g., /data/safe-but-unsafe against allowed /data/safe) would incorrectly pass authorization. The upstream fix replaces strings.HasPrefix with filepath.Rel() combined with filepath.IsLocal(), which properly checks whether a path is rooted within the allowed directory tree and respects path boundaries. Affected Go packages are pkg:go/github.com/sylabs/singularity/v4 (versions < 4.4.2) and the legacy pkg:go/github.com/sylabs/singularity module. The flaw only manifests under setuid execution mode; rootless/user-namespace mode has separate documented limitations noted in the admin guide.
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
Primary rating from Vendor (https://github.com/sylabs/singularity).
CVSS VectorVendor: https://github.com/sylabs/singularity
DescriptionCVE.org
Impact
The limit container paths directive in singularity.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
This issue is patched in SingularityCE 4.4.2 and SingularityPRO 4.3.9 / 4.1.14
Workarounds
If you do not use the limit container paths functionality, then this issue does not affect your installation.
If you do use the limit container paths functionality then you must update. Please also review the documented limitations when user namespaces are enabled [1].
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 Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-78779
GHSA-wqcr-7rf3-f64m
NVD
CVE.org
EPSS
Exploit-DB