HighVulnerability
CVE-2026-49136: Banana Slides path traversal in generate_image() via markdown image references
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-49136
- Published
- Record updated
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.
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online