Advisories

Nextflow through 26.10.7 Race Condition Exposes Secrets via Temporary Secrets File

Go back
Severity
medium
Date
Affecting
  • Nextflow <= 26.10.7

CWE
  • CWE-378 Creation of Temporary File With Insecure Permissions
CVSS
5.7
CVSS V4 Vector
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Credit
Zachariah Mithani (AploSec)
Description
Nextflow through 26.10.7 contains a race condition in LocalSecretsProvider.makeTempSecretsFile that allows local users to read pipeline secrets by opening the temporary .nf-<hash>.secrets file before permissions are restricted. Attackers who can traverse the secrets directory can open the file between creation with the process umask and the chmod to 0600, then read plaintext secret exports once written.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.