---
id: CVE-2026-95168
title: >-
  An issue in nvbn thefuck v.3.32 allows a local attacker to execute arbitrary
  code via the get_rules_import_paths in thefuck/corrector.py and Rule.from_path
  in thefuck/types.py
summary: >-
  An issue in nvbn thefuck v.3.32 allows a local attacker to execute arbitrary
  code via the get_rules_import_paths in thefuck/corrector.py and Rule.from_path
  in thefuck/types.py
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: adp
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-21T19:17:11.473482Z'
exploitAvailable: true
published: '2026-10-20'
updated: '2026-10-21'
sourceUpdated: '2026-10-21T19:17:42.649Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-95168'
references:
  - url: 'https://github.com/nvbn/thefuck/issues/1623'
  - url: >-
      https://github.com/REYu6/python-vuln/blob/main/reports-v2/thefuck/03-contrib-pregate-exec.md
tags:
  - cve.org
  - exploit-available
epss: 0.00222
epssPercentile: 0.12653
ingestedAt: '2026-10-20T15:09:24.117Z'
---

## Overview

An issue in nvbn thefuck v.3.32 allows a local attacker to execute arbitrary code via the get_rules_import_paths in thefuck/corrector.py and Rule.from_path in thefuck/types.py

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
