Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-114608 EUVD-2026-108257GHSA-22qq-2fwx-7p67

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

Published Oct 22, 2026 · Updated Oct 29, 2026 · Assigned by GitHub_M

Description

Pylint is a static code analyser for Python. From 0.15.2 until 4.0.9, Pylint stores module statistics in predictable files under PYLINT_HOME and loads those files with pickle.load on a later run. An attacker who can write to a shared, group-writable, or otherwise untrusted cache directory can replace a stats cache with crafted serialized data, causing arbitrary code to execute with the privileges of the user who next runs Pylint. The default per-user cache is not normally writable by another user. This issue is fixed in version 4.0.9.

Affected products

VendorProductAffectedFixed
pylint-dev pylint < 4.0.9 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pylint 4.0.9-1 —
Debian 13 pylint No fix yet —
Debian 12 pylint No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 pylint No fix yet —
Ubuntu 26.04 LTS pylint No fix yet —
Ubuntu 24.04 LTS pylint No fix yet —
Ubuntu 22.04 LTS pylint No fix yet —
Ubuntu 20.04 LTS pylint No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS pylint No fix yet —
Ubuntu 16.04 LTS pylint No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-pylint 4.1.3-1.1 openSUSE-SU-2026:12392-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 pylint No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pylint < 4.0.9 4.0.9 GHSA-22qq-2fwx-7p67

Advisories 1

References