{"id":"CVE-2026-49836","published":"2026-09-10T21:47:57Z","modified":"2026-09-11T17:13:46Z","title":"psd-tools: arbitrary file write via smart-object filename","vendor":"psd-tools","product":"psd-tools","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00192,"percentile":0.09036,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/psd-tools/psd-tools/security/advisories/GHSA-2rmg-vrx8-9j2f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/psd-tools/psd-tools/pull/657","tags":["x_refsource_MISC"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/psd-tools/PYSEC-2026-2969.yaml","tags":["x_refsource_MISC"]},{"url":"http://github.com/psd-tools/psd-tools/releases/tag/v1.17.1","tags":["x_refsource_MISC"]}],"priority":{"score":5.0,"factors":[{"name":"EPSS percentile","points":1.81},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"psd-tools","affectedVersions":[{"vendor":"psd-tools","product":"psd-tools","versions":["< 1.17.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-11T17:09:57.762945Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"psd-tools","vulnerableRanges":["<1.17.1"],"patched":["1.17.1"],"from":["GHSA-2rmg-vrx8-9j2f","PYSEC-2026-2969"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-75804","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-10571","published":"2020-03-14","fixed":"1.9.4","kev":false},{"cve":"CVE-2026-27809","published":"2026-02-25","fixed":"1.12.2","kev":false,"link":{"from":"CVE-2026-27809","to":"CVE-2026-49836","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:psd-tools","fromFixed":"1.12.2","toFixed":"1.17.1","daysApart":197}]}},{"cve":"CVE-2026-49836","published":"2026-09-10","fixed":"1.17.1","kev":false},{"cve":"CVE-2026-59991","published":"2026-09-22","fixed":"1.17.4","kev":false,"link":{"from":"CVE-2026-49836","to":"CVE-2026-59991","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:psd-tools","fromFixed":"1.17.1","toFixed":"1.17.4","daysApart":12},{"kind":"similar","provenance":"machine","score":0.25,"basis":"same product + description similarity"}]}}],"package":"PyPI:psd-tools"}}