Nextflow through 26.10.7 Race Condition Exposes Secrets via Temporary Secrets File
Summary
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 betwe...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| nextflow-ioNextflow |
≤ 26.10.7→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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-.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.
Source: CVE.org (CVE Program・cvelistV5) NVD