OS Command Injection Affecting request-1276 package, versions <0.31.0-r1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.2% (10th 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-CHAINGUARDLATEST-REQUEST1276-21755952
  • published27 Oct 2026
  • disclosed23 Oct 2026

Introduced: 23 Oct 2026

NewCVE-2026-115586  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Chainguard request-1276 to version 0.31.0-r1 or higher.

NVD Description

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

virtualenv is a tool for creating isolated virtual python environments. From 21.14.9 until 21.14.13, the bash bin/activate script can copy an attacker-controlled --prompt value into PS1 without escaping dollar signs or backticks when both promptvars and POSIX mode are disabled during activation. Re-enabling promptvars, running set -o posix, or starting an interactive child bash that inherits the exported PS1 can then expand command substitution in the stored VIRTUAL_ENV_PROMPT value and execute commands as the user who activates the environment. This issue is fixed in version 21.14.13.

CVSS Base Scores

version 3.1