CVE-2026-142237
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://github.com/nextflow-io/nextflow/blob/v26.10.7/modules/nextflow/src/main/groovy/nextflow/secret/LocalSecretsProvider.groovy#L228-L249
- https://github.com/nextflow-io/nextflow/security/advisories/GHSA-4cmm-q94h-8g5j
- https://www.vulncheck.com/advisories/nextflow-through-26.10.7-race-condition-exposes-secrets-via-temporary-secrets-file
CWEs
CWE-378
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.