Skip to content

python: Prevent shell command injection in conda environment activation#49160

Merged
Veykril merged 1 commit intozed-industries:mainfrom
cppcoffee:languages_python
Feb 14, 2026
Merged

python: Prevent shell command injection in conda environment activation#49160
Veykril merged 1 commit intozed-industries:mainfrom
cppcoffee:languages_python

Conversation

@cppcoffee
Copy link
Contributor

@cppcoffee cppcoffee commented Feb 14, 2026

Release Notes:

  • Fixed prevent shell command injection in conda environment activation

The conda environment name was directly interpolated into the shell
command without proper escaping, which could allow command injection
if the environment name contained malicious shell metacharacters.

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 14, 2026
Copy link
Member

@Veykril Veykril left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Veykril Veykril enabled auto-merge (squash) February 14, 2026 07:57
@Veykril Veykril self-assigned this Feb 14, 2026
@Veykril Veykril merged commit 144dd93 into zed-industries:main Feb 14, 2026
30 checks passed
@cppcoffee cppcoffee deleted the languages_python branch February 14, 2026 08:59
rtfeldman pushed a commit that referenced this pull request Feb 17, 2026
…on (#49160)

Release Notes:

- Fixed prevent shell command injection in conda environment activation

The conda environment name was directly interpolated into the shell
command without proper escaping, which could allow command injection
if the environment name contained malicious shell metacharacters.

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants