# CVE-2026-49836: psd-tools: arbitrary file write via smart-object filename

- Severity: Medium 4.6 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-09T23:20:47.000Z
- Modified: 2026-09-30T19:57:08.043Z
- Also known as: GHSA-2rmg-vrx8-9j2f, PYSEC-2026-2969
- Weaknesses: CWE-22, CWE-73
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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 `../`-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.

(As written by CVE List.)

## Affected

- psd-tools psd-tools: < 1.17.1
- psd-tools (PyPI): before 1.17.1

## Every score

- GitHub_M: CVSS:4.0 4.6 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- PyPA Advisory Database: 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`

## References

- <https://github.com/psd-tools/psd-tools/security/advisories/GHSA-2rmg-vrx8-9j2f> (exploit, web)
- <https://github.com/psd-tools/psd-tools/pull/657> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/psd-tools/PYSEC-2026-2969.yaml> (web)
- <http://github.com/psd-tools/psd-tools/releases/tag/v1.17.1> (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)

## Sources

- CVE List: [CVE-2026-49836](https://www.cve.org/CVERecord?id=CVE-2026-49836), CVE Terms of Use, modified 2026-09-11
- GitHub Advisory Database: [GHSA-2rmg-vrx8-9j2f](https://github.com/advisories/GHSA-2rmg-vrx8-9j2f), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-49836](https://nvd.nist.gov/vuln/detail/CVE-2026-49836), Public domain, modified 2026-09-30
- PyPA Advisory Database: [PYSEC-2026-2969](https://osv.dev/vulnerability/PYSEC-2026-2969), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-49836 · Whole record: https://cve.day/CVE-2026-49836.json · Rebuilt by cve.day 2026-11-25T22:59:37.907Z
