Vulnerability · Published Feb 26, 2026 · Assigned by GitHub_M
CVE-2026-27884NetExec vulnerable to arbitrary file write via path traversal in spider_plus module
Medium 5.3
In plain English
A medium-severity path traversal in NetExec from Pennyw0rth. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
Official description
NetExec is a network execution tool. Prior to version 1.5.1, the module spider_plus improperly creates the output file and folder path when saving files from SMB shares. It does not take into account that it is possible for Linux SMB shares to have path traversal characters such as `../` in them. An attacker can craft a filename in an SMB share that includes these characters, which when spider_plus crawls and downloads, can write or overwrite arbitrary files. The issue is patched in v1.5.1. As a workaround, do not run spider_plus with DOWNLOAD=true against targets.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Pennyw0rth | NetExec | < 1.5.1 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
References
- https://github.com/Pennyw0rth/NetExec/security/advisories/GHSA-fccr-6qm2-7h27 x_refsource_CONFIRM
- https://github.com/Pennyw0rth/NetExec/issues/1120 x_refsource_MISC
- https://github.com/Pennyw0rth/NetExec/pull/1121 x_refsource_MISC
- https://github.com/Pennyw0rth/NetExec/commit/7d027f2774d0520b322d60f9c99b9ab3edb4035e x_refsource_MISC