Home / hpcng / singularity / CVE-2020-15229
CVE-2020-15229: is it exploited, and which versions of hpcng singularity are affected and fixed?
CVE-2020-15229 is a path traversal (reading or writing files outside the intended folder) vulnerability in hpcng singularity. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: github.com/sylabs/singularity from 3.1.1 before 3.6.4 (GitHub advisory GHSA-7gcp-w6ww-2xv9). Fixed in 3.6.4 (GitHub advisory GHSA-7gcp-w6ww-2xv9). Severity: High (8.2, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:07 UTC.
What is CVE-2020-15229?
Path traversal and files overwrite with unsquashfs
Singularity (an open source container platform) from version 3.1.1 through 3.6.3 has a vulnerability. Due to insecure handling of path traversal and the lack of path sanitization within `unsquashfs`, it is possible to overwrite/create any files on the host filesystem during the extraction with a crafted squashfs filesystem. The extraction occurs automatically for unprivileged (either installation or with `allow setuid = no`) run of Singularity when a user attempt to run an image which is a local SIF image or a single file containing a squashfs filesystem and is coming from remote sources `library://` or `shub://`. Image build is also impacted in a more serious way as it can be used by a root user, allowing an attacker to overwrite/create files leading to a system compromise, so far bootstrap methods `library`, `shub` and `localimage` are triggering the squashfs extraction. This issue is addressed in Singularity 3.6.4. All users are advised to upgrade to 3.6.4 especially if they use Singularity mainly for building image as root user. There is no solid workaround except to temporary avoid to use unprivileged mode with single file images in favor of sandbox images instead. Regarding image build, temporary avoid to build from `library` and `shub` sources and as much as possible use `--fakeroot` or a VM for that.
From the CVE record by GitHub_M, last updated August 4, 2024, 13:08 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| hpcng | singularity | < 3.6.4 |
As the CVE record by GitHub_M states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/sylabs/singularity | >= 3.1.1, < 3.6.4 | 3.6.4 | GHSA-7gcp-w6ww-2xv9 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 21, 2021. Summary: Path traversal and files overwrite with unsquashfs in singularity.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| sylabs | singularity | from 3.1.1 through 3.6.3 | application |
| opensuse | backports sle | 15.0 | application |
| opensuse | leap | 15.1 | operating system |
| opensuse | leap | 15.2 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 02:56 UTC.
How severe is CVE-2020-15229?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N | GitHub_M |
| Critical 9.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N | NVD |
| Medium 5.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-15229 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.05% probability of exploitation activity in the next 30 days, percentile 81.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/hpcng/singularity/security/advisories/GHSA-7gcp-w6ww-2xv9 x_refsource_CONFIRM
- https://github.com/hpcng/singularity/blob/v3.6.4/CHANGELOG.md#security-related-fixes x_refsource_MISC
- https://github.com/hpcng/singularity/pull/5611 x_refsource_MISC
- https://github.com/hpcng/singularity/commit/eba3dea260b117198fdb6faf41f2482ab2f8d53e x_refsource_MISC
- openSUSE-SU-2020:1769 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2020:1770 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2020:1814 vendor-advisory, x_refsource_SUSE
When was it published, and where is the official record?
- Reserved
- June 25, 2020
- Published
- October 14, 2020, 18:55 UTC
- CVE record updated
- August 4, 2024, 13:08 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 02:56 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:07 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2020-15229
Is CVE-2020-15229 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 2.05% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of hpcng singularity are affected by CVE-2020-15229?
github.com/sylabs/singularity from 3.1.1 before 3.6.4, per the GitHub advisory GHSA-7gcp-w6ww-2xv9. The tables above give every range the sources list.
Which version fixes CVE-2020-15229?
3.6.4, per the GitHub advisory GHSA-7gcp-w6ww-2xv9. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-15229?
High (8.2, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2020-15229?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.