Visit the Wiz Whimzical Shop at AWS re:Invent
Vulnerability DatabaseGHSA-r376-8frj-gq9x

GHSA-r376-8frj-gq9x: 
Python vulnerability analysis and mitigation

Impact

From 0.15.2 until 4.1.5, pylint writes its stats cache and, from 2.10.0, its crash reports to PYLINT_HOME under predictable names, with a plain open() that follows symlinks. Someone without access to the configuration or the linted code, but with write access to the cache directory (a PYLINTHOME pointed at a shared or group-writable directory on a multi-user host), can plant a symlink or a hard link there. The next pylint run then overwrites the target of a planted stats cache link with pylint's JSON stats. If pylint crashes on a file, it appends a crash report, including the linted file's source, to the target of a planted crash report link. The written content is pylint's own data and is not chosen by the attacker. The default PYLINT_HOME, ~/.cache/pylint on Linux, is writable only by the user running pylint, and is not affected.

Patches

From pylint 4.1.5, a planted link is removed instead of followed for both files and PYLINT_HOME is created with mode 0700.

Workarounds

Until upgrading, do not point PYLINTHOME to an untrusted, shared, or group-writable directory, or run pylint with --persistent=n to skip the stats cache.

References

  • Reported privately by Remi Testa.
  • Related: GHSA-22qq-2fwx-7p67 / CVE-2026-114608 (same precondition, code execution via the pickle stats cache, fixed in 4.0.9).

Source: NVD

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-j8c6-9vc5-hj6xHIGH7.5
  • Python logoPython
  • msgpack
NoYesNov 29, 2026
GHSA-4m42-h2gw-83m5HIGH7.1
  • Python logoPython
  • ag2
NoNoNov 29, 2026
GHSA-898j-h77w-5phhLOW3.7
  • Python logoPython
  • data-product-forge
NoYesNov 28, 2026
GHSA-r376-8frj-gq9xLOW3.3
  • Python logoPython
  • pylint
NoYesNov 29, 2026
GHSA-jx4h-j67c-r3crLOWN/A
  • Python logoPython
  • multipart
NoYesNov 28, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management