# CVE-2026-137703: Flask-AppBuilder before 5.3.1 Path Traversal via ImageManager.save_file Upload Filename

Source: https://aplosec.si/cve/CVE-2026-137703/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-137703

Medium 5.3 · Reported · Fixed in 5.3.1 · CWE-22 · PyPI

# Flask-AppBuilder before 5.3.1 Path Traversal via ImageManager.save_file Upload Filename

CVE-2026-137703 · published 2026-11-26

In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). A fixed release is listed.

## Summary

CVE-2026-137703 affects Flask-AppBuilder (PyPI) < 5.3.1: Path Traversal via ImageManager.save_file Upload Filename (CWE-22). Fixed in 5.3.1. CVSS 4.0 base score 5.3 (Medium), assigned by VulnCheck. Published 2026-11-26 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

Upgrade Flask-AppBuilder to 5.3.1 or later. Releases in the affected range (< 5.3.1) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-11-26 CVE published

## References

- [Releasehttps://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v5.3.1](https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v5.3.1)

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/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)

- [Fix pull requesthttps://github.com/dpgaspar/Flask-AppBuilder/pull/2495](https://github.com/dpgaspar/Flask-AppBuilder/pull/2495)

- [Fix commithttps://github.com/dpgaspar/Flask-AppBuilder/commit/44f3522df563dd8af35c87fcafd59fa2e53b4f90](https://github.com/dpgaspar/Flask-AppBuilder/commit/44f3522df563dd8af35c87fcafd59fa2e53b4f90)

- [Vulnerable codehttps://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#L151-L182)

- [Vulnerable codehttps://github.com/dpgaspar/Flask-AppBuilder/blob/v5.3.0/flask_appbuilder/filemanager.py#L227-L228](https://github.com/dpgaspar/Flask-AppBuilder/blob/v5.3.0/flask_appbuilder/filemanager.py#L227-L228)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-137703](https://www.cve.org/CVERecord?id=CVE-2026-137703)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-137703](https://nvd.nist.gov/vuln/detail/CVE-2026-137703)

**Severity:** Medium 5.3 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-137703)

**Package:** Flask-AppBuilder

**Ecosystem:** PyPI

**Affected:** < 5.3.1

**Fixed:** 5.3.1

**Weakness:** CWE-22

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
