VDB

CVE-2024-49766

CVE-2024-49766 PUBLISHED CVSS 6.3 MEDIUM

Werkzeug safe_join not safe on Windows

Reported by github_m · Published October 25, 2024

Werkzeug is fixed in 3.0.6 (PyPI)

Werkzeug is a Web Server Gateway Interface web application library. On Python < 3.11 on Windows, os.path.isabs() does not catch UNC paths like //server/share. Werkzeug's safe_join() relies on this check, and so can produce a path that is not safe, potentially allowing unintended access to data. Applications using Python >= 3.11, or not using Windows, are not vulnerable. Werkzeug version 3.0.6 contains a patch.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
WerkzeugPyPI3.0.6
supersetWolfi4.0.2-r6
airflow-3Chainguard3.2.0-r0
py3-werkzeugChainguard3.0.6-r0
mlflowChainguard2.21.0-r0
kubeflow-jupyter-web-appWolfi1.9.2-r1
airflow-2Chainguard2.11.1-r0
py3-werkzeugWolfi3.0.6-r0
airflow-core-2Chainguard2.11.1-r0
airflow-3Wolfi3.2.0-r0
kubeflow-volumes-web-appChainguard1.9.2-r1
airflowChainguard2.10.5-r44

4 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
6.3
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
palletswerkzeug< 3.0.6
wolfisuperset0
chainguardairflow-30
chainguardpy3-werkzeug0
chainguardmlflow0
wolfikubeflow-jupyter-web-app0
chainguardairflow-20
wolfipy3-werkzeug0
chainguardairflow-core-20
wolfiairflow-30
palletswerkzeug
chainguardkubeflow-volumes-web-app0
chainguardairflow0
wolfikubeflow-pipelines-visualization-server0
wolfikubeflow-volumes-web-app0
chainguardsuperset0
palletswerkzeug0
wolfiemissary0
chainguardkubeflow-pipelines-visualization-server0
wolfimlflow0

…and 4 more

Timeline

  • Oct 25, 2024 CVE Published
  • Oct 25, 2024 Coalition ESS Score (15 in total, the first dated here)
  • Oct 26, 2024 EPSS Score (30 in total, the first dated here)
  • Jan 31, 2025 CVE Updated
  • Jan 2, 2026 Security Advisory
  • Sep 30, 2026 VulnCheck KEV Exploitation

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-49766
vulnetix vdb fixes CVE-2024-49766

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-49766/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›