CVE-2026-39847: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in emmett-framework emmett
Emmett is a full-stack Python web framework designed with simplicity. From 2.5.0 to before 2.8.1, the RSGI static handler for Emmett's internal assets (/__emmett__ paths) is vulnerable to path traversal attacks. An attacker can use ../ sequences (eg /__emmett__/../rsgi/handlers.py) to read arbitrary files outside the assets directory. This vulnerability is fixed in 2.8.1.
AI Analysis
Technical Summary
Emmett framework versions from 2.5.0 to before 2.8.1 contain a path traversal vulnerability (CWE-22) in the RSGI static handler serving internal assets under the /__emmett__ path. By crafting requests with ../ sequences (e.g., /__emmett__/../rsgi/handlers.py), an attacker can read arbitrary files outside the designated assets directory. This can lead to unauthorized disclosure of sensitive files. The vulnerability is resolved in version 2.8.1.
Potential Impact
An unauthenticated attacker can exploit this vulnerability remotely over the network to read arbitrary files on the server hosting the Emmett framework. This can result in disclosure of sensitive information and potentially impact system availability. The CVSS score of 9.1 indicates a critical impact primarily due to high confidentiality and availability impacts without requiring privileges or user interaction.
Mitigation Recommendations
Upgrade the Emmett framework to version 2.8.1 or later, where this path traversal vulnerability is fixed. Since no official patch or temporary fix details are provided beyond the version update, applying this version upgrade is the recommended remediation.
CVE-2026-39847: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in emmett-framework emmett
Description
Emmett is a full-stack Python web framework designed with simplicity. From 2.5.0 to before 2.8.1, the RSGI static handler for Emmett's internal assets (/__emmett__ paths) is vulnerable to path traversal attacks. An attacker can use ../ sequences (eg /__emmett__/../rsgi/handlers.py) to read arbitrary files outside the assets directory. This vulnerability is fixed in 2.8.1.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Emmett framework versions from 2.5.0 to before 2.8.1 contain a path traversal vulnerability (CWE-22) in the RSGI static handler serving internal assets under the /__emmett__ path. By crafting requests with ../ sequences (e.g., /__emmett__/../rsgi/handlers.py), an attacker can read arbitrary files outside the designated assets directory. This can lead to unauthorized disclosure of sensitive files. The vulnerability is resolved in version 2.8.1.
Potential Impact
An unauthenticated attacker can exploit this vulnerability remotely over the network to read arbitrary files on the server hosting the Emmett framework. This can result in disclosure of sensitive information and potentially impact system availability. The CVSS score of 9.1 indicates a critical impact primarily due to high confidentiality and availability impacts without requiring privileges or user interaction.
Mitigation Recommendations
Upgrade the Emmett framework to version 2.8.1 or later, where this path traversal vulnerability is fixed. Since no official patch or temporary fix details are provided beyond the version update, applying this version upgrade is the recommended remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-07T19:13:20.378Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d57b23aaed68159a6dfc1e
Added to database: 4/7/2026, 9:46:11 PM
Last enriched: 4/7/2026, 10:01:20 PM
Last updated: 4/8/2026, 12:26:00 AM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.