CRLF Injection Affecting python311-virtualenv package, versions <20.22.0-150400.9.12.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.14% (3rd 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 IDSNYK-SLES157-PYTHON311VIRTUALENV-20968511
  • published15 Oct 2026
  • disclosed13 Oct 2026

Introduced: 13 Oct 2026

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

How to fix?

Upgrade SLES:15.7 python311-virtualenv to version 20.22.0-150400.9.12.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python311-virtualenv package and not the python311-virtualenv package as distributed by SLES. See How to fix? for SLES:15.7 relevant fixed versions and status.

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.11, PyEnvCfg.write() writes prompt values verbatim to the line-oriented pyvenv.cfg format while PyEnvCfg._read_values() parses the file with str.splitlines() and accepts the last value for duplicate keys. An attacker who influences --prompt, VIRTUALENV_PROMPT, or configuration input can insert a recognized line boundary and additional keys, including home, causing consumers to use an attacker-selected base interpreter or corrupted environment metadata. The security impact requires prompt input from outside the operator's trust boundary; directly supplied prompt content primarily corrupts the operator's own environment. This issue is fixed in version 21.7.11.

CVSS Base Scores

version 3.1