Live threats

All CVEs / Secureauth

CVE-2021-31800Secureauth Impacket

Critical 9.8 No auth neededHigh EPSS

Priority
76
CVSS 3.1
9.8
EPSS
19.4%
probability of exploitation in 30 days · percentile 98
Auth required
No
Published
May 5, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Multiple path traversal vulnerabilities exist in smbserver.py in Impacket through 0.9.22. 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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Impacket.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI impacket < 0.9.23 0.9.23 pip install "impacket>=0.9.23"
PyPI impacket ≥ 0.9.10 < 0.9.23 0.9.23 pip install "impacket>=0.9.23"

Per OSV / GitHub Advisories (GHSA-mj63-64x7-57xf, PYSEC-2021-17). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
secureauthimpacket≤ 0.9.22
fedoraprojectfedora32
fedoraprojectfedora33
fedoraprojectfedora34

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.