Pylint: Arbitrary code execution via pickle deserialization of the stats cache in PYLINT_HOME
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| pylint-devpylint | — | Not listed |
| pippylint |
< 4.0.9→ 4.0.9 |
4.0.9 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-114608 pylint Fix available
- Ubuntu UBUNTU-CVE-2026-114608 pylint No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com