Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Emmett application
-
DeliverySend crafted /__emmett__/../ request
-
ExploitBypass path validation
-
ExecutionRead arbitrary server files
-
ImpactExfiltrate sensitive data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the Emmett application to serve internal framework assets through the default RSGI static handler at /__emmett__ paths rather than offloading static file serving to a dedicated web server or CDN. Applications deployed behind reverse proxies configured to strip or block requests to /__emmett__/* are not exploitable via this vector. The vulnerability affects only installations where network access to the Emmett application server is permitted on the web serving port (typically TCP 8000 or 80/443). Default Emmett configurations enabling the internal asset handler are vulnerable without additional hardening. No specific application features, non-default settings, or user interaction required beyond standard HTTP request handling - this is remote unauthenticated exploitation against default Emmett 2.5.x through 2.8.0 configurations. Exploitation is limited to reading files accessible to the web server process user account and does not provide write access or code execution directly. |
| Impact | The CVSS 3.1 score of 9.1 (Critical) reflects remote network exploitation (AV:N) with low attack complexity (AC:L), no authentication required (PR:N), no user interaction (UI:N), high confidentiality impact (C:H), and high availability impact (A:H). However, real-world risk appears moderate rather than critical based on multiple constraining factors. EPSS exploitation probability of 0.05% (16th percentile) suggests attackers are not actively targeting this vulnerability in the wild, likely due to Emmett's relatively small deployment footprint compared to mainstream frameworks like Django or Flask. The vulnerability requires the application to use Emmett's default static asset serving configuration for /__emmett__ paths rather than offloading static content to dedicated web servers (nginx, Apache), which is common in production deployments. While the CVSS vector indicates high availability impact, the description only confirms confidentiality breach through file disclosure - the availability scoring may be overstated unless read operations against certain files could trigger denial of service. No CISA KEV listing or public proof-of-concept code identified, further supporting the low EPSS assessment. This is a high-severity issue for affected Emmett deployments but not an internet-wide emergency requiring immediate weekend patching. |
| Exploit ScenarioDerived | An attacker discovers an internet-facing Emmett application through framework fingerprinting (version headers, error messages, or characteristic URL patterns). They craft HTTP requests to /__emmett__/../../../etc/passwd to verify path traversal, then systematically retrieve sensitive files including /__emmett__/../../app/config.py for database credentials, /__emmett__/../../.env for API keys, and application source code to identify additional vulnerabilities. The low attack complexity (AC:L) and no authentication requirement (PR:N) enable automated scanning tools to exploit this at scale once applications are identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 16, 2026
Path traversal in Emmett Python web framework versions 2.5.0 through 2.8.0 allows remote unauthenticated attackers to read arbitrary server files via crafted requests to the /__emmett__ static asset handler. Attackers can exfiltrate sensitive data including source code, configuration files, and credentials by exploiting improper path validation in the RSGI static handler. EPSS score of 0.05% (16th percentile) indicates low observed exploitation likelihood despite critical CVSS 9.1 rating. No public exploit code or CISA KEV listing identified at time of analysis.
Earlier versions of this analysis (1)
Path traversal in Emmett Python web framework versions 2.5.0 through 2.8.0 allows unauthenticated remote attackers to read arbitrary files from the server filesystem via malicious requests to the RSGI static handler endpoint. Attackers can bypass directory restrictions by inserting ../ sequences in /__emmett__ asset paths (e.g., /__emmett__/../rsgi/handlers.py) to access sensitive files including source code, configuration files, and credentials. With CVSS 9.1 (Critical) and network-based attack vector requiring no privileges or user interaction, this vulnerability poses severe confidentiality and availability risks. EPSS data not available; no confirmed active exploitation (CISA KEV) or public exploit code identified at time of analysis.
RemediationAI
Upgrade to Emmett version 2.8.1 or later, which contains vendor-released patch fixing the path traversal vulnerability in the RSGI static handler. The fix is available through standard Python package managers via pip install --upgrade emmett or by updating requirements.txt to specify emmett>=2.8.1. For environments unable to upgrade immediately, implement compensating controls by configuring a reverse proxy (nginx, Apache, Caddy) to block requests matching the pattern /__emmett__/.*\.\./ or to deny all access to /__emmett__/* paths if the application does not require Emmett's internal asset serving. This mitigation prevents external access to the vulnerable handler but may break framework functionality relying on those assets (debugging tools, admin interfaces). Alternatively, deploy Emmett behind a web application firewall with path traversal detection rules, though this provides defense-in-depth rather than eliminating the underlying vulnerability. The reverse proxy approach introduces configuration complexity and requires testing to ensure legitimate application routes remain accessible. Review application logs for requests to /__emmett__ paths containing ../ sequences as potential exploitation indicators. Consult the GitHub advisory at https://github.com/emmett-framework/emmett/security/advisories/GHSA-pr46-2v3c-5356 for additional vendor guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Emmett is a full-stack Python web framework that serves internal framework assets through a dedicated RSGI (Rapid Server Gateway Interface) static file handler at the /__emmett__ path prefix. The vulnerability stems from CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) where the static handler fails to properly sanitize user-controlled path input. Attackers can inject directory traversal sequences (../) to escape the intended assets directory and access arbitrary filesystem locations accessible to the web server process. The RSGI handler, responsible for serving framework resources like JavaScript, CSS, and Python modules, processes these malicious paths without adequate canonicalization or boundary validation, treating /__emmett__/../rsgi/handlers.py as a legitimate request rather than a directory escape attempt. This affects the cpe:2.3:a:emmett-framework:emmett product line specifically.
Know when Emmett gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
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.
Executive ViewAI
A critical path traversal vulnerability in Emmett Python web framework versions 2.5.0-2.8.0 permits unauthenticated remote attackers to read arbitrary files from affected servers, potentially exposing source code, configuration data, and credentials. Organizations running these versions face immediate risk of sensitive data exfiltration through the static asset handler, requiring urgent patching despite current low observed exploitation rates.
Apply vendor patch. If immediate patching is not possible: (1) Implement network-level access controls restricting requests to /__emmett__ endpoint to internal/trusted IPs only; (2) Deploy Web Application Firewall rules to block path traversal patterns (../, ..\, encoded variants) in requests to static asset handlers; (3) Disable or rename the /__emmett__ static handler if not required for application functionality; (4) Implement file access monitoring and alerting on configuration and credential files.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-19974
GHSA-pr46-2v3c-5356
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB