Read the docs
TI-2026-25569 Aliases CVE-2026-33139GHSA-v3xv-8vc3-h2m6

PySpector: Plugin Sandbox Bypass leads to Arbitrary Code Execution

Priority HIGH 71CWE-184Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Active
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · High · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00175 7th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed PySpector (ParzivalHack): 0.1.7pyspector (PyPI): 0.1.7

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ParzivalHackPySpectorbefore 0.1.70.1.7Patch availableCNA
—pyspector (PyPI)before 0.1.70.1.7Patch availableGHSA-v3xv-8vc3-h2m6
  • PySpector VendorParzivalHack Affected before 0.1.7 Fixed in 0.1.7 Patch available CNA
  • pyspector (PyPI) Vendor— Affected before 0.1.7 Fixed in 0.1.7 Patch available GHSA-v3xv-8vc3-h2m6

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:parzivalhack:pyspector:*:*:*:*:*:python:*:*before 0.1.7VulnerableParzivalHack
  • cpe:2.3:a:parzivalhack:pyspector:*:*:*:*:*:python:*:* Versions before 0.1.7 Vulnerable ·ParzivalHack

Remediation

  • Fix · CNA PySpector (ParzivalHack) Fixed in 0.1.7
  • Fix · GHSA-v3xv-8vc3-h2m6 pyspector (PyPI) Fixed in 0.1.7 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-33139
  2. 2026-10-03 Alias added: GHSA-v3xv-8vc3-h2m6

References

  • TI-2026-29825 PySpector has a Plugin Code Execution Bypass via Incomplete Static Analysis in PluginSecurity.validate_plugin_code CVSS 4.0MEDIUM 6.9
  • TI-2026-25570 PySpector: Stored XSS in PySpector HTML Report Generation leads to Javascript Code Execution CVSS 4.0MEDIUM 5.3

Sources