{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.7.16"
              },
              {
                "introduced": "3.0.0"
              },
              {
                "fixed": "3.5.0"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "413a49145e35c7a2d3a7de27c5a1828449c9b2e5"
            },
            {
              "fixed": "2e789a1f1d84b343a996e8654590703b5fbdd441"
            }
          ],
          "repo": "https://github.com/python/cpython",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "The MSI installer for Python through 2.7.16 on Windows defaults to the C:\\Python27 directory, which makes it easier for local users to deploy Trojan horse code. (This also affects old 3.x releases before 3.5.) NOTE: the vendor's position is that it is the user's responsibility to ensure C:\\Python27 access control or choose a different directory, because backwards compatibility requires that C:\\Python27 remain the default for 2.7.x",
  "id": "CVE-2019-13404",
  "modified": "2026-08-07T11:31:09.077147437Z",
  "published": "2019-07-08T01:15:10.247Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://docs.python.org/2/faq/windows.html"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}