All reports
Critical

Path traversal in impacket

Affected versions

Version ranges need review.

Affected versions
>=0.9.10 <0.9.23
Fixed version
0.9.23
Affected versions
< 0.9.23
Fixed version
0.9.23

Exploitation

CVE-2021-31800

Probability of exploitation in the next 30 days: 19.41%

FIRST EPSS · 2026-11-22

Description

Multiple path traversal vulnerabilities exist in smbserver.py in Impacket before 0.9.23. An attacker that connects to a running smbserver instance can list and write to arbitrary files via ../ directory traversal. This could potentially be abused to achieve arbitrary code execution by replacing /etc/shadow or an SSH authorized key.

Links