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

- Severity: High 8.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-18T16:33:34.000Z
- Modified: 2026-07-13T16:43:01.825Z
- Also known as: GHSA-v3xv-8vc3-h2m6, PYSEC-2026-3030
- Weaknesses: CWE-184
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ParzivalHack PySpector: < 0.1.7; before 0.1.7
- pyspector (PyPI): before 0.1.7

## Every score

- GitHub_M: CVSS:4.0 8.3 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `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

- <https://github.com/ParzivalHack/PySpector/security/advisories/GHSA-v3xv-8vc3-h2m6> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33139> (advisory)
- <https://github.com/ParzivalHack/PySpector> (package)
- <https://pypi.org/project/pyspector> (package)
- <https://github.com/advisories/GHSA-v3xv-8vc3-h2m6> (advisory)

## Sources

- CVE List: [CVE-2026-33139](https://www.cve.org/CVERecord?id=CVE-2026-33139), CVE Terms of Use, modified 2026-03-20
- GitHub Advisory Database: [GHSA-v3xv-8vc3-h2m6](https://github.com/advisories/GHSA-v3xv-8vc3-h2m6), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-33139](https://nvd.nist.gov/vuln/detail/CVE-2026-33139), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-3030](https://osv.dev/vulnerability/PYSEC-2026-3030), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-33139 · Whole record: https://cve.day/CVE-2026-33139.json · Rebuilt by cve.day 2026-11-25T22:59:16.335Z
