Skip to content
HighVulnerability

CVE-2026-49136: Banana Slides path traversal in generate_image() via markdown image references

Identifier
CVE-2026-49136
Published
Record updated
View JSON

Summary

Banana Slides through 0.4.0 has a path traversal flaw in the generate_image() function of its AI service backend, tracked as CVE-2026-49136. The directory check uses os.path.startswith() without a trailing separator, so unauthenticated attackers can use crafted markdown image references to reach sibling directories sharing the uploads folder prefix and have PIL Image.open() read image-format files outside the uploads directory.

Mitigation

Patched in commit e8bc490.