{"schemaVersion":4,"id":"CVE-2026-137703","aliases":[],"status":"published","duplicateOf":null,"title":"Flask-AppBuilder before 5.3.1 Path Traversal via ImageManager.save_file Upload Filename","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.","dates":{"published":"2026-11-27T02:45:53.773Z","modified":"2026-12-01T16:54:52.260Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.3,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.3,"severity":"medium","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00538,"percentile":0.46804,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-27T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00538,"percentile":0.46804}],"last30":[{"date":"2026-11-27T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00538,"percentile":0.46804}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"dpgaspar","product":"flask-appbuilder","name":"Flask-AppBuilder","label":"flask-appbuilder","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.3.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"5.3.1","endInclusive":false}}],"versionsText":"< 5.3.1","eol":null,"hubHref":"/vendor/dpgaspar/flask-appbuilder"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/dpgaspar/Flask-AppBuilder/pull/2495","label":"github.com/dpgaspar/Flask-AppBuilder/pull/2495","hostname":"github.com","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/dpgaspar/Flask-AppBuilder/commit/44f3522df563dd8af35c87fcafd59fa2e53b4f90","label":"github.com/dpgaspar/Flask-AppBuilder/commit/44f3522df563dd8af35c87fcafd59fa2e53b4f90","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v5.3.1","label":"github.com/dpgaspar/Flask-AppBuilder/releases/tag/v5.3.1","hostname":"github.com","tags":["Release Notes"]},{"url":"https://github.com/dpgaspar/Flask-AppBuilder/blob/v5.3.0/flask_appbuilder/filemanager.py#L151-L182","label":"github.com/dpgaspar/Flask-AppBuilder/blob/v5.3.0/flask_appbuilder/filemanager.py","hostname":"github.com","tags":["Technical Description"]},{"url":"https://github.com/dpgaspar/Flask-AppBuilder/blob/v5.3.0/flask_appbuilder/filemanager.py#L227-L228","label":"github.com/dpgaspar/Flask-AppBuilder/blob/v5.3.0/flask_appbuilder/filemanager.py","hostname":"github.com","tags":["Technical Description"]},{"url":"https://github.com/dpgaspar/Flask-AppBuilder","label":"github.com/dpgaspar/Flask-AppBuilder","hostname":"github.com","tags":["Product"]},{"url":"https://www.vulncheck.com/advisories/flask-appbuilder-before-5.3.1-path-traversal-via-imagemanager-save-file-upload-filename","label":"www.vulncheck.com/advisories/…","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-27T02:45:53.773Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-01T16:54:52.260Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,53],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00538,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-01T16:54:52.260Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.3,"vector":"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","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-12-01T16:54:52.260Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-12-01T16:54:52.260Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.3,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-12-01T16:54:52.260Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-01T16:54:39.470Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00538,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T08:03:29.184Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T08:03:29.748Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T08:03:29.946Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T08:01:00.622Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T08:03:27.537Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T08:03:26.585Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T08:59:43.577Z","stale":false,"partial":false}}