CVE-2026-137703
Flask-AppBuilder before 5.3.1 Path Traversal via ImageManager.save_file Upload Filename
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.
Fixes and workarounds
Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: VulnCheckFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: VulnCheckAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| Flask-AppBuilder dpgaspar flask-appbuilder
pypi |
≥ 0; < 5.3.1 (affected, semver)
Other versions: unaffected |
CNA: VulnCheck |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 5.3 medium |
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 | CNA: VulnCheck |
| 3.1 / 5.4 medium |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L | CNA: VulnCheck |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/dpgaspar/Flask-AppBuilder/pull/2495CNA: VulnCheck · issue-tracking, patch
- https://github.com/dpgaspar/Flask-AppBuilder/commit/44f3522df563dd8af35c87fcafd59fa2e53b4f90CNA: VulnCheck · patch
- https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v5.3.1CNA: VulnCheck · release-notes
- https://github.com/dpgaspar/Flask-AppBuilder/blob/v5.3.0/flask_appbuilder/filemanager.py#L151-L182CNA: VulnCheck · technical-description
- https://github.com/dpgaspar/Flask-AppBuilder/blob/v5.3.0/flask_appbuilder/filemanager.py#L227-L228CNA: VulnCheck · technical-description
- https://github.com/dpgaspar/Flask-AppBuilderCNA: VulnCheck · product
- https://www.vulncheck.com/advisories/flask-appbuilder-before-5.3.1-path-traversal-via-imagemanager-save-file-upload-filenameCNA: VulnCheck · third-party-advisory
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.