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.
Published: 2026-04-23
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary Code Execution
Action: Immediate Patch
AI Analysis

Impact

PySpector’s plugin security validator, which relies on AST‑based static analysis to reject unsafe code, contains an incomplete blocklist in PluginSecurity.validate_plugin_code. This flaw allows attackers to embed dangerous Python constructs that bypass the filter, leading to arbitrary code execution inside the PySpector process when an attacker‑supplied plugin is installed and run. The weakness is a form of CWE‑184, where improper flow control permits the execution of unsafe code.

Affected Systems

The affected product is ParzivalHack:PySpector, a static‑analysis framework for Python. All releases prior to 0.1.8 are vulnerable; the issue was remedied in version 0.1.8, so any installation of an older version is at risk.

Risk and Exploitability

With a CVSS score of 6.9, the vulnerability represents a moderate risk, while the EPSS score of less than 1% indicates that exploitation is unlikely to occur in the immediate future. The vulnerability is not listed in CISA’s KEV catalog. Adversaries would need the ability to supply a plugin file that PySpector installs and executes, so the attack vector is most likely local or within a development environment where plugins are added.

Generated by OpenCVE AI on April 28, 2026 at 15:02 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade PySpector to version 0.1.8 or later to apply the fixed PluginSecurity.validate_plugin_code logic.
  • Verify any existing plugin files installed under older PySpector versions are removed or re‑validated before use.
  • Restrict plugin installation to trusted sources or require digital signatures until the update is applied.
  • Audit CI/CD pipelines to ensure older PySpector versions are not used for plugin handling.

Generated by OpenCVE AI on April 28, 2026 at 15:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-vp22-38m5-r39r PySpector has a Plugin Code Execution Bypass via Incomplete Static Analysis in PluginSecurity.validate_plugin_code
History

Wed, 29 Apr 2026 16:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:parzivalhack:pyspector:*:*:*:*:*:python:*:*
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Tue, 28 Apr 2026 02:15:00 +0000

Type Values Removed Values Added
First Time appeared Parzivalhack
Parzivalhack pyspector
Vendors & Products Parzivalhack
Parzivalhack pyspector

Thu, 23 Apr 2026 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 23 Apr 2026 01:15:00 +0000

Type Values Removed Values Added
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.
Title PySpector has a Plugin Code Execution Bypass via Incomplete Static Analysis in PluginSecurity.validate_plugin_code
Weaknesses CWE-184
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Parzivalhack Pyspector
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-23T16:23:33.759Z

Reserved: 2026-04-18T02:51:52.974Z

Link: CVE-2026-41206

cve-icon Vulnrichment

Updated: 2026-04-23T14:27:24.292Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-23T02:16:18.533

Modified: 2026-04-29T15:48:51.880

Link: CVE-2026-41206

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-28T15:15:34Z

Weaknesses