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
- 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.
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.
Affected software
| Software | Affected versions |
|---|---|
pylintPyPI · osv:PyPI:pylint |
|
About pylint
- Weekly downloads (PyPI)
- 9,117,877PyPI Stats, 23 Nov 2026
This is the only vulnerability in pylint in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-114608
- GitHub Advisory Database https://github.com/advisories/GHSA-22qq-2fwx-7p67