Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 66%

CVE-2026-49136: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Anionex banana-slides

0
High
VulnerabilityCVE-2026-49136cvecve-2026-49136
Published: 06/01/2026 (06/01/2026, 19:09:51 UTC)
Source: CVE Database V5
Vendor/Project: Anionex
Product: banana-slides

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().

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
anionex/banana-slides
pkg:github/anionex/banana-slides
Affected versions
<=0.4.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 10:06:46 UTC

Technical Analysis

CVE-2026-49136 is a path traversal vulnerability in Anionex banana-slides through version 0.4.0. The generate_image() function in the AI service backend improperly limits pathname access due to an incomplete path prefix check using os.path.startswith() without a trailing separator. This allows unauthenticated attackers to craft markdown image references that resolve to sibling directories with names sharing the uploads folder prefix, thereby bypassing directory confinement and causing the application to read arbitrary image-format files outside the intended uploads directory via PIL Image.open(). The vulnerability is fixed in a commit identified as e8bc490.

Potential Impact

An unauthenticated attacker can read arbitrary image files outside the designated uploads directory, potentially exposing sensitive image data stored on the server. This can lead to unauthorized disclosure of information. The vulnerability does not require user interaction or privileges and has a high CVSS 4.0 score of 8.7, indicating a significant security risk.

Mitigation Recommendations

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-05-27T17:40:12.738Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a1de934e29bf47b503e847f

Added to database: 06/01/2026, 20:19:00 UTC

Last enriched: 07/15/2026, 10:06:46 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 86

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses