← Back to CVE Explorer

CVE-2026-113719

Full vulnerability record from the local CVENow database.

Description

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, PipInstall._uninstall_previous_version() accepts existing seed-package metadata and _uninstall_dist() joins entries from top_level.txt and RECORD to site-packages without checking containment. When a reused destination contains distribution metadata influenced by another account, relative traversal, absolute entries, or linked parents can cause app-data reseeding to delete files outside the environment or the environment root with the invoking user's permissions, provided that user has deletion rights over the named paths. The deletion occurs during environment creation before any later use of the environment. Fresh environments without existing package metadata and creation with --clear do not enter this cleanup path. This issue is fixed in version 21.14.9.

Severity
MEDIUM
CVSS score
4.5 (v3.1)
Vulnerability status
Awaiting Analysis
Source identifier
Published
2026-10-20 20:17:18.347000
Last modified
2026-10-27 11:17:28.280000
View original CVE JSON
{
  "id": "CVE-2026-113719",
  "sourceIdentifier": "[email protected]",
  "published": "2026-10-20T20:17:18.347",
  "lastModified": "2026-10-27T11:17:28.280",
  "vulnStatus": "Awaiting Analysis",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, PipInstall._uninstall_previous_version() accepts existing seed-package metadata and _uninstall_dist() joins entries from top_level.txt and RECORD to site-packages without checking containment. When a reused destination contains distribution metadata influenced by another account, relative traversal, absolute entries, or linked parents can cause app-data reseeding to delete files outside the environment or the environment root with the invoking user's permissions, provided that user has deletion rights over the named paths. The deletion occurs during environment creation before any later use of the environment. Fresh environments without existing package metadata and creation with --clear do not enter this cleanup path. This issue is fixed in version 21.14.9."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "pypa",
          "product": "virtualenv",
          "versions": [
            {
              "version": "< 21.14.9",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L",
          "baseScore": 4.5,
          "baseSeverity": "MEDIUM",
          "attackVector": "LOCAL",
          "attackComplexity": "HIGH",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "availabilityImpact": "LOW"
        },
        "exploitabilityScore": 1.0,
        "impactScore": 3.4
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-10-27T11:01:18.774578Z",
          "id": "CVE-2026-113719",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-22"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/pypa/virtualenv/commit/e3cea6fa10a50fa29cf1fdddd772458fba076d5f",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/pypa/virtualenv/pull/3428",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/pypa/virtualenv/releases/tag/21.14.9",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/pypa/virtualenv/security/advisories/GHSA-hhxq-47xx-j5xx",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/pypa/virtualenv/security/advisories/GHSA-hhxq-47xx-j5xx",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}