{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-49836","id":"CVE-2026-49836","title":"psd-tools: arbitrary file write via smart-object filename","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 ","descriptionLong":"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.","published":"2026-09-10T21:47:57.822Z","updated":"2026-11-20T03:45:45.873550927Z","reserved":"2026-06-01T18:50:36.056Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":4.6,"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":4.6,"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":4.6,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["psd-tools"],"affectedProducts":[{"vendor":"psd-tools","product":"psd-tools","defaultStatus":null,"versions":[{"version":"< 1.17.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"psd-tools","purl":"pkg:pypi/psd-tools","ranges":["<1.17.1"],"fixed":["1.17.1"],"advisory":"GHSA-2rmg-vrx8-9j2f"}],"cwes":["CWE-22","CWE-73"],"aliases":["GHSA-2rmg-vrx8-9j2f","PYSEC-2026-2969"],"references":[{"url":"https://github.com/psd-tools/psd-tools/security/advisories/GHSA-2rmg-vrx8-9j2f","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/psd-tools/psd-tools/pull/657","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/psd-tools/PYSEC-2026-2969.yaml","tags":["x_refsource_MISC","advisory","web"]},{"url":"http://github.com/psd-tools/psd-tools/releases/tag/v1.17.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49836.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49836","tags":["advisory"]},{"url":"https://github.com/psd-tools/psd-tools","tags":["package"]},{"url":"https://pypi.org/project/psd-tools","tags":["package"]},{"url":"https://github.com/advisories/GHSA-2rmg-vrx8-9j2f","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00192,"epssPercentile":0.0897,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-49836","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49836","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-49836","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2rmg-vrx8-9j2f","ok":true,"note":"GHSA-2rmg-vrx8-9j2f"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-49836","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}