Skip to main content

CVE-2026-113713: CWE-377: Insecure Temporary File in pypa virtualenv

0
Medium
VulnerabilityCVE-2026-113713cvecve-2026-113713cwe-377
Published: 10/20/2026 (10/20/2026, 19:06:25 UTC)
Source: CVE Database V5
Vendor/Project: pypa
Product: virtualenv

Description

A vulnerability in pypa virtualenv versions 21.14.8 and 21.14.9 allows insecure handling of temporary files during environment creation. The app-data seeder can leave an environment linked to temporary package files that are deleted after creation, but environment-variable and configuration-file forms of symlink_app_data can enable this insecure state even when the command-line flag is disabled. This causes the environment to depend on a cache pathname no longer controlled by its owner. The issue is fixed in version 21.14.10.

CVSS v4.0

Score 4.4medium

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
Low
Vuln. Integrity
High
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

pypa

virtualenv

Affected versions
>=21.14.8 <21.14.10
virtualenv
pkg:pypi/virtualenv

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/20/2026, 19:33:19 UTC

Technical Analysis

The virtualenv tool for creating isolated Python environments had a security issue in versions 21.14.8 and 21.14.9 where the app-data seeder could leave an environment linked to temporary package files that virtualenv deletes after creation. The vulnerability arises because the environment-variable and configuration-file forms of the symlink_app_data option can enable this insecure state even if the command-line flag for temporary app-data is disabled. This results in the environment relying on a cache pathname that the environment owner no longer controls, constituting an insecure temporary file condition (CWE-377). The vulnerability was addressed and fixed in version 21.14.10.

Potential Impact

An attacker with limited privileges could exploit this vulnerability to influence or interfere with the temporary package files used during virtual environment creation, potentially leading to unauthorized access or modification of environment contents. The CVSS 4.4 score reflects a medium severity with local attack vector, high attack complexity, and partial user interaction required. The impact includes loss of integrity and availability of the virtual environment data.

Mitigation Recommendations

Upgrade virtualenv to version 21.14.10 or later where this vulnerability is fixed. No other mitigations are indicated or necessary as the fix addresses the insecure temporary file handling.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-20T16:03:14.862Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ad7bede2cdf04f656550f55

Added to database: 10/20/2026, 19:19:58 UTC

Last enriched: 10/20/2026, 19:33:19 UTC

Last updated: 10/20/2026, 19:34:20 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses