CVE-2026-137703
published medium CVSS 4.0 · 5.3Flask-AppBuilder before 5.3.1 Path Traversal via ImageManager.save_file Upload Filename
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| dpgaspar | — | Flask-AppBuilder0 to < 5.3.1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.4 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| dpgaspar | Flask-AppBuilder | 0 to < 5.3.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
7- https://github.com/dpgaspar/Flask-AppBuilder
- https://github.com/dpgaspar/Flask-AppBuilder/blob/v5.3.0/flask_appbuilder/filemanager.py#L151-L182
- https://github.com/dpgaspar/Flask-AppBuilder/blob/v5.3.0/flask_appbuilder/filemanager.py#L227-L228
- Patch Commit https://github.com/dpgaspar/Flask-AppBuilder/commit/44f3522df563dd8af35c87fcafd59fa2e53b4f90
- Pull Request #2495 https://github.com/dpgaspar/Flask-AppBuilder/pull/2495
- Flask-AppBuilder v5.3.1 Release Notes https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v5.3.1
- VulnCheck Advisory: Flask-AppBuilder before 5.3.1 Path Traversal via ImageManager.save_file Upload Filename https://www.vulncheck.com/advisories/flask-appbuilder-before-5.3.1-path-traversal-via-imagemanager-save-file-upload-filename
Provider assertions
2VulnCheck · cna
Flask-AppBuilder before 5.3.1 Path Traversal via ImageManager.save_file Upload Filename
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d844133243bd787e0bff610562acb03ef5facdc46c9ace6f8e7921a860d83ada
- Ingested
- 01 Dec 2026, 17:00:20 UTC
- Source record
- Official CVE record