Vulnerability · Published Sep 10, 2026 · Assigned by GitHub_M

CVE-2026-49836psd-tools: arbitrary file write via smart-object filename

Medium 4.6

In plain English

A medium-severity path traversal in psd-tools from psd-tools. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)4.6Medium
Exploit odds (30 days)0.2%top 91.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

psd-tools is a Python package for working with Adobe Photoshop PSD files. Prior to version 1.17.1, `SmartObject.save()` writes an embedded smart object to a path taken verbatim from the PSD file. Because that name is attacker-controlled and unsanitised, a tool that extracts embedded objects from an untrusted `.psd` can be made to write attacker-chosen bytes to an attacker-chosen path (absolute or `../`-traversing), outside its intended output directory. A secondary issue in `SmartObject.open()` for external-kind smart objects allows the attacker-controlled `fullPath` descriptor to be used as an arbitrary file read path, enabling exfiltration of the read content to the controlled write destination. Both issues are fixed in v1.17.1.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12psd-toolsno fix listedDEBIAN-CVE-2026-49836
Debian:13psd-toolsno fix listedDEBIAN-CVE-2026-49836
Debian:14psd-tools1.17.4+dfsg.1-1DEBIAN-CVE-2026-49836
PyPIpsd-tools1.17.1PYSEC-2026-2969
PyPIpsd-tools1.17.1GHSA-2rmg-vrx8-9j2f
Ubuntu:24.04:LTSpsd-toolsno fix listedUBUNTU-CVE-2026-49836
Ubuntu:26.04:LTSpsd-toolsno fix listedUBUNTU-CVE-2026-49836

Affected products (as reported)

VendorProductVersions
psd-tools psd-tools < 1.17.1

Weakness: CWE-22, CWE-73 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

References