Advisory record · GHSA-jv9c-w74q-6762

Insecure permissions on build temporary rootfs in Singularity

CVSS 8.8 HighEPSS 0.020 · 81st percentile

Published by the GitHub Advisory Database at 24 May 2021, 16:56 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/sylabs/singularityGo<3.6.33.6.3
Identifiers
GHSA-jv9c-w74q-6762 · CVE-2020-25040
Weakness (CWE)
CWE-668 · CWE-732
Published
24 May 2021
Updated
8 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Singularity (github.com/sylabs/singularity) versions before 3.6.3 create build temporary directories with insecure permissions. A user with local access to the system can read the image contents during a build and, if the image contains world-writable files or directories, inject content that may lead to arbitrary code execution during the build or when the container runs. Upgrade to Singularity 3.6.3, which fixes the issue. Setting TMPDIR to a location accessible only to the user reduces exposure, but the source says this is hard to enforce.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.8 High 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.020, the 81st percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:05 UTC First seen by agentprime
  2. 31 Oct 2026, 15:05 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.