All vulnerabilities

PyPI

CVE-2026-114608

Pylint: Arbitrary code execution via pickle deserialization of the stats cache in PYLINT_HOME

Severity
Medium
Published
27 Oct 2026
Last changed
27 Oct 2026
Added to UpHeron
23 Nov 2026
Fixed in
4.0.9
Exploit chance
0.1% in the next 30 daysHigher than 1% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Deserialization of untrusted data (CWE-502)
Also known as
GHSA-22qq-2fwx-7p67
Sources
OSV.dev and GitHub

Description

Since 2006 / pylint 0.15.2, pylint caches its stats as pickles in PYLINT_HOME and reload them on the next run with pickle.load. Someone without access to the configuration or linted code, but with access to the cache directory (predictable PYLINT_HOME on a multi-user host) can write a crafted pickle that will runs arbitrary code when pylint access its stat cache.

From the GitHub Advisory Database, CC BY 4.0.

Workarounds

Until upgrading do not point PYLINT_HOME to an untrusted, shared, or group-writable directory. The default value, ~/.cache/pylint, is writable only by the user running pylint.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
pylintPyPI · osv:PyPI:pylint
  • Every version before 4.0.9

About pylint

Weekly downloads (PyPI)
9,117,877PyPI Stats, 23 Nov 2026

This is the only vulnerability in pylint in our list.

References