Vulnerabilities in pkg:maven/io.nextflow/nextflow
PACKAGECVE-2026-48722 is a MODERATE (CVSS 5.5) nextflow auth login command has vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting Nextflow libraries in the Maven ecosystem. The issue involves nextflow auth login command has incorrect default permissions. Remediation is available by upgrading affected packages to version 25.10.6, 26.04.3.
pkg:maven/io.nextflow/nextflow
Vulnerability advisories affecting package pkg:maven/io.nextflow/nextflow. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-92qf-fcph-v5wr | CVE-2026-48722 | MODERATE | nextflow auth login command has incorrect default permissions |
CVE-2026-48722 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2026-48722
To remediate this vulnerability, upgrade all affected Nextflow dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>io.nextflow</groupId>
<artifactId>nextflow</artifactId>
<version>25.10.6</version>
</dependency>
<dependency>
<groupId>io.nextflow</groupId>
<artifactId>nextflow</artifactId>
<version>26.04.3</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.nextflow
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-48722, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.nextflow
Analyze the terminal output to locate any version of Nextflow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 25.10.6), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.nextflow command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. In Nextflow, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-48722 Affected Nextflow Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.nextflow:nextflow
|
Maven |
≥ 25.09.2-edge
< 25.10.6
|
25.10.6
|
|
io.nextflow:nextflow
|
Maven |
≥ 26.00.0-edge
< 26.04.3
|
26.04.3
|
References
Frequently Asked Questions
What is CVE-2026-48722?
Which Nextflow versions are affected?
What version fixes CVE-2026-48722?
Is nextflow affected?
What is the CVSS score of CVE-2026-48722?
What CWE is associated with CVE-2026-48722?
How can I check Maven dependencies for CVE-2026-48722?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-92qf-fcph-v5wr",
"modified" : "2026-06-25T21:45:55Z",
"published" : "2026-06-25T21:45:55Z",
"aliases" : [ "CVE-2026-48722" ],
"summary" : "nextflow auth login command has incorrect default permissions",
"details" : "### Impact\n\n`nextflow auth login` persists Seqera Platform OIDC tokens to `${NXF_HOME:-~/.nextflow}/seqera-auth.config`. The file is created via Java NIO without specifying file permissions, so under the default `umask 022` it lands at mode `0644` (world-readable).\n\nOn a multi-user POSIX host — typically an HPC login node, shared workstation, or jump host — any local user able to traverse the victim's home directory can read the file and obtain a valid Platform bearer token, enabling impersonation against Seqera Platform within the token's scope.\n\nSingle-user systems and headless CI runners, which do not invoke the interactive login flow, are not affected.\n\nAffected versions: `25.09.2-edge` through `26.04.1`.\n \n### Patches\n\nFixed in `<PATCHED_VERSION>`. The patched code applies mode `0600` to `seqera-auth.config` immediately after writing it, and re-applies on every subsequent login so any pre-existing world-readable copy left by an earlier version is tightened.\n\nTokens previously stored in the file must be treated as disclosed. After upgrading, run `nextflow auth logout`, revoke the token in the Seqera Platform UI, and run `nextflow auth login` again.\n\n### Workarounds\n \nRestrict the file and its parent directory:\n\n`chmod 600 \"${NXF_HOME:-$HOME/.nextflow}/seqera-auth.config\"`\n`chmod 700 \"${NXF_HOME:-$HOME/.nextflow}\"`\n\nAlternatively, supply the Platform token via the `TOWER_ACCESS_TOKEN` environment variable instead of running `nextflow auth login`.\n\n### References\n \n - https://cwe.mitre.org/data/definitions/276.html",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.nextflow:nextflow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "25.09.2-edge"
}, {
"fixed" : "25.10.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "io.nextflow:nextflow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "26.00.0-edge"
}, {
"fixed" : "26.04.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nextflow-io/nextflow/security/advisories/GHSA-92qf-fcph-v5wr"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/nextflow-io/nextflow"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-276", "CWE-732" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-25T21:45:55Z",
"nvd_published_at" : null
}
}