OESA-2026-4699: pylint security update

Published Nov 4, 2026
·
Updated

Pylint is a Python source code analyzer which looks for programming errors, helps enforcing a coding standard and sniffs for some code smells (as defined in Martin Fowler's Refactoring book). Pylint can be seen as another PyChecker since nearly all tests you can do with PyChecker can also be done with Pylint. However, Pylint offers some more features, like checking length of lines of code, checking if variable names are well-formed according to your coding standard, or checking if declared interfaces are truly implemented, and much more. Additionally, it is possible to write plugins to add your own checks. Security Fix(es):

Pylint is a static code analyser for Python. From 0.15.2 until 4.0.9, Pylint stores module statistics in predictable files under PYLINTHOME 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.(CVE-2026-114608)

Affected Software

1 affected componentFixes available
openeuler/pylint<2.12.2-3.oe2203sp4
2.12.2-3.oe2203sp4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade openeuler/pylint to a version that resolves this vulnerability.

    Fixed in 2.12.2-3.oe2203sp4
  2. Upgrade

    Upgrade Pylint to a version that resolves this vulnerability.

    Fixed in 4.0.9

Event History

Nov 4, 2026
Advisory Published
via OSV·01:54 PM
Data Sourced
via OSV·01:54 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who is exposed to this issue?

Users running Pylint versions from 0.15.2 through 4.0.8 are exposed when PYLINT_HOME points to a shared, group-writable, or otherwise untrusted cache directory. The default per-user cache is not normally writable by another user.

2

What does an attacker need to exploit it?

An attacker needs the ability to write or replace Pylint module-statistics cache files in the directory used by PYLINT_HOME. When a victim subsequently runs Pylint, it loads the crafted cache with pickle.load, which can execute arbitrary code as that user.

3

What can be done before upgrading?

Ensure PYLINT_HOME uses a per-user cache directory that other users cannot write to. Avoid shared or group-writable cache locations and prevent untrusted users from modifying existing Pylint statistics files.

4

How can I determine whether a deployment is affected?

Check the installed Pylint version and the effective PYLINT_HOME location. Versions before 4.0.9 are affected if that cache location is writable by another user or otherwise untrusted.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203