CVE-2026-137703
Flask-AppBuilder before 5.3.1 Path Traversal via ImageManager.save_file Upload Filename
Medium · 5.3Fix available
- CVSS
- 5.3
- EPSS
- 0.54% (p39)
- Published
- 2026-11-27
- Age
- 2d old
- Modified
- 2026-11-27
- Product
- dpgaspar Flask-AppBuilder
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
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.
Fixed in
5.3.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Flask-AppBuilder | >=0, <5.3.1 | 5.3.1 |
Sources
- NVD · first seen 2d ago · NVD terms of use
- OSV · first seen 19h ago · CC-BY 4.0
- CVE List · first seen 2d ago · CVE Terms of Use
References
- https://github.com/dpgaspar/Flask-AppBuilder/pull/2495 issue-tracking
- https://github.com/dpgaspar/Flask-AppBuilder/commit/44f3522df563dd8af35c87fcafd59fa2e53b4f90 patch
- https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v5.3.1 release-notes
- https://github.com/dpgaspar/Flask-AppBuilder/blob/v5.3.0/flask_appbuilder/filemanager.py#L151-L182 technical-description
- https://github.com/dpgaspar/Flask-AppBuilder/blob/v5.3.0/flask_appbuilder/filemanager.py#L227-L228 technical-description
- https://github.com/dpgaspar/Flask-AppBuilder product
- https://www.vulncheck.com/advisories/flask-appbuilder-before-5.3.1-path-traversal-via-imagemanager-save-file-upload-filename third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137703.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-137703 advisory