{"id":"CVE-2026-142237","summary":"Nextflow through 26.10.7 Race Condition Exposes Secrets via Temporary Secrets File","details":"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-\u003chash\u003e.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.","aliases":["GHSA-4cmm-q94h-8g5j"],"modified":"2026-12-02T18:00:21.396269210Z","published":"2026-12-02T16:50:06.222Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142237.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-378"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142237.json"},{"type":"PACKAGE","url":"https://github.com/nextflow-io/nextflow"},{"type":"ARTICLE","url":"https://github.com/nextflow-io/nextflow/blob/v26.10.7/modules/nextflow/src/main/groovy/nextflow/secret/LocalSecretsProvider.groovy#L228-L249"},{"type":"ADVISORY","url":"https://github.com/nextflow-io/nextflow/security/advisories/GHSA-4cmm-q94h-8g5j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142237"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/nextflow-through-26.10.7-race-condition-exposes-secrets-via-temporary-secrets-file"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nextflow-io/nextflow","events":[{"introduced":"0"},{"last_affected":"0ad848ef3c3a22824cd9eb2ca14568385867702d"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"26.10.7"}]}]}}],"versions":["v26.10.7","v26.10.6","v26.10.5","v26.10.4","v26.10.3","v26.10.2","v26.10.1","v26.10.0","v26.09.2-edge","v26.09.1-edge","v26.09.0-edge","v26.08.0-edge","v26.07.0-edge","v26.06.0-edge","v26.05.0-edge","v26.04.3","v26.04.2","v26.04.1","v26.04.0","v26.03.4-edge","v26.03.3-edge","v26.03.2-edge","v26.03.1-edge","v26.03.0-edge","v26.02.0-edge","v26.01.1-edge","v25.12.0-edge","v25.11.0-edge","v25.10.0","v25.09.2-edge","v25.09.1-edge","v25.09.0-edge","v25.08.0-edge","v25.07.0-edge","v25.06.0-edge","v25.05.0-edge","v25.04.2","v25.04.1","v25.04.0","v25.03.1-edge","v25.03.0-edge","v25.02.3-edge","v25.02.2-edge","v25.02.1-edge","v25.02.0-edge","v25.01.0-edge","v24.12.0-edge","v24.11.0-edge","v24.10.0","v24.09.2-edge","v24.09.1-edge","v24.09.0-edge","v24.08.0-edge","v24.07.0-edge","v24.06.0-edge","v24.04.2","v24.05.0-edge","v24.04.1","v24.04.0","v24.04.0-edge","v24.03.0-edge","v24.02.0-edge","v24.01.0-edge","v23.12.0-edge","v23.10.0","v23.11.0-edge","v23.09.3-edge","v23.09.2-edge","v23.09.1-edge","v23.09.0-edge","v23.08.1-edge","v23.08.0-edge","v23.07.0-edge","v23.06.0-edge","v23.05.0-edge","v23.04.0","v23.03.0-edge","v23.02.1-edge","v23.02.0-edge","v23.01.0-edge","v22.12.0-edge","v22.11.0-edge","v22.10.0","v22.10.0-RC3","v22.10.0-RC2","v22.10.0-RC1","v22.09.7-edge","v22.09.6-edge","v22.09.5-edge","v22.09.4-edge","v22.09.3-edge","v22.09.2-edge","v22.09.1-edge","v22.08.2-edge","v22.08.1-edge","v22.08.0-edge","v22.07.1-edge","v22.06.1-edge","v22.06.0-edge","v22.05.0-edge","v22.04.0","v22.03.1-edge","v22.03.0-edge","v22.02.1-edge","v22.02.0-edge","v22.01.0-edge","v21.12.1-edge","v21.11.0-edge","v21.10.0","v21.09.1-edge","v21.09.0-edge","nf-sqldb@0.2.0","nf-sqldb@0.1.0","v21.08.0-edge","v21.07.0-edge","v21.06.0-edge","v21.05.0-edge","v21.04.0","nf-tower@1.1.0","nf-ignite@1.2.2","nf-google@1.0.3","nf-ga4gh@1.0.2","nf-console@1.0.2","nf-azure@0.9.7","nf-amazon@1.0.5","v21.04.0-edge","v20.10.0","v20.12.0-edge","v21.03.0-edge","v21.02.0-edge","v21.01.1-edge","v21.01.0-edge","v20.11.0-edge","v20.09.1-edge","v20.09.0-edge","v20.08.0-edge","v20.01.0","v20.07.1","v20.07.0-RC1","v20.06.0-edge","v20.05.0-edge","v20.04.1-edge","v20.04.0-edge","v20.03.0-edge","v20.02.0-edge","v20.01.0-rc1","v20.01.0-edge","v19.12.0-edge","v19.11.0-edge","v19.10.0","v19.09.0-edge","v19.08.1-edge","v19.07.0","v19.07.0-edge","v19.06.0-edge","v19.05.0-edge","v19.04.0","v19.04.0-edge","v19.03.0-edge","v19.02.0-edge","v19.01.0-edge","v18.12.0-edge","v18.11.0-edge","v18.10.1","v0.32.0","v0.31.1","v0.31.0","v0.31.0-RC1","v0.30.2","v0.30.1","v0.30.0","v0.29.1","v0.29.0","v0.29.0-RC1","v0.28.2","v0.28.1","v0.28.0","v0.28.0-RC1","v0.27.1","v0.27.0","v0.27.0-RC2","v0.27.0-RC1","v0.26.4","v0.26.3","v0.26.2","v0.26.1","v0.26.0","v0.26.0-RC2","v0.26.0-RC1","v0.25.7","v0.25.6","v0.25.5","v0.25.4","v0.25.3","v0.25.2","v0.25.1","v0.25.0","v0.25.0-RC1","v0.24.4","v0.24.3","v0.24.2","v0.24.1","v0.24.0","v0.23.4","v0.23.3","v0.23.2","v0.23.1","v0.23.0","v0.22.5","v0.22.4","v0.22.3","v0.22.2","v0.22.1","v0.22.0","v0.22.0-RC2","v0.22.0-RC1","v0.21.3","v0.21.2","v0.21.1","v0.21.0","v0.21.0-RC1","v0.20.1","v0.20.0","v0.19.4","v0.19.3","v0.19.2","v0.19.1","v0.19.0","v0.18.3","v0.18.2","v0.18.1","v0.18.0","v0.18.0-RC1","v0.17.3","v0.17.2","v0.17.1","v0.17.0","v0.16.5","v0.16.2","v0.16.1","v0.16.0","v0.16.0-RC1","v0.15.4","v0.15.3","v0.15.2","v0.15.1","v0.15.0","v0.14.4","v0.14.3","v0.14.2","v0.14.1","v0.14.0","v0.13.4","v0.13.3","v0.13.2","v0.13.1","v0.13.0","v0.12.4","v0.12.3","v0.12.2","v0.12.1","v0.12.0","v0.11.2","v0.11.1","v0.11.0","v0.10.2","v0.10.3","v0.10.1","v0.10.0","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.2","v0.6.1","v0.6.0","v0.5.4","v0.5.3","v0.5.2","v0.5.1","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.11","v0.2.10","v0.2.9","v0.2.8","v0.2.7","v0.2.5","v0.2.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142237.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}