Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐍
🐍 PyPI
Not in CISA KEV
CRITICAL severity

Path traversal in impacketGHSA-mj63-64x7-57xf

CRITICALFix: SecureAuthCorp/impacket@49c643b

GHSA-mj63-64x7-57xf is a critical-severity (CVSS 9.8) Path Traversal vulnerability in impacket. 2 public exploit references exist, so weaponization risk is real. A fix is available for impacket — see the affected versions and patch details below.

Also known asCVE-2021-31800PYSEC-2021-17
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
2 known
Exploitation data as of Oct 11, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
19.4%probability of exploitation in next 30 days
Moderate Risk0.00%
Lower risk than most CVEs97th percentile — riskier than 97% of all scored CVEsHighest risk
13.1%24.1%35.0%46.0%39.2%19.4%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

GHSA-mj63-64x7-57xf by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,738 CVEs with a current EPSS score, this one falls in the 10–50% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

1 pkg affected
🐍impacket

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐍PyPIimpacketall versions0.9.23pip install --upgrade 'impacket==0.9.23'

Affected Products

2 products · 4 configurations
OS
fedorafedoraproject
3 versions
323334
Application
impacketsecureauth
≤ 0.9.22
range
Exploits & PoCs
2

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for impacket, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update impacket to 0.9.23 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-mj63-64x7-57xf is resolved across your whole dependency graph.

  3. Workarounds

    Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is GHSA-mj63-64x7-57xf in your dependencies?

Find it across PyPI, including transitive dependencies.

Path traversal in impacket (Critical 9.8)