CRLF Injection Affecting virtualenv package, versions [21.14.8,21.14.9)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.24% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about CRLF Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-VIRTUALENV-21282492
  • published21 Oct 2026
  • disclosed20 Oct 2026
  • creditAnthropic's OSS Scanner

Introduced: 20 Oct 2026

NewCVE-2026-113715  (opens in a new tab)
CWE-93  (opens in a new tab)

How to fix?

Upgrade virtualenv to version 21.14.9 or higher.

Overview

Affected versions of this package are vulnerable to CRLF Injection via the validate_dest path in src/virtualenv/create/via_global_ref/venv.py when using the --creator venv backend, where a virtual environment destination path containing line boundary characters is written unescaped into pyvenv.cfg. An attacker who can influence the destination path can inject arbitrary lines into pyvenv.cfg, potentially corrupting the configuration or causing tools that parse it to read attacker-controlled key-value pairs.

Note: This is only exploitable when the --creator venv option is explicitly used, as it is not the default creator backend.

CVSS Base Scores

version 4.0
version 3.1