CVE-2026-47215
JSON

4.8medium

Singularity: Incorrect path matching for 'limit container paths' directive

Severity
4.8medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-wqcr-7rf3-f64mGO-2026-5715

Description

SingularityCE and SingularityPRO are open source container platforms. Prior to SingularityCE 4.4.2 and SingularityPRO 4.3.9 and 4.1.14, incorrect path-string matching in the singularity.conf limit container paths directive allows a container in a sibling directory such as /data/safe-but-unsafe to be run when /data/safe is allowed under setuid mode. This permits a user to run a container from outside the administrator's configured path allowlist. Installations that do not use limit container paths are not affected. This issue is fixed in SingularityCE 4.4.2 and SingularityPRO 4.3.9 and 4.1.14.

Affected

Product or packageVersionsReported by
sylabs singularity< 4.4.2CVE List
sylabs SingularityPRO< 4.1.14, >= 4.2.0, < 4.3.9CVE List
github.com/sylabs/singularity/v4 (Go)before 4.4.2GitHub Advisory Database, Go Vulnerability Database
github.com/sylabs/singularity (Go)up to 3.1.1, all versionsGitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M4.8medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
GitHub4.8medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

SingularityCE and SingularityPRO are open source container platforms. Prior to SingularityCE 4.4.2 and SingularityPRO 4.3.9 and 4.1.14, incorrect path-string matching in the singularity.conf limit container paths directive allows a container in a sibling directory such as /data/safe-but-unsafe to be run when /data/safe is allowed under setuid mode. This permits a user to run a container from outside the administrator's configured path allowlist. Installations that do not use limit container paths are not affected. This issue is fixed in SingularityCE 4.4.2 and SingularityPRO 4.3.9 and 4.1.14.

GitHub Advisory Database
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].

Go Vulnerability Database

Singularity: Incorrect path matching for 'limit container paths' directive in github.com/sylabs/singularity

References

Sources

SourceRecordLicence
CVE ListCVE-2026-47215 changed 2026-09-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-wqcr-7rf3-f64m changed 2026-06-25CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5715 changed 2026-06-25CC-BY-4.0
NVDCVE-2026-47215 changed 2026-09-25Public domain