MAL-2026-2949 Malicious code in pathjoin (PyPI)
- Published
- Updated
- Exploit status
- No public exploit known
Description
-= Per source details. Do not edit below this line.=-
Source: kam193 (a94ee2403006fa62b8cfd3e6ac5a3ae32f316ab9b32fd0dc47fefdca52cf5899)
During import, the code downloads and executes encrypted payload from remote location. During analysis, remote code was prepared to download the next stage executable. This is likely selectively delivered to victims as the code polls the C2 server periodically with the local hostname and awaits the next stage to download.
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2026-04-pathjoin
Reasons (based on the campaign):
-
obfuscation
-
Downloads and executes a remote malicious script.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi pathjoin(PyPI) | = 1.0.0; = 1.0.1; = 1.0.2; = 1.0.3 +3 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi pathjoin(PyPI) | = 1.0.0 | No fix listed |
| pypi pathjoin(PyPI) | = 1.0.1 | No fix listed |
| pypi pathjoin(PyPI) | = 1.0.2 | No fix listed |
| pypi pathjoin(PyPI) | = 1.0.3 | No fix listed |
| pypi pathjoin(PyPI) | = 1.0.4 | No fix listed |
| pypi pathjoin(PyPI) | = 1.0.5 | No fix listed |
| pypi pathjoin(PyPI) | = 1.0.6 | No fix listed |