p PatchFirst

CVE-2026-41206

CVE-2026-41206 · PySpector has a Plugin Code Execution Bypass via Incomplete Static Analysis in PluginSecurity.validate_plugin_code

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.9 · Medium · EPSS 0.2% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • pyspector

    Versions
    • < 0.1.8: Affected

    No fix published

  • pyspector PyPI

    Versions
    • 0.1.1
    • 0.1.2
    • 0.1.3
    • 0.1.4
    • 0.1.4.post1
    • 0.1.5
    • 0.1.6
    • 0.1.7
    Affected ranges
    • ECOSYSTEM: < 0.1.8

    Update to 0.1.8

Original sources

Check your server →