{"id":"CVE-2026-114608","kind":"vulnerability","aliases":["CVE-2026-114608"],"related":[],"title":"Pylint: stats cache loaded with pickle lets a writer run code","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.","summary":"Pylint from 0.15.2 through 4.0.9 stores module statistics in predictable files under PYLINT_HOME and later loads them with pickle.load. Someone who can write a crafted file into a shared or untrusted cache directory can run code as the user who next runs Pylint.","severity":"medium","cvss":5.4,"epss":0.00115,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["ci","package","pylint","python","shared-runners"],"not_affected_if":["default-config","single-user-machine"],"how_to_check":"- Run `pylint --version` and check whether it reports a version between `0.15.2` and `4.0.9`\n- Check where the cache lives with `echo $PYLINT_HOME` and look for a shared or group-writable directory there, for example with `ls -ld` on the path","fix":"- Upgrade pylint to `4.0.9` or later\n- Keep PYLINT_HOME in a per-user directory that other users cannot write to","status":"open","published_at":"2026-10-22T17:16:58+00:00","first_seen_at":"2026-10-23T21:57:31+00:00","triaged_at":"2026-10-25T04:14:21+00:00","updated_at":"2026-10-25T04:14:21+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-10-25T04:14:21Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade pylint to `4.0.9` or later\n- Keep PYLINT_HOME in a per-user directory that other users cannot write to","reach":"local","title":"Pylint: stats cache loaded with pickle lets a writer run code","impact":"high","summary":"Pylint from 0.15.2 through 4.0.9 stores module statistics in predictable files under PYLINT_HOME and later loads them with pickle.load. Someone who can write a crafted file into a shared or untrusted cache directory can run code as the user who next runs Pylint.","category":"package","nicknames":[],"who_cares":["python","pylint","ci","shared-runners"],"confidence":0.8,"needs_auth":"yes","worst_case":"Arbitrary code runs as the user who next runs Pylint","analyst_note":"","how_to_check":"- Run `pylint --version` and check whether it reports a version between `0.15.2` and `4.0.9`\n- Check where the cache lives with `echo $PYLINT_HOME` and look for a shared or group-writable directory there, for example with `ls -ld` on the path","needs_analyst":false,"not_affected_if":["default-config","single-user-machine"],"who_is_affected":"Only setups where the Pylint cache directory is shared, group-writable, or otherwise writable by someone other than the user running Pylint, such as shared CI runners or build hosts that reuse a common PYLINT_HOME. The default per-user cache is not normally writable by another user, so single-developer machines with default settings are unlikely to be exposed.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.000624,"input_tokens":3414,"output_tokens":566,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-114608':14A,17A '-2026':13A,16A '0.15.2':27B,78C '4.0.9':29B,80C,160C 'analys':74C 'anoth':152C 'arbitrari':127C 'attack':102C 'cach':3A,57B,115C,121C,146C 'caus':126C 'ci':18B 'code':11A,61B,73C,128C 'craft':50B,123C 'cve':12A,15A 'data':125C 'default':142C 'directori':58B,116C 'execut':130C 'file':35B,51B,87C,94C 'fix':157C 'group':110C 'group-writ':109C 'home':38B,90C 'issu':155C 'later':40B,99C 'let':7A 'load':4A,41B,92C 'modul':31B,83C 'next':66B,138C 'normal':149C 'otherwis':113C 'packag':19B 'per':144C 'per-us':143C 'pickl':6A 'pickle.load':44B,96C 'predict':34B,86C 'privileg':133C 'pylint':1A,20B,25B,37B,68B,69C,81C,89C,140C 'python':21B,76C 'replac':118C 'run':10A,60B,67B,100C,139C 'runner':24B 'serial':124C 'share':23B,54B,108C 'shared-runn':22B 'someon':45B 'stat':2A,120C 'static':72C 'statist':32B,84C 'store':30B,82C 'untrust':56B,114C 'user':64B,136C,145C,153C 'version':159C 'writabl':111C,150C 'write':48B,105C 'writer':9A","nicknames":[],"mitigations":[],"who_affected":"Only setups where the Pylint cache directory is shared, group-writable, or otherwise writable by someone other than the user running Pylint, such as shared CI runners or build hosts that reuse a common PYLINT_HOME. The default per-user cache is not normally writable by another user, so single-developer machines with default settings are unlikely to be exposed.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-22T17:16:58+00:00","kev":null,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-114608","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114608","severity":null,"published_at":"2026-10-22T17:16:58+00:00","modified_at":"2026-10-22T17:40:46+00:00","first_seen_at":"2026-10-23T21:57:31+00:00","fetched_at":"2026-10-23T22:29:02+00:00","note":null},{"source":"epss","external_id":"CVE-2026-114608","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-114608","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-24T07:15:51+00:00","fetched_at":"2026-10-24T07:15:51+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}