AploSec / Disclosures / CVE-2026-137703

Medium 5.3ReportedFixed in 5.3.1CWE-22PyPI

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

Severity
Medium 5.3CVSS 4.0, scored by VulnCheck in the CVE record
Package
Flask-AppBuilder
Ecosystem
PyPI
Affected
< 5.3.1
Fixed
5.3.1
Weakness
CWE-22
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder