All reports
Medium

gix-transport code execution vulnerability

Affected versions

Version ranges need review.

Rust / Cargogix-transport
Affected versions
< 0.36.1
Fixed version
0.36.1
Rust / Cargogix-transport
Affected versions
>=0.0.0-0 <0.36.1
Fixed version
0.36.1
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-53158

Probability of exploitation in the next 30 days: 0.21%

FIRST EPSS · 2026-11-20

Description

The gix-transport crate prior to the patched version 0.36.1 would allow attackers to use malicious ssh clone URLs to pass arbitrary arguments to the ssh program, leading to arbitrary code execution.

PoC: gix clone 'ssh://-oProxyCommand=open$IFS-aCalculator/foo'

This will launch a calculator on OSX.

See https://secure.phabricator.com/T12961 for more details on similar vulnerabilities in git.

Thanks for vin01 for disclosing this issue.

Links

Credits

  • EliahKagan