CVE-2026-114608

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

State
Published
Severity
5.4 Medium
Published
Oct 22, 2026
Updated
Oct 29, 2026
Reserved
Oct 21, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.4 MediumCVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-502 Deserialization of Untrusted Data

Affected Products

ProductVersions
pylintpylint-dev
  • < 4.0.9Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.