CVE-2026-41206
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.
Weakness
- CWE-184: Incomplete List of Disallowed Inputs
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-04-23 |
Timeline
- 2026-04-16GitHub advisory published (GHSA-vp22-38m5-r39r)7 days before publication
- 2026-04-23Published by the CNA00:42 UTC
- 2026-04-23CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-vp22-38m5-r39r, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI pyspector | before 0.1.8 | 0.1.8 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| parzivalhack pyspector | before 0.1.8fixed in 0.1.8 | 0.1.8 |
References
- https://github.com/ParzivalHack/PySpector/commit/3c9547157fc07396f22b26b3484a9a91eba98555
- https://github.com/ParzivalHack/PySpector/commit/4e279e078c53d760fd321ff9b698d683c65ccb8e
- https://github.com/ParzivalHack/PySpector/security/advisories/GHSA-vp22-38m5-r39r
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-41206'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-41206'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-41206'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-41206'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).