PoC Monitor
← All CVEs
CVE-2026-49136published 1 Jun 2026 19:09 UTCData: JSON · API

Anionex banana-slides

Banana Slides 0.4.0 Path Traversal via generate_image() in ai_service.py

Banana Slides through 0.4.0, patched in commit e8bc490, contains a path traversal vulnerability in the generate_image() function within the AI service backend that allows unauthenticated attackers to read arbitrary image-format files outside the intended uploads directory by exploiting an incomplete path prefix check using os.path.startswith() without a trailing separator. Attackers can supply crafted markdown image references in user-controlled page descriptions that resolve to sibling directories whose names share the uploads folder prefix, bypassing the directory confinement check and causing the application to read files from unintended locations via PIL Image.open().

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.7high · scored by CNA · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Anionex banana-slides
  • <= 0.4.0

Fixed in e8bc490ec8b4b657e07dc3ab4e94fbedcaade421

Mitigation

Upgrade banana-slides to e8bc490ec8b4b657e07dc3ab4e94fbedcaade421 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published1 Jun 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.