Advisory record · GHSA-2rmg-vrx8-9j2f

psd-tools vulnerable to arbitrary file write via smart-object filename

CVSS 4.6 MediumEPSS 0.0019 · 8th percentile

Published by the GitHub Advisory Database at 9 Jul 2026, 23:20 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
psd-toolsPyPI<1.17.11.17.1
Identifiers
GHSA-2rmg-vrx8-9j2f · CVE-2026-49836 · PYSEC-2026-2969
Weakness (CWE)
CWE-22 · CWE-73
Published
9 Jul 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

psd-tools versions before 1.17.1 are vulnerable to path traversal when extracting embedded smart objects. An attacker who supplies a crafted PSD file can cause an application that calls SmartObject.save() to write attacker-chosen bytes to an arbitrary path outside the intended output directory, and for external-kind smart objects it can also read arbitrary files into that output. Users should upgrade to psd-tools 1.17.1, which strips directory components and confines writes and reads to the intended directory.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.6 Medium 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0019, the 8th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:10 UTC First seen by agentprime
  2. 31 Oct 2026, 14:10 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.