Vulnerability · Published Mar 20, 2026 · Assigned by GitHub_M

CVE-2026-33139PySpector: Plugin Sandbox Bypass leads to Arbitrary Code Execution

High 8.3

In plain English

A high-severity security flaw in PySpector from ParzivalHack. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.3High
Exploit odds (30 days)0.2%top 92.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

PySpector is a static analysis security testing (SAST) Framework engineered for modern Python development workflows. PySpector versions 0.1.6 and prior are affected by a security validation bypass in the plugin system. The validate_plugin_code() function in plugin_system.py, performs static AST analysis to block dangerous API calls before a plugin is trusted and executed. However, the internal resolve_name() helper only handles ast.Name and ast.Attribute node types, returning None for all others. When a plugin uses indirect function calls via getattr() (such as getattr(os, 'system')) the outer call's func node is of type ast.Call, causing resolve_name() to return None, and the security check to be silently skipped. The plugin incorrectly passes the trust workflow, and executes arbitrary system commands on the user's machine when loaded. This issue has been patched in version 0.1.7.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIpyspector0.1.7GHSA-v3xv-8vc3-h2m6
PyPIpyspector0.1.7PYSEC-2026-3030

Affected products (as reported)

VendorProductVersions
ParzivalHack PySpector < 0.1.7

Weakness: CWE-184 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

References