Read the docs

Path traversal in Flask-AppBuilder image uploads lets users write files

Priority LOW 25CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · Low · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Flask-AppBuilder before 5.3.1 contains a path traversal flaw (CWE-22) in ImageManager.save_file, which does not sanitize multipart upload filenames. An authenticated user with add or edit permission on a ModelView with an ImageColumn can upload filenames containing ../ segments to write image files outside IMG_UPLOAD_FOLDER, including overwriting static assets. The CVSS 4.0 vector rates the impact as low integrity and low availability with low privileges required over the network.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

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.

Why it matters now

EPSS 0.00538 38th percentileScored 2026-11-30
Fix Fixed Flask-AppBuilder (dpgaspar): 5.3.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
dpgasparFlask-AppBuilderbefore 5.3.15.3.1Patch availableCNA
  • Flask-AppBuilder Vendordpgaspar Affected before 5.3.1 Fixed in 5.3.1 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:dpgaspar:flask-appbuilder:*:*:*:*:*:*:*:*——dpgaspar
  • cpe:2.3:a:dpgaspar:flask-appbuilder:*:*:*:*:*:*:*:* Versions — — ·dpgaspar

Remediation

Update Flask-AppBuilder to version 5.3.1 or later, which fixes the issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

  • Fix · CNA Flask-AppBuilder (dpgaspar) Fixed in 5.3.1

Timeline

  1. 2026-11-27 Threatist record created from CVE-2026-137703
  2. 2026-11-27 Alias added: GHSA-wgvf-hcjr-99w7

References

  • TI-2024-17946 Flask-AppBuilder's OAuth login page subject to Cross Site Scripting (XSS) CVSS 3.1MEDIUM 6.1
  • TI-2024-16581 Flask-AppBuilder incorrect authentication when using auth type OpenID CVSS 3.1CRITICAL 9.1
  • TI-2021-18097 Improper Authentication in Flask-AppBuilder CVSS 3.1HIGH 8.8
  • TI-2023-13466 No Rate Limiting on Login AUTH DB CVSS 3.1HIGH 7.5
  • TI-2021-12470 URL Redirection to Untrusted Site ('Open Redirect') in Flask-AppBuilder CVSS 3.1HIGH 7.2
  • TI-2022-06037 Observable Response Discrepancy in Flask-AppBuilder CVSS 3.1MEDIUM 5.3
See all 14 →

Sources