CVE-2026-137703
Received Received - Intake

Path Traversal in Flask-AppBuilder via ImageManager.save_file

Vulnerability report for CVE-2026-137703, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-27

Last updated on: 2026-11-27

Assigner: VulnCheck

Description

Flask-AppBuilder before 5.3.1 contains a path traversal vulnerability in ImageManager.save_file that allows authenticated users to write image files outside IMG_UPLOAD_FOLDER via unsanitized multipart filenames. Attackers with add or edit permission on a ModelView with an ImageColumn can upload filenames containing ../ segments to create or overwrite image files like static assets.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-27
Last Modified
2026-11-27
Generated
2026-11-27
AI Q&A
2026-11-27
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
dpgaspar Flask-AppBuilder From 0 (inc) to 5.3.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Flask-AppBuilder before 5.3.1 has a path traversal flaw in ImageManager.save_file. Authenticated users with add or edit permissions can upload filenames with ../ segments to write image files outside the intended IMG_UPLOAD_FOLDER directory. This bypasses path restrictions and allows overwriting or creating files, including static assets.

Detection Guidance

Check Flask-AppBuilder version with pip show flask-appbuilder or grep -r 'Flask-AppBuilder' in your project files. Inspect file uploads for filenames containing '../' or unusual paths. Review logs for unauthorized file writes outside IMG_UPLOAD_FOLDER.

Impact Analysis

Attackers could overwrite critical files like static assets, leading to potential code execution, data corruption, or denial of service. It may also allow unauthorized access to sensitive files if they are stored outside the intended directory.

Mitigation Strategies

Upgrade Flask-AppBuilder to version 5.3.1 or later immediately. Restrict file upload permissions to trusted users only. Monitor for suspicious file uploads or modifications in static directories.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-137703. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...