Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2026-49136— Banana Slides 0.4.0 Path Traversal via generate_image() in ai_service.py

CVSS 7.5 · High

Possible ATT&CK Techniques 1AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-49136

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Banana Slides 0.4.0 Path Traversal via generate_image() in ai_service.py
Source: NVD (National Vulnerability Database)
Vulnerability 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().
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
Anionexbanana-slides 0 ~ 0.4.0 -

II. Public POCs for CVE-2026-49136

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-49136

登录查看更多情报信息。

Patches & Fixes for CVE-2026-49136 (2)

Vendor Advisories for CVE-2026-49136 (1)

Other References for CVE-2026-49136 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-49136

No comments yet


Leave a comment