{"cve":"CVE-2026-33139","nvd":{"published":"2026-03-20T20:16:48.917","modified":"2026-06-17T10:37:00.780","status":"Analyzed","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.","cvss_v4":{"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","score":8.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-184"],"references":["https://github.com/ParzivalHack/PySpector/security/advisories/GHSA-v3xv-8vc3-h2m6"],"products":["parzivalhack:pyspector"],"source":"nvd","synced_at":"2026-10-19T22:26:19.218427112+00:00"},"epss":{"cve":"CVE-2026-33139","score":0.00172,"percentile":0.06519,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-v3xv-8vc3-h2m6","url":"https://osv.dev/vulnerability/GHSA-v3xv-8vc3-h2m6","summary":"PySpector has a Plugin Sandbox Bypass leads to Arbitrary Code Execution","modified":"2026-07-13T16:43:01.825686218Z","packages":[{"ecosystem":"PyPI","name":"pyspector","purl":"pkg:pypi/pyspector","ranges":["<0.1.7"],"fixed":["0.1.7"]}]},{"id":"PYSEC-2026-3030","url":"https://osv.dev/vulnerability/PYSEC-2026-3030","summary":"PySpector has a Plugin Sandbox Bypass leads to Arbitrary Code Execution","modified":"2026-07-13T16:33:12.248551983Z","packages":[{"ecosystem":"PyPI","name":"pyspector","purl":"pkg:pypi/pyspector","ranges":["<0.1.7"],"fixed":["0.1.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}