External Control of File Name or Path Affecting psd-tools package, versions [,1.17.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 External Control of File Name or Path vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PSDTOOLS-17933397
  • published10 Jul 2026
  • disclosed9 Jul 2026
  • creditUnknown

Introduced: 9 Jul 2026

NewCVE-2026-49836  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade psd-tools to version 1.17.1 or higher.

Overview

psd-tools is a Python package for working with Adobe Photoshop PSD files as described in specification.

Affected versions of this package are vulnerable to External Control of File Name or Path through the save and open functions. An attacker can write arbitrary files to attacker-chosen paths and read arbitrary files by crafting a malicious PSD file with specially crafted smart-object filenames or descriptors.

CVSS Base Scores

version 4.0
version 3.1