Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-137703: medium-severity vulnerability (CVSS 5.3) in dpgaspar Flask-AppBuilder.
What happened
Original description from the source: 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
Medium severity, CVSS 5.3.
Affected products and versions
dpgaspar Flask-AppBuilder < 5.3.1
| Product | Versions | Fixed in |
|---|---|---|
| dpgaspar Flask-AppBuilder | < 5.3.1 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/dpgaspar/Flask-AppBuilder/pull/2495 — CVE Program
- https://github.com/dpgaspar/Flask-AppBuilder/commit/44f3522df563dd8af35c87fcafd59fa2e53b4f90 — CVE Program
- https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v5.3.1 — CVE Program
- https://github.com/dpgaspar/Flask-AppBuilder/blob/v5.3.0/flask_appbuilder/filemanager.py#L151-L182 — CVE Program
- https://github.com/dpgaspar/Flask-AppBuilder/blob/v5.3.0/flask_appbuilder/filemanager.py#L227-L228 — CVE Program
- https://github.com/dpgaspar/Flask-AppBuilder — CVE Program
- https://www.vulncheck.com/advisories/flask-appbuilder-before-5.3.1-path-traversal-via-imagemanager-save-file-upload-filename — CVE Program
Weaknesses (CWE): CWE-22
Relevant change history
Published
Preliminary advisory published.