The thefuck (aka The Fuck) package before 3.31 for Python allows Path Traversal that…
Priority MEDIUM 43CWE-22Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
The thefuck (aka The Fuck) package before 3.31 for Python allows Path Traversal that leads to arbitrary file deletion via the "undo archive operation" feature.
Why it matters now
EPSS 0.01847 79th percentileScored 2026-11-07
Fix Fixed thefuck (PyPI): 3.31
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | thefuck (PyPI) | before 3.31 | 3.31 | Patch available | GHSA-8wwf-2644-f8x4 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- thefuck (PyPI) Vendor— Affected before 3.31 Fixed in 3.31 Patch available GHSA-8wwf-2644-f8x4
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:the_fuck_project:the_fuck:*:*:*:*:*:python:*:* | before 3.31 | Vulnerable | The Fuck Project |
| cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 34 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 35 | Vulnerable | Fedoraproject |
- cpe:2.3:a:the_fuck_project:the_fuck:*:*:*:*:*:python:*:* Versions before 3.31 Vulnerable ·The Fuck Project
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-8wwf-2644-f8x4 thefuck (PyPI) Fixed in 3.31 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2021-34363
- 2026-10-03 Alias added: GHSA-8wwf-2644-f8x4
References
Advisory 5
Other 4
- https://github.com/nvbn/thefuck
- https://github.com/pypa/advisory-database/tree/main/vulns/thefuck/PYSEC-2021-97.yaml
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4MEDDLBFVRUQHPYIBJ4MFM3M4NUJUXL5
- https://lists.fedoraproject.org/archives/list/[email protected]/message/YA6UNQSOY6M3NJDZLS6YJXTS4WGDMEEJ
Sources
- CVE-2021-34363 · CVE Program
- CVE-2021-34363 · NVD
- FIRST EPSS
- GHSA-8wwf-2644-f8x4 · GitHub Advisory Database · CC BY 4.0
- CVE-2021-34363 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences