CVE-2026-49136
Last modified
CVE-2026-49136 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. 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().. EPSS estimates a 0.42% chance of exploitation in the next 30 days.
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().
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-49136?
How severe is CVE-2026-49136?
How do I fix CVE-2026-49136?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-49130Music Player Daemon (MPD) before version 0.24.11 contains a …6.9
- CVE-2026-49131OPNsense before 26.1.9 contains a stored cross-site scriptin…5.4
- CVE-2026-49132OPNsense before 26.1.9 contains a stored cross-site scriptin…5.4
- CVE-2026-49133Typemill before 2.24.0 contains a path traversal vulnerabili…7.1
- CVE-2026-49134CodexBar prior to 0.32.0 contains a privilege escalation vul…7.5
- CVE-2026-49135CodexBar prior to 0.32.0 contains an insecure temporary file…7.2
- CVE-2026-49138Nanobot prior to version 0.2.1 contains a server-side reques…5.3
- CVE-2026-49139Nanobot prior to version 0.2.1 contains a server-side reques…7
- CVE-2026-4914Stored XSS in Ivanti N-ITSM before version 2025.4 allows a r…5.4
- CVE-2026-49140Nanobot prior to version 0.2.1 contains a denial of service …5.3
- CVE-2026-49141WACRM prior to commit 73041bf contain an authorization bypas…7.1
- CVE-2026-49143BrowserStack Runner through 0.9.5 contains a remote code exe…8.8
Are you affected by CVE-2026-49136?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
