{"id":"CVE-2023-6976","published":"2023-12-20T05:30:08Z","modified":"2024-08-02T08:50:06Z","title":"Unrestricted Upload of File with Dangerous Type","vendor":"mlflow","product":"mlflow/mlflow","tier":"tail","description":{"text":"This vulnerability is capable of writing arbitrary files into arbitrary locations on the remote filesystem in the context of the server process.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01033,"percentile":0.63032,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://huntr.com/bounties/2408a52b-f05b-4cac-9765-4f74bac3f20f","tags":[]},{"url":"https://github.com/mlflow/mlflow/commit/5044878da0c1851ccfdd5c0a867157ed9a502fbc","tags":[]}],"priority":{"score":18.8,"factors":[{"name":"EPSS percentile","points":12.61},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"mlflow","affectedVersions":[{"vendor":"mlflow","product":"mlflow/mlflow","versions":[">= unspecified, < 2.9.2"]}],"affected":[{"ecosystem":"PyPI","package":"mlflow","vulnerableRanges":["<2.9.2"],"patched":["2.9.2"],"from":["GHSA-wv8q-4f85-2p8p","PYSEC-2026-1662"],"provenance":"source"}],"summary":{"text":"The flaw is an unrestricted upload of a file with a dangerous type in MLflow (product mlflow/mlflow), where the server accepts uploaded files without restricting their type. An attacker with network access and low-privilege authenticated access can, with no user interaction and under the default configuration, write arbitrary files to arbitrary locations on the remote filesystem in the context of the server process.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:15Z"},"euvd":{"id":"EUVD-2023-3319","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mlflow-mlflow-cve-2023-1177","parents":[{"from":"CVE-2023-1177","to":"CVE-2023-6976","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["mlflow/server/handlers.py"],"commits":["https://github.com/mlflow/mlflow/commit/7162a50c654792c21f3e4a160eb1a0e6a34f6e6e","https://github.com/mlflow/mlflow/commit/5044878da0c1851ccfdd5c0a867157ed9a502fbc"],"basis":"shared function","functions":["_download_artifact","_upload_artifact"]}]},{"from":"CVE-2023-30172","to":"CVE-2023-6976","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["mlflow/server/handlers.py"],"commits":["https://github.com/mlflow/mlflow/commit/ac4b697bb0bb8a331944dca63f4235b4bf602ab8","https://github.com/mlflow/mlflow/commit/5044878da0c1851ccfdd5c0a867157ed9a502fbc"],"basis":"shared function","functions":["_list_artifacts","get_model_version_artifact_handler"]}]},{"from":"CVE-2023-6018","to":"CVE-2023-6976","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["mlflow/store/artifact/http_artifact_repo.py"],"commits":["https://github.com/mlflow/mlflow/commit/55c72d02380e8db8118595a4fdae7879cb7ac5bd","https://github.com/mlflow/mlflow/commit/5044878da0c1851ccfdd5c0a867157ed9a502fbc"],"basis":"shared function","functions":["list_artifacts"]}]},{"from":"CVE-2023-6831","to":"CVE-2023-6976","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["mlflow/utils/uri.py"],"commits":["https://github.com/mlflow/mlflow/commit/1da75dfcecd4d169e34809ade55748384e8af6c1","https://github.com/mlflow/mlflow/commit/5044878da0c1851ccfdd5c0a867157ed9a502fbc"],"basis":"shared function","functions":["validate_path_is_safe"]}]},{"from":"CVE-2023-6909","to":"CVE-2023-6976","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["mlflow/utils/uri.py"],"commits":["https://github.com/mlflow/mlflow/commit/1da75dfcecd4d169e34809ade55748384e8af6c1","https://github.com/mlflow/mlflow/commit/5044878da0c1851ccfdd5c0a867157ed9a502fbc"],"basis":"shared function","functions":["validate_path_is_safe"]}]}]}}