Security mailing lists by PureSourceCode

CVE-2026-113720

MEDIUM 4.4CVSS 4.0

virtualenv: Seeded files retain permissions from an older cache

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.

Published
20 Oct 2026
Last modified
18 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-732
Also known as
BIT-virtualenv-2026-113720GHSA-fc2g-4w5p-6whmPYSEC-2026-4379
Sources
NVDJSONOSV GHSA-fc2g-4w5p-6whmJSONOSV PYSEC-2026-4379JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 4.4 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD virtualenv virtualenv
cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:*
>= 20.0.0, < 21.14.9 21.14.9
OSV PyPI virtualenv < 21.14.9 21.14.9
OSV PyPI virtualenv >= 20.0.0, < 21.14.9 21.14.9

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 20 Oct 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Oct 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.