---
id: CVE-2026-114608
title: >-
  Pylint: Arbitrary code execution via pickle deserialization of the stats cache
  in PYLINT_HOME
summary: >-
  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, gr…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'
cvssSource: cna
cwe:
  - CWE-502
vendor: pylint-dev
product: pylint
affected:
  - pylint < 4.0.9
published: '2026-10-22'
updated: '2026-10-22'
sourceUpdated: '2026-10-22T16:50:02.569Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-114608'
references:
  - url: >-
      https://github.com/pylint-dev/pylint/security/advisories/GHSA-22qq-2fwx-7p67
    label: >-
      https://github.com/pylint-dev/pylint/security/advisories/GHSA-22qq-2fwx-7p67
  - url: >-
      https://github.com/pylint-dev/pylint/commit/58c87cffca9de2b3e89aa07b89686cbc90cfea2d
    label: >-
      https://github.com/pylint-dev/pylint/commit/58c87cffca9de2b3e89aa07b89686cbc90cfea2d
  - url: >-
      https://github.com/pylint-dev/pylint/commit/5b241f66318220e9ba7b21ca631fbfe8e77682ca
    label: >-
      https://github.com/pylint-dev/pylint/commit/5b241f66318220e9ba7b21ca631fbfe8e77682ca
  - url: 'https://github.com/pylint-dev/pylint/releases/tag/v4.0.9'
    label: 'https://github.com/pylint-dev/pylint/releases/tag/v4.0.9'
tags:
  - cve.org
ingestedAt: '2026-10-22T22:00:50.346Z'
---

## Overview

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

- `pylint < 4.0.9`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
