CVE-2026-41206CWE-184

PySpector has a Plugin Code Execution Bypass via Incomplete Static Analysis in PluginSecurity.validate_plugin_code

Medium · published April 23, 2026

CVSS v4.0
6.9
EPSS
0%
Percentile
8.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
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
EPSS
0.00191 · 8.3th percentile
Weakness
CWE-184 · Incomplete List of Disallowed Inputs
Published
2026-04-23T00:42Z
EPSS history
Timeline
  • 23 APR 00:42Z
    PySpector has a Plugin Code Execution Bypass via Incomplete Static Analysis in PluginSecurity.validate_plugin_code
    cvelistv5