CVE-2026-41206: PySpector - Remote Code Execution
- Cve: CVE-2026-41206
- Name: PySpector - Remote Code Execution
- Description: PySpector is a static analysis security testing (SAST) Framework engineered for modern Python development workflows. The plugin security validator in PySpector uses AST-based static analysis to prevent dangerous code from being loaded as plugins. Prior to version 0.1.8, the blocklist implemented in `PluginSecurity.validate_plugin_code` is incomplete and can be bypassed using several Python constructs that are not checked. An attacker who can supply a plugin file can achieve arbitrary code execution within the PySpector process when that plugin is installed and executed. Version 0.1.8 fixes the issue.
- Impact: Attackers can execute arbitrary code within the PySpector process, leading to full compromise of the application environment.
- Remediation: Upgrade to version 0.1.8 or later.
- Vulnerability type: code_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00192
- Epss percentile: 0.08832
- Assignee: [email protected]
- Published at: 2026-04-23T02:16:18Z
- Age in days: 215
- Modified at: 2026-10-26T21:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-41206
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-184 | Incomplete List of Disallowed Inputs |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/ParzivalHack/PySpector/security/advisories/GHSA-vp22-38m5-r39r | nvd | 2026-04-23 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| parzivalhack:pyspector | < 0.1.8 | no | nvd | /v1/products/parzivalhack/pyspector |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| ParzivalHack/PySpector | commit, fix, package, security_advisory | yes | /v1/repositories/ParzivalHack/PySpector |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-04-23
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts