Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-114608

Опубликовано: 22 окт. 2026
Источник: redhat
CVSS3: 6.7
EPSS Низкий

Описание

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.

A flaw was found in Pylint. The application stores module statistics in predictable cache files and deserializes them without adequate validation. A local attacker with write access to a shared or untrusted cache directory can replace these files with malicious data. When Pylint is subsequently executed by another user, this can result in arbitrary code execution with the privileges of that user.

Отчет

This vulnerability is rated as having Moderate impact for Red Hat products because exploitation requires local access and non-standard configurations where cache locations are shared or group-writable. Under default system installations, Pylint places its cache in a private user directory that is inaccessible to other unprivileged users. Consequently, an attacker can only compromise an environment if the PYLINT_HOME environment variable explicitly references a shared directory or if directory permissions have been improperly relaxed.

Меры по смягчению последствий

Avoid pointing PYLINT_HOME at shared, group-writable, or untrusted directories; the default per-user cache (~/.cache/pylint) is not writable by other users; upgrade to pylint 4.0.9, which stores the stats cache as JSON instead of pickle.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9Fix deferred
Service Telemetry Framework 1.5stf/prometheus-webhook-snmp-rhel9Fix deferred

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-502
https://bugzilla.redhat.com/show_bug.cgi?id=2559159pylint: pylint: Arbitrary code execution via untrusted cache deserialization

EPSS

Процентиль: 2%
0.00115
Низкий

6.7 Medium

CVSS3

Связанные уязвимости

ubuntu
около 1 месяца назад

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.

nvd
около 1 месяца назад

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.

debian
около 1 месяца назад

Pylint is a static code analyser for Python. From 0.15.2 until 4.0.9, ...

github
29 дней назад

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

EPSS

Процентиль: 2%
0.00115
Низкий

6.7 Medium

CVSS3