Path Traversal in Anionex Banana-Slides
CVE-2026-49136
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.004 · 36.8th percentile
- Published
- 2026-06-01
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().
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.004, 36.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Anionex Banana-Slides — versions 0, e8bc490ec8b4b657e07dc3ab4e94fbedcaade421
Weakness classification (CWE)
References
- github.com/Anionex/banana-slides/issues/429 (issue-tracking, technical-description, exploit)
- github.com/Anionex/banana-slides/pull/430 (issue-tracking, patch)
- github.com/Anionex/banana-slides/commit/e8bc490ec8b4b657e07dc3ab4e94fbedcaade421 (patch)
- www.vulncheck.com/advisories/banana-slides-path-traversal-via-generate-image-in… (third-party-advisory)