AploSec / Disclosures / CVE-2026-142237
Nextflow through 26.10.7 Race Condition Exposes Secrets via Temporary Secrets File
CVE-2026-142237 · published 2026-12-02
Summary
CVE-2026-142237 affects Nextflow (Server) <= 26.10.7: Race Condition Exposes Secrets via Temporary Secrets File (CWE-378). No fixed release is listed. CVSS 4.0 base score 5.7 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
No fixed release is listed in the advisory. Check the references for upstream status.
References
- Referencehttps://github.com/nextflow-io/nextflow/security/advisories/GHSA-4cmm-q94h-8g5j
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/nextflow-through-26.10.7-race-condition-exposes-secrets-via-temporary-secrets-file
- Vulnerable codehttps://github.com/nextflow-io/nextflow/blob/v26.10.7/modules/nextflow/src/main/groovy/nextflow/secret/LocalSecretsProvider.groovy#L228-L249
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142237
- Severity
- Medium 5.7CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- Nextflow
- Ecosystem
- Server
- Affected
- <= 26.10.7
- Fixed
- None
- Weakness
- CWE-378
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder