Skip to main content

SingularityCE CVE-2026-47215

| EUVDEUVD-2026-78779 MEDIUM
Path Traversal (CWE-22)
2026-06-04 https://github.com/sylabs/singularity GHSA-wqcr-7rf3-f64m
4.8
CVSS 3.1 · Vendor: https://github.com/sylabs/singularity
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker obtains local low-privilege account
  2. Delivery
    Identifies or creates sibling directory matching allowed path string prefix
  3. Exploit
    Places container image in unauthorized sibling directory
  4. Execution
    Invokes Singularity in setuid mode targeting the sibling path
  5. Persist
    strings.HasPrefix authorization check incorrectly passes
  6. Impact
    Container 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 limit container paths directive must be actively configured in singularity.conf - the vendor explicitly states that installations not using this directive are unaffected; (3) a sibling directory whose name begins with the string of an allowed path must be accessible or writable to the attacker (e.g., /data/safe-but-unsafe must exist alongside the whitelisted /data/safe); (4) the attacker must hold a local low-privilege account on the system (CVSS PR:L confirmed); (5) CVSS UI:R indicates user interaction is required, likely meaning an administrator or authorized user must invoke the container execution. Exploitation is bounded to bypassing the path restriction policy - it does not itself grant OS-level root or additional privileges beyond what a legitimately permitted container execution would provide.

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 limit container paths as a meaningful access control - most commonly multi-tenant HPC clusters. For those deployments, the bypass is operationally significant because it allows users to load containers from paths administrators explicitly intended to prohibit. EPSS data was not provided in available intelligence and exploitation probability cannot be independently quantified. The CVE is not in CISA KEV and no POC is publicly available, suggesting this is not being actively exploited at scale. Overall this is a low-to-medium real-world priority: meaningful only in specific HPC multi-tenant setuid deployments using the affected directive, with no remote exploitation path and limited blast radius.

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., /data/safe-but-unsafe/malicious.sif when only /data/safe is whitelisted). The user invokes Singularity in setuid mode targeting that path; the flawed strings.HasPrefix check incorrectly authorizes the path, and the container executes from a location the administrator intended to prohibit. No public proof-of-concept code is known at time of analysis, but the technique is trivially derivable from the public commit diff.

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 – 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

singularity < 4.4.2
SingularityPRO < 4.1.14
SingularityPRO 4.2.0, < 4.3.9

Affected Packages

go github.com/sylabs/singularity no fix
go github.com/sylabs/singularity/v4 fix: 4.4.2
euvd singularity fix: 4.4.2
euvd singularitypro fix: 4.1.14, 4.3.9

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

Vendor (https://github.com/sylabs/singularity) PRIMARY 4.8 MEDIUM
AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
SUSE MEDIUM

Primary rating from Vendor (https://github.com/sylabs/singularity).

CVSS VectorVendor: https://github.com/sylabs/singularity

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

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/safe

Will 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

EPSS Score
0.0%
Top 99% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Vendor 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

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