Path traversal in Flask-AppBuilder image uploads lets users write files
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Flask-AppBuilder before 5.3.1 contains a path traversal flaw (CWE-22) in ImageManager.save_file, which does not sanitize multipart upload filenames. An authenticated user with add or edit permission on a ModelView with an ImageColumn can upload filenames containing ../ segments to write image files outside IMG_UPLOAD_FOLDER, including overwriting static assets. The CVSS 4.0 vector rates the impact as low integrity and low availability with low privileges required over the network.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Update Flask-AppBuilder to version 5.3.1 or later, which fixes the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
- Fix · CNA Flask-AppBuilder (dpgaspar) Fixed in 5.3.1
Timeline
- 2026-11-27 Threatist record created from CVE-2026-137703
- 2026-11-27 Alias added: GHSA-wgvf-hcjr-99w7
References
More dpgaspar vulnerabilities
- TI-2024-17946 Flask-AppBuilder's OAuth login page subject to Cross Site Scripting (XSS) CVSS 3.1MEDIUM 6.1
- TI-2024-16581 Flask-AppBuilder incorrect authentication when using auth type OpenID CVSS 3.1CRITICAL 9.1
- TI-2021-18097 Improper Authentication in Flask-AppBuilder CVSS 3.1HIGH 8.8
- TI-2023-13466 No Rate Limiting on Login AUTH DB CVSS 3.1HIGH 7.5
- TI-2021-12470 URL Redirection to Untrusted Site ('Open Redirect') in Flask-AppBuilder CVSS 3.1HIGH 7.2
- TI-2022-06037 Observable Response Discrepancy in Flask-AppBuilder CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-137703 · CVE Program
- CVE-2026-137703 · NVD
- FIRST EPSS
- GHSA-wgvf-hcjr-99w7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences