Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with add/edit permission on ImageColumn ModelView
-
DeliveryCraft multipart filename with ../ segments
-
ExploitUpload image via save_file endpoint
-
ExecutionUnsanitized path joins outside IMG_UPLOAD_FOLDER
-
ImpactCreate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
More in Flask Appbuilder
View allFlask-AppBuilder is an application development framework, built on top of Flask. Rated critical severity (CVSS 9.1), thi
Flask-AppBuilder is a development framework built on top of Flask. Rated high severity (CVSS 8.8), this vulnerability is
Flask-AppBuilder versions before 4.3.0 lack rate limiting which can allow an attacker to brute-force user credentials. R
Flask-AppBuilder is an application development framework, built on top of Flask. Rated medium severity (CVSS 6.1), this
Flask-AppBuilder is an application development framework, built on top of the Flask web framework. Rated medium severity
Flask-AppBuilder is an application development framework, built on top of Flask. Rated medium severity (CVSS 6.1), this
Flask-AppBuilder is an application development framework. Rated medium severity (CVSS 5.5), this vulnerability is no aut
Flask-AppBuilder is a development framework, built on top of Flask. Rated medium severity (CVSS 5.3), this vulnerability
Flask-AppBuilder is an application development framework. Rated low severity (CVSS 3.7), this vulnerability is remotely
Flask-AppBuilder is an application development framework, built on top of Flask. Rated low severity (CVSS 2.7), this vul
Flask-AppBuilder is an application development framework built on top of Flask python framework. Rated low severity (CVS
Flask-AppBuilder is an application development framework. Rated medium severity (CVSS 6.5), this vulnerability is remote
EUVD-2026-136971
GHSA-wgvf-hcjr-99w7
NVD
CVE.org
EPSS
Exploit-DB