Back to CVE records
Critical 9.8Published Sep 18, 2018

CVE-2018-1000802Python 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_arc…

Updated under an hour ago ()

Does this affect you?

It affects python and 3 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
9.8 CRITICAL (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
mitre
NVD analysis
Modified
Record last updated
Oct 8, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
python python
python:python
from 2.7.0 before 2.7.16
NVD
canonical ubuntu_linux
canonical:ubuntu_linux
12.04; 14.04; 16.04; 18.04
NVD
debian debian_linux
debian:debian_linux
8.0; 9.0; 8.0; 9.0
NVD
opensuse leap
opensuse:leap
15.1; 15.1
NVD

References

  • vendor-advisory
  • mailing-list
  • vendor-advisory
  • vendor-advisory
  • mailing-list
  • vendor-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.