Path Traversal in Anionex Banana-Slides
CVE-2026-49136
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.
EPSS exploit prediction
EPSS: 0.006 (47.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 47th percentile — 47.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.006 · change: +0.002
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)
- github.com/Anionex/banana-slides/commit/e8bc490ec8b4b657e07dc3ab4e94fbedcaade421 (patch)
- www.vulncheck.com/advisories/banana-slides-path-traversal-via-generate-image-in… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-49136?
- CVE-2026-49136 is a high-severity vulnerability in Anionex Banana-Slides, classified under Path Traversal. CVSS score: 7.5/10. Published 2026-06-01.
- How severe is CVE-2026-49136?
- High severity. CVSS v3 base score is 7.5 out of 10.