Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-49766— Werkzeug safe_join not safe on Windows

Quick assessment

Affected
pallets werkzeug
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Werkzeug是Pallets开源的一个全面的 WSGI web 应用程序库。 Werkzeug 3.0.6之前版本存在路径遍历漏洞,该漏洞源于在Windows系统上且Python版本小于3.11时,os.path.isabs无法捕捉到UNC路径,导致Werkzeug的safe_join函数可能生成不安全的路径,从而潜在地允许非预期的数据访问。

AI Predicted 5.3 Difficulty: Easy EPSS 0.78% · P54

Possible ATT&CK Techniques 1 AI

T1083 · File and Directory Discovery
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-49766

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Werkzeug safe_join not safe on Windows
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Werkzeug 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Werkzeug是Pallets开源的一个全面的 WSGI web 应用程序库。 Werkzeug 3.0.6之前版本存在路径遍历漏洞,该漏洞源于在Windows系统上且Python版本小于3.11时,os.path.isabs无法捕捉到UNC路径,导致Werkzeug的safe_join函数可能生成不安全的路径,从而潜在地允许非预期的数据访问。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
pallets werkzeug < 3.0.6 -

II. Public POCs for CVE-2024-49766

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-49766

请登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2024-49766

No comments yet


Leave a comment