NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐍
🐍 PyPI
Not in CISA KEV
CRITICAL severity

The Fuck Arbitrary File Deletion via Path TraversalGHSA-8wwf-2644-f8x4

CRITICALFix: nvbn/thefuck@e343c57

GHSA-8wwf-2644-f8x4 is a critical-severity (CVSS 9.1) Path Traversal vulnerability in thefuck. A fix is available for thefuck — see the affected versions and patch details below.

Also known asCVE-2021-34363PYSEC-2021-97
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 27, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
1.8%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs80th percentile — riskier than 80% of all scored CVEsHighest risk
0.63%1.20%1.77%2.35%1.1%1.8%May 26Sep 26Nov 26

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

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
🐍thefuck

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

The thefuck (aka The Fuck) is app that corrects errors in previous console commands. The Fuck python package before 3.31 allows Path Traversal that leads to arbitrary file deletion via the undo archive operation feature.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐍PyPIthefuckall versions3.31pip install --upgrade 'thefuck==3.31'

Affected Products

2 products · 3 configurations
OS
fedorafedoraproject
2 versions
3435
Application
the fuckthe_fuck_project
< 3.31
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

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

  2. Fix

    Update thefuck to 3.31 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-8wwf-2644-f8x4 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

The thefuck (aka _The Fuck_) is app that corrects errors in previous console commands. _The Fuck_ python package before 3.31 allows Path Traversal that leads to arbitrary file deletion via the `undo archive operation` feature.
O3 Security · Impact-Aware SCA

Is GHSA-8wwf-2644-f8x4 in your dependencies?

Find it across PyPI, including transitive dependencies.

The Fuck Arbitrary File Deletion via Path Traversal