CVE-2026-49836
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.
Scoring
- Severity
- MEDIUM
- CVSS base score
- 4.6
- CVSS 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
- CWE
- CWE-22, CWE-73
- Published
- 2026-09-10
- Last modified
- 2026-09-10
Affected products
- psd-tools psd-tools
Weakness type
Related vulnerabilities
- CVE-2026-80424 — DataStage on Cloud Pak for Data has several vulnerabilities due to open source software
- CVE-2026-45767 — Suricata datasets: save to absolute filename can be bypassed when combined with load command
- CVE-2026-81540 — DataStage on Cloud Pak for Data has several vulnerabilities due to open source software
- CVE-2026-81551 — DataStage on Cloud Pak for Data has several vulnerabilities due to open source software
- CVE-2026-81554 — DataStage on Cloud Pak for Data has several vulnerabilities due to open source software
- CVE-2026-82100 — DataStage on Cloud Pak for Data has several vulnerabilities due to open source software
- CVE-2026-84889 — A path traversal vulnerability in file handling components could allow an authenticated attacker to write files to arbitrary locations on the server filesystem
- CVE-2026-86087 — IBM® Db2® could allow an authenticated user to send a specially crafted request to write arbitrary files on the system