{"id":"CVE-2026-41206","published":"2026-04-23T00:42:49Z","modified":"2026-04-23T16:23:33Z","title":"PySpector has a Plugin Code Execution Bypass via Incomplete Static Analysis in PluginSecurity.validate_plugin_code","vendor":"ParzivalHack","product":"PySpector","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00192,"percentile":0.0905,"provenance":"source"},"cwes":[{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"}],"references":[{"url":"https://github.com/ParzivalHack/PySpector/security/advisories/GHSA-vp22-38m5-r39r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ParzivalHack/PySpector/commit/3c9547157fc07396f22b26b3484a9a91eba98555","tags":["x_refsource_MISC"]},{"url":"https://github.com/ParzivalHack/PySpector/commit/4e279e078c53d760fd321ff9b698d683c65ccb8e","tags":["x_refsource_MISC"]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":1.81},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"parzivalhack","affectedVersions":[{"vendor":"ParzivalHack","product":"PySpector","versions":["< 0.1.8"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-23T14:27:12.158857Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pyspector","vulnerableRanges":["<0.1.8"],"patched":["0.1.8"],"from":["GHSA-vp22-38m5-r39r","PYSEC-2026-3031"],"provenance":"source"}],"summary":{"text":"The flaw is in the plugin security validator, PluginSecurity.validate_plugin_code, of the PySpector static analysis security testing framework for Python; its AST-based blocklist is incomplete, so certain Python constructs that should be rejected are not checked. An attacker who can supply a plugin file that is then installed and executed can run arbitrary code within the PySpector process, which requires local access with low privileges and some user interaction to get the plugin installed and run.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:07Z"},"euvd":{"id":"EUVD-2026-25160","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-parzivalhack-pyspector-cve-2026-33139","packageHistory":[{"cve":"CVE-2026-33139","published":"2026-03-20","fixed":"0.1.7","kev":false,"link":{"from":"CVE-2026-33139","to":"CVE-2026-41206","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pyspector","fromFixed":"0.1.7","toFixed":"0.1.8","daysApart":34},{"kind":"similar","provenance":"machine","score":0.54,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2026-33140","published":"2026-03-20","fixed":"0.1.7","kev":false},{"cve":"CVE-2026-41206","published":"2026-04-23","fixed":"0.1.8","kev":false}],"package":"PyPI:pyspector"}}