Directory Traversal Affecting tkinter package, versions <0:2.7.18-1.amzn2.0.18


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.01% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-TKINTER-16081013
  • published16 Apr 2026
  • disclosed18 Mar 2026

Introduced: 18 Mar 2026

CVE-2026-3479  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 tkinter to version 0:2.7.18-1.amzn2.0.18 or higher.
This issue was patched in ALAS2-2026-3227.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tkinter package and not the tkinter package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

DISPUTED: The project has clarified that the documentation was incorrect, and that pkgutil.get_data() has the same security model as open(). The documentation has been updated to clarify this point. There is no vulnerability in the function if following the intended security model.

pkgutil.get_data() did not validate the resource argument as documented, allowing path traversals.

CVSS Base Scores

version 3.1