CVE-2026-49136: Anionex banana-slides · Path Traversal
Affects Anionex banana-slidesSource CVE Database V5
Not known to be exploited · CVSS 8.7 High.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Anionexbanana-slides | Affected
| Fixed in– |
GitHubanionex/banana-slidespkg:github/anionex/banana-slidesOther threats | Affected
| Fixed in– |
GitHubbanana-slidespkg:github/banana-slidesOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available and was introduced in commit e8bc490. Users should upgrade banana-slides to a version that includes this patch (versions later than 0.4.0). Since this is not a cloud service, remediation requires applying the patch or upgrading the software. Until patched, avoid exposing the vulnerable service to untrusted users or inputs that could exploit this path traversal.
Description
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().
References
- github.com/Anionex/banana-slides/issues/429 (opens in a new tab)
- github.com/Anionex/banana-slides/pull/430 (opens in a new tab)
- github.com/Anionex/banana-slides/commit/e8bc490ec8b4b657e07dc3ab4e94fbedcaade421 (opens in a new tab)
- vulncheck.com/advisories/banana-slides-path-traversal-via-generate-image-in-ai-service-py (opens in a new tab)