ADVISORIES

Vulnerability

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.

4 advisories report this vulnerability, across 3 ecosystems.

Medium severity All PyPI 2Debian 1Ubuntu 1

Advisories

  • DEBIAN-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…

    CVE-2026-49836 Debian Updated 1 October 2026
  • GHSA-2rmg-vrx8-9j2f

    psd-tools vulnerable to arbitrary file write via smart-object filename

    Moderate CVE-2026-49836 PyPI Updated 10 September 2026
  • PYSEC-2026-2969

    psd-tools vulnerable to arbitrary file write via smart-object filename

    CVE-2026-49836 PyPI Updated 13 July 2026
  • UBUNTU-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…

    CVE-2026-49836 Ubuntu Updated 16 September 2026

References