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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pylint | 4.0.9-1 | — |
| Debian 13 | pylint | No fix yet | — |
| Debian 12 | pylint | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | pylint | No fix yet | — |
| Ubuntu 16.04 LTS | pylint | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-pylint | 4.1.3-1.1 | openSUSE-SU-2026:12392-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | pylint | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | pylint | < 4.0.9 | 4.0.9 | GHSA-22qq-2fwx-7p67 |
Advisories 1
- openSUSE-SU-2026:12392-1 python313-pylint-4.1.3-1.1 on GA media SUSE / openSUSE Security Updates · Nov 3, 2026
References
- https://github.com/pylint-dev/pylint/security/advisories/GHSA-22qq-2fwx-7p67
- https://github.com/pylint-dev/pylint/commit/58c87cffca9de2b3e89aa07b89686cbc90cfea2d
- https://github.com/pylint-dev/pylint/commit/5b241f66318220e9ba7b21ca631fbfe8e77682ca
- https://github.com/pylint-dev/pylint/releases/tag/v4.0.9