{"id":"UBUNTU-CVE-2026-49836","details":"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.","modified":"2026-09-16T11:35:35Z","published":"2026-09-10T22:16:00Z","upstream":["CVE-2026-49836"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-49836"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-49836"},{"type":"REPORT","url":"https://github.com/psd-tools/psd-tools/security/advisories/GHSA-2rmg-vrx8-9j2f"},{"type":"REPORT","url":"https://github.com/psd-tools/psd-tools/pull/657"},{"type":"REPORT","url":"http://github.com/psd-tools/psd-tools/releases/tag/v1.17.1"},{"type":"REPORT","url":"https://github.com/psd-tools/psd-tools/pull/657"},{"type":"REPORT","url":"https://github.com/pypa/advisory-database/tree/main/vulns/psd-tools/PYSEC-2026-2969.yaml"}],"affected":[{"package":{"name":"psd-tools","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/psd-tools?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.28+dfsg.1-1","1.9.28+dfsg.1-1build1","1.9.30+dfsg.1-1","1.9.30+dfsg.1-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.9.30+dfsg.1-1build1","binary_name":"python3-psd-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49836.json"}},{"package":{"name":"psd-tools","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/psd-tools?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.7+dfsg.1-1","1.10.7+dfsg.1-1build1","1.10.9+dfsg.1-1","1.12.0+dfsg.1-1","1.12.1+dfsg.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.12.1+dfsg.1-1","binary_name":"python3-psd-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49836.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}