{"id":"CVE-2026-114608","aliases":["CVE-2026-114608","GHSA-22qq-2fwx-7p67"],"related":[],"kind":"vulnerability","state":"published","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, 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nSince 2006 / pylint 0.15.2, pylint caches its stats as pickles in `PYLINT_HOME` and reload them on the next run with `pickle.load`. Someone without access to the configuration or linted code, but with access to the cache directory (predictable `PYLINT_HOME` on a multi-user host) can write a crafted pickle that will runs arbitrary code when pylint access its stat cache.\n\n### Patches\n\nFrom pylint 4.0.9, the result cache is now stored as JSON instead of pickle, preventing code-execution. \n\n### Workarounds\n\nUntil upgrading do not point `PYLINT_HOME` to an untrusted, shared, or group-writable directory. The default value, `~/.cache/pylint`, is writable only by the user running pylint.\n\n### Credits\n\n- Reported privately via Tidelift coordinated disclosure (Dan Lenz).","format":"markdown","source":"ghsa"}],"published":"2026-10-22T16:50:02.569Z","modified":"2026-10-29T12:17:10.160Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":"< 4.0.9","status":"affected"}],"vendor":"pylint-dev","product":"pylint","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.0.9"}],"ecosystem":"PyPI","package":"pylint","purl":"pkg:pypi/pylint","source":"ghsa"}],"references":[{"url":"https://github.com/pylint-dev/pylint/security/advisories/GHSA-22qq-2fwx-7p67","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pylint-dev/pylint/commit/58c87cffca9de2b3e89aa07b89686cbc90cfea2d","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pylint-dev/pylint/commit/5b241f66318220e9ba7b21ca631fbfe8e77682ca","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pylint-dev/pylint/releases/tag/v4.0.9","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114608","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pylint-dev/pylint","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-29T11:48:00.254Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-114608","url":"https://www.cve.org/CVERecord?id=CVE-2026-114608","licence":"CVE Terms of Use","modified":"2026-10-29T11:49:18.315Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-22qq-2fwx-7p67","url":"https://github.com/advisories/GHSA-22qq-2fwx-7p67","licence":"CC-BY-4.0","modified":"2026-10-27T15:00:04.526Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-114608","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114608","licence":"Public domain","modified":"2026-10-29T12:17:10.160Z"}],"updatedAt":"2026-11-25T22:59:46.791Z","epss":{"score":0.00149,"percentile":0.04323,"date":"2026-12-01T12:00:22.000Z"}}