Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain low-privilege local shell access
-
DeliveryWrite malicious binary named 'sudo' to attacker-controlled directory
-
ExploitPrepend malicious directory to PATH
-
ExecutionTrigger NexTor IP Changer execution
-
PersistShell resolves 'sudo' to malicious binary
-
ImpactExecute arbitrary attacker-controlled code
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concurrent conditions: (1) the attacker has local, low-privileged interactive or scripted access to the host system (PR:L per CVSS); (2) the attacker can set or modify the PATH environment variable in the process context where NexTor IP Changer will be executed - this is possible in most user-controlled shell sessions and in containerized environments with shared process namespaces; and (3) the attacker can write a malicious executable with a name matching a binary that NexTor IP Changer invokes (confirmed: sudo is one such binary per release notes) to any directory they control. Exploitation is NOT possible remotely - there is no network-facing component (AV:L). Exploitation is blocked if NexTor IP Changer runs in a hardened environment with a locked-down PATH, or if the calling process executes with a sanitized environment that prevents PATH manipulation by unprivileged users. |
| Impact | The CVSS 3.1 score of 7.8 (High) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H is well-calibrated for this class of vulnerability. The local attack vector is the primary limiting factor: an attacker must already have authenticated access to the host system at a low privilege level and must be able to manipulate the PATH environment of the process before NexTor IP Changer launches, both of which constrain real-world exploitation significantly. No EPSS score was provided in the input data, so exploitation probability cannot be quantified. This vulnerability is not listed in the CISA KEV catalog and no public proof-of-concept exploit has been identified. Real-world impact is further limited by the product's niche footprint - NexTor IP Changer is an obscure, single-purpose CLI tool unlikely to be deployed in enterprise environments or run with elevated privileges in production pipelines. The primary risk scenario is a multi-user or shared environment (e.g., a CTF box, a shared developer server, or a container with multiple tenants) where one user can influence another user's process environment. |
| Exploit ScenarioDerived | An attacker with a low-privileged shell on a shared Linux system creates a malicious executable named sudo in a writable directory such as /tmp/evil or $HOME/bin, then prepends that directory to PATH (e.g., export PATH=/tmp/evil:$PATH) before invoking NexTor IP Changer. When the tool calls sudo via shell=True without an absolute path, the shell resolves it to /tmp/evil/sudo, executing the attacker's payload with the privileges of the NexTor process. No public proof-of-concept has been identified, but the technique is trivially reproducible from the description. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 07, 2026
PATH hijacking in NexTor IP Changer prior to 2.0.0 allows a local attacker with low privileges to execute arbitrary code by substituting malicious binaries for trusted executables such as sudo. The root cause is unsafe use of Python's subprocess with shell=True without resolving executables to absolute paths, making the tool vulnerable to CWE-78 (OS Command Injection) and CWE-426 (Untrusted Search Path). No public exploit or active exploitation has been identified at time of analysis; version 2.0.0 resolves the issue by hardcoding absolute paths for all system commands.
RemediationAI
Upgrade to NexTor IP Changer v2.0.0 immediately; the release is available at https://github.com/0x5t4l1n/NexTOR_IP_CHANGER/releases/tag/v2.0 and resolves all three CWEs (CWE-78, CWE-250, CWE-426) by replacing shell-resolved executable calls with absolute paths. If upgrading is not immediately possible, restrict execution of NexTor IP Changer to a controlled, single-user environment where untrusted users cannot manipulate the PATH variable or write to PATH directories that precede /usr/bin or /bin in resolution order. Avoid running the tool in shared shells, containerized environments with writable mounts, or any context where environment variables can be influenced by a different security principal. Note that any workaround relying on environment hardening is fragile and does not address the underlying unsafe shell invocation pattern - patching to v2.0.0 is the only reliable fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
NexTor IP Changer is a Python command-line utility that wraps Tor network commands to periodically rotate IP addresses. The vulnerability arises from Python's subprocess module invoked with shell=True, which delegates command execution to the system shell (e.g., /bin/sh -c). When the tool calls executables by name rather than by absolute path, the shell performs PATH-based resolution at runtime. An attacker who controls the PATH environment variable before tool execution can prepend a writable directory containing a maliciously named binary (e.g., a fake sudo or tor), causing the shell to resolve and execute the attacker's payload instead of the legitimate system binary. The release notes confirm three related CWEs were addressed in v2.0.0: CWE-78 (OS Command Injection via shell=True), CWE-250 (Execution with Unnecessary Privileges), and CWE-426 (Untrusted Search Path). The fix replaced all shell-resolved invocations with absolute binary paths. No CPE string was provided in the input data.
Know when the next one hits your stack
- 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:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Local vector and low privileges required to manipulate PATH; no user interaction needed; full code execution yields high C/I/A with no scope change.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
NexTor IP Changer is a command-line tool that leverages the Tor network to periodically rotate a user's IP address. Versions prior to 2.0.0 have a command execution vulnerability due to unsafe use of shell=True with commands that rely on executable resolution through the PATH environment variable. An attacker controlling the execution environment can place malicious executables such as sudo earlier in the PATH, resulting in execution of attacker-controlled code. Version 2.0.0 fixes the issue.
Executive ViewAI
NexTor IP Changer versions prior to 2.0.0 contain a path hijacking vulnerability allowing local attackers to execute arbitrary code through privilege escalation; no public exploit identified at time of analysis. This affects organizations using the product and creates risk of unauthorized system access and control. Version 2.0.0 is now available and should be deployed immediately.
Apply vendor patch.
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.
EUVD-2026-54603
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB