{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "21.14.9"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "35f0b33562790176dd186d0a3c517af3acc7a0e1"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "21.14.9",
                "range": [
                  {
                    "fixed": "e53e30b9c8fbc3f4f502223819449ddc970fbbe8"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e53e30b9c8fbc3f4f502223819449ddc970fbbe8"
            },
            {
              "fixed": "35f0b33562790176dd186d0a3c517af3acc7a0e1"
            }
          ],
          "repo": "https://github.com/pypa/virtualenv",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-fc2g-4w5p-6whm"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-732"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/113xxx/CVE-2026-113720.json"
  },
  "details": "virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the app-data copy seeder uses shutil.copy() to copy cached package files into later environments, causing cached source modes to override the current run's umask. A cache populated under a permissive umask can therefore produce files writable by another local account in a later traversable environment, allowing package code such as pip/__init__.py to be modified and executed by the environment owner. The attacker cannot force the earlier umask, and a private destination parent prevents access. This issue is fixed in version 21.14.9.",
  "id": "CVE-2026-113720",
  "modified": "2026-10-24T02:30:39.480976895Z",
  "published": "2026-10-20T19:43:32.451Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/pypa/virtualenv/releases/tag/21.14.9"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/113xxx/CVE-2026-113720.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/pypa/virtualenv/security/advisories/GHSA-fc2g-4w5p-6whm"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-113720"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pypa/virtualenv/commit/35f0b33562790176dd186d0a3c517af3acc7a0e1"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pypa/virtualenv/pull/3425"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "virtualenv: Seeded files retain permissions from an older cache"
}