Skip to main content

Flask-AppBuilder EUVDEUVD-2026-136971

| CVE-2026-137703 MEDIUM
Path Traversal (CWE-22)
2026-11-27 VulnCheck GHSA-wgvf-hcjr-99w7
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with add/edit permission on ImageColumn ModelView
  2. Delivery
    Craft multipart filename with ../ segments
  3. Exploit
    Upload image via save_file endpoint
  4. Execution
    Unsanitized path joins outside IMG_UPLOAD_FOLDER
  5. Impact
    Create or overwrite static image assets

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated account that holds add or edit permission on a Flask-AppBuilder ModelView exposing an ImageColumn, with IMG_UPLOAD_FOLDER configured; the attacker then supplies a multipart upload filename containing ../ segments, which ImageManager.save_file (v5.3.0 and earlier) joins onto the upload folder without sanitization. Limiting factors that reduce realistic risk: the attacker cannot act unauthenticated (PR:L) and must specifically have write-capable (add/edit) rights on an image-bearing view; the saved payload is processed as an image (via PIL) and the stored name is prefixed with a UUID separator, so this is constrained to writing/overwriting image files outside the folder (e.g. static assets) rather than arbitrary-content file write or code execution.

Impact

This is a medium-severity, authentication-gated issue rather than a drop-everything emergency, and the signals are internally consistent. The CVSS 4.0 vector (base 5.3) is AV:N/AC:L/AT:N/PR:L/UI:N with VC:N/VI:L/VA:L - network-reachable and low-complexity, but requiring low-level privileges (PR:L) and yielding only limited integrity and availability impact with no confidentiality loss. The description reinforces this: the attacker must already be an authenticated user holding add or edit permission on a ModelView that exposes an ImageColumn, which is a meaningful access precondition, not a drive-by. No EPSS score is provided in the input, there is no CISA KEV listing, and no public exploit code is referenced (the GitHub links are the vendor patch/release and the advisory, not a working PoC), so there is no evidence of active or widespread exploitation. The vuln.today Decision label is this_month, consistent with a real but non-urgent priority. The one caveat worth stating: EPSS and SSVC exploitation-status data are absent from the input, so prioritization rests on CVSS plus the Decision label alone. The practical impact is further bounded because ImageManager re-processes uploaded data as an image (via PIL) and prefixes a UUID separator, so this writes/overwrites image files outside the folder rather than giving arbitrary-content file write or direct code execution.

Exploit ScenarioDerived

An authenticated user who holds add or edit permission on a ModelView containing an ImageColumn uploads an image whose multipart filename embeds ../ traversal segments; because ImageManager.save_file joins the unsanitized filename onto IMG_UPLOAD_FOLDER, the resulting image is written outside that folder, letting the attacker create or overwrite files such as static assets. No public exploit identified at time of analysis; per the CVSS vector this is network-reachable with low attack complexity and no user interaction, but requires low-privilege authentication.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 27, 2026

Path traversal in Flask-AppBuilder before 5.3.1 lets an authenticated user who can add or edit records on a ModelView with an ImageColumn write image files outside the configured IMG_UPLOAD_FOLDER. The multipart upload filename is joined onto the upload path without sanitization, so ../ segments can create or overwrite image assets such as files under static; stored names are UUID-prefixed and payloads are processed as images via PIL, which limits this to image-file writes rather than arbitrary file write or code execution. No public exploit code was identified at time of analysis.

RemediationAI

Upgrade to Flask-AppBuilder 5.3.1, the vendor-released fixed version, which incorporates GitHub PR 2495 and commit 44f3522df563dd8af35c87fcafd59fa2e53b4f90, with release tag v5.3.1. The patch sanitizes upload filenames with secure_filename and rejects resolved paths outside the upload base directory via an os.path.commonpath containment check. If upgrading cannot be done immediately, restrict add or edit permissions on ModelViews that expose ImageColumn fields to trusted users, consistent with the stated exploitation prerequisite, and keep IMG_UPLOAD_FOLDER outside directories served as static assets; these reduce exposure but do not replace the vendor fix.

Affected VersionsENISA

Flask-AppBuilder 0 <5.3.1

Affected Packages

euvd flask_appbuilder fix: 5.3.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-22 path traversal in flask_appbuilder/filemanager.py ImageManager.save_file (v5.3.0 lines 151-182 and 227-228). Flask-AppBuilder uses Werkzeug FileStorage for multipart uploads and PIL to process images; ImageManager builds a destination path by joining the configured IMG_UPLOAD_FOLDER with the client-supplied filename, and before 5.3.1 did not sanitize ../ segments or verify that the resolved path stayed under the base directory. The fix in PR 2495 applies secure_filename() to the upload name and adds an os.path.commonpath containment check that raises ValueError when the resolved path falls outside base_path. Exploitation requires an authenticated account with add or edit permission on a ModelView exposing an ImageColumn, plus IMG_UPLOAD_FOLDER configured; the UUID prefix and PIL image processing constrain impact to writing or overwriting image files outside the folder, consistent with the assessed CVSS:3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L.

Know when Flask Appbuilder gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.4 MEDIUM

Network-reachable upload endpoint with low complexity; PR:L because add/edit permission on an ImageColumn view is required; no confidentiality, only limited integrity/availability from overwriting image files.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Medium
popular Python admin framework, underpins Apache Superset, not universally deployed
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2024-25128 CRITICAL
9.1 Feb 29

Flask-AppBuilder is an application development framework, built on top of Flask. Rated critical severity (CVSS 9.1), thi

CVE-2021-41265 HIGH
8.8 Dec 09

Flask-AppBuilder is a development framework built on top of Flask. Rated high severity (CVSS 8.8), this vulnerability is

CVE-2023-29005 HIGH
7.5 Apr 10

Flask-AppBuilder versions before 4.3.0 lack rate limiting which can allow an attacker to brute-force user credentials. R

CVE-2024-27083 MEDIUM
6.1 Feb 29

Flask-AppBuilder is an application development framework, built on top of Flask. Rated medium severity (CVSS 6.1), this

CVE-2022-24776 MEDIUM
6.1 Mar 24

Flask-AppBuilder is an application development framework, built on top of the Flask web framework. Rated medium severity

CVE-2021-32805 MEDIUM
6.1 Sep 08

Flask-AppBuilder is an application development framework, built on top of Flask. Rated medium severity (CVSS 6.1), this

CVE-2024-45314 MEDIUM
5.5 Sep 04

Flask-AppBuilder is an application development framework. Rated medium severity (CVSS 5.5), this vulnerability is no aut

CVE-2021-29621 MEDIUM
5.3 Jun 07

Flask-AppBuilder is a development framework, built on top of Flask. Rated medium severity (CVSS 5.3), this vulnerability

CVE-2025-24023 LOW
3.7 Mar 03

Flask-AppBuilder is an application development framework. Rated low severity (CVSS 3.7), this vulnerability is remotely

CVE-2023-34110 LOW
2.7 Jun 22

Flask-AppBuilder is an application development framework, built on top of Flask. Rated low severity (CVSS 2.7), this vul

CVE-2022-31177 LOW
2.7 Aug 01

Flask-AppBuilder is an application development framework built on top of Flask python framework. Rated low severity (CVS

CVE-2025-58065 MEDIUM
6.5 Sep 11

Flask-AppBuilder is an application development framework. Rated medium severity (CVSS 6.5), this vulnerability is remote

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy