CVE-2026-49836
MEDIUM 4.6CVSS 4.0psd-tools vulnerable to arbitrary file write via smart-object filename
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
- 10 Sep 2026
- Last modified
- 30 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22CWE-73
- Also known as
- GHSA-2rmg-vrx8-9j2fPYSEC-2026-2969
- Sources
- NVDJSONOSV GHSA-2rmg-vrx8-9j2fJSONOSV PYSEC-2026-2969JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 4.6 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | psd-tools | < 1.17.1 | 1.17.1 |
References
- http://github.com/psd-tools/psd-tools/releases/tag/v1.17.1 · WEB
- https://github.com/psd-tools/psd-tools/pull/657 · WEB
- https://github.com/psd-tools/psd-tools/security/advisories/GHSA-2rmg-vrx8-9j2f · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/psd-tools/PYSEC-2026-2969.yaml · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-49836 · ADVISORY
- https://github.com/psd-tools/psd-tools · PACKAGE
- https://pypi.org/project/psd-tools · PACKAGE
- https://github.com/advisories/GHSA-2rmg-vrx8-9j2f · ADVISORY
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 10 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Jul 2026)