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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | psd-tools | no fix listed | DEBIAN-CVE-2026-49836 |
| Debian:13 | psd-tools | no fix listed | DEBIAN-CVE-2026-49836 |
| Debian:14 | psd-tools | 1.17.4+dfsg.1-1 | DEBIAN-CVE-2026-49836 |
| PyPI | psd-tools | 1.17.1 | PYSEC-2026-2969 |
| PyPI | psd-tools | 1.17.1 | GHSA-2rmg-vrx8-9j2f |
| Ubuntu:24.04:LTS | psd-tools | no fix listed | UBUNTU-CVE-2026-49836 |
| Ubuntu:26.04:LTS | psd-tools | no fix listed | UBUNTU-CVE-2026-49836 |
Affected products (as reported)
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
- https://github.com/psd-tools/psd-tools/security/advisories/GHSA-2rmg-vrx8-9j2f x_refsource_CONFIRM
- https://github.com/psd-tools/psd-tools/pull/657 x_refsource_MISC
- https://github.com/pypa/advisory-database/tree/main/vulns/psd-tools/PYSEC-2026-2969.yaml x_refsource_MISC
- http://github.com/psd-tools/psd-tools/releases/tag/v1.17.1 x_refsource_MISC