# CVE-2026-47215: Sylabs Singularity incorrect path matching in limit container paths

Source: https://junglewise.ai/threats/cve-2026-47215-sylabs-singularity-incorrect-path-matching-in-limit-container  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-15. Updated: 2026-06-04  
License: CC BY 4.0 with a link back

CVE-2026-47215 · Severity: medium · CVSS 4.8 · Published 2026-09-15

Singularity is a container platform often used in high-performance computing environments. A security flaw in its configuration handling allows users to run containers from unauthorized directories if those directories have names that start with the same characters as an authorized path. This bypasses administrative restrictions intended to ensure only trusted software is executed in sensitive environments.

Technologies: [github.com/sylabs/singularity (Go)](https://junglewise.ai/threats/technologies/github-com-sylabs-singularity). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2026-47215 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-47215 being exploited in the wild.

**How severe is CVE-2026-47215?** Medium severity, with a CVSS score of 4.8, published 15 September 2026.

**Which products and versions are affected?** github.com/sylabs/singularity (Go) <= 3.1.1, SEMVER:introduced=0, SEMVER:introduced=0,last_affected=3.1.1; github.com/sylabs/singularity/v4 (Go) < 4.4.2, SEMVER:introduced=0,fixed=4.4.2; Sylabs SingularityCE < 4.4.2, <= 3.1.1; Sylabs SingularityPRO < 4.3.9, < 4.1.14.

**Is there a fix for CVE-2026-47215?** Yes. github.com/sylabs/singularity/v4 (Go): upgrade to 4.4.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-47215 attacked?** It is attacked with local access, in a software library.

**Am I affected by CVE-2026-47215?** Check whether you run github.com/sylabs/singularity (Go), github.com/sylabs/singularity/v4 (Go), Sylabs SingularityCE or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/sylabs/singularity/v4 (Go): upgrade to 4.4.2 or later

  ```sh
  go get github.com/sylabs/singularity/v4@v4.4.2
  ```


## Technical details

A path traversal/incorrect matching vulnerability (CWE-22) exists in Singularity's 'limit container paths' directive within singularity.conf. When operating in setuid mode, the runtime performs string-based prefix matching rather than strict directory boundary matching. An attacker with local access can bypass execution restrictions by placing container images in sibling directories that share a prefix with an allowed path (e.g., '/data/safe-unauthorized' matching a rule for '/data/safe'). This allows for the execution of unauthorized containers in environments where path-based restrictions are enforced. The issue is resolved in SingularityCE 4.4.2 and SingularityPRO 4.3.9 / 4.1.14.

## Affected products

- Sylabs SingularityCE < 4.4.2, <= 3.1.1
- Sylabs SingularityPRO < 4.3.9, < 4.1.14

## Identifiers

- CVE-2026-47215
- GHSA-wqcr-7rf3-f64m
- GO-2026-5715

## Timeline

- 2026-06-04: disclosed
- 2026-06-04: advisory
- 2026-06-04: patched

## References

- [https://api.github.com/users/dtrudg](https://api.github.com/users/dtrudg)
- [https://github.com/dtrudg](https://github.com/dtrudg)
- [https://api.github.com/users/dtrudg/gists%7B/gist_id%7D](https://api.github.com/users/dtrudg/gists%7B/gist_id%7D)
- [https://api.github.com/users/dtrudg/repos](https://api.github.com/users/dtrudg/repos)
- [https://avatars.githubusercontent.com/u/4522799?v=4](https://avatars.githubusercontent.com/u/4522799?v=4)
- [https://api.github.com/users/dtrudg/events%7B/privacy%7D](https://api.github.com/users/dtrudg/events%7B/privacy%7D)

## Related threats

- [GO-2025-4177 - Singularity ineffectively applies of selinux / apparmor LSM process labels in github.com/sylabs/singularity](https://junglewise.ai/threats/cve-2025-64750-singluarity-ineffectively-applies-selinux-apparmor-lsm-process)
- [Singularity insecure permissions](https://junglewise.ai/threats/cve-2019-19724-singularity-insecure-permissions)
- [Sylabs Singularity Improper Input Validation](https://junglewise.ai/threats/cve-2018-19295-sylabs-singularity-improper-input-validation)
- [Insecure permissions on user namespace / fakeroot temporary rootfs in Singularity](https://junglewise.ai/threats/cve-2020-25039-insecure-permissions-on-user-namespace-fakeroot-temporary-rootfs)
- [Incorrect Permission Assignment for Critical Resource in Singularity](https://junglewise.ai/threats/cve-2019-11328-incorrect-permission-assignment-for-critical-resource-in)
