Description
slide-maker through 5.8.0 contains a path traversal vulnerability in generate_images_openai.py that allows attackers to write image files outside the output directory via manifest-supplied filenames. Attackers can influence deck source material so the image prompt manifest contains ../ or symlinked filenames, creating directories and overwriting existing files at arbitrary paths.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| addsumtech | slide-maker | ≤ 5.8.0 | — |
References
- https://hackmd.io/@haind/BJnX7pIifx third-party-advisory
- https://github.com/addsumtech/slides_maker/blob/3767cc346d63ef1646082c87f15fbf0be582b152/skills/slide-maker/scripts/generate_images_openai.py#L153-L156 technical-description
- https://github.com/addsumtech/slides_maker/blob/3767cc346d63ef1646082c87f15fbf0be582b152/skills/slide-maker/scripts/generate_images_openai.py#L270-L285 technical-description
- https://github.com/addsumtech/slides_maker product
- VulnCheck Advisory: slide-maker through 5.8.0 Path Traversal via generate_images_openai.py third-party-advisory