Skip to main content

Emmett EUVDEUVD-2026-19974

| CVE-2026-39847 HIGH
Path Traversal (CWE-22)
2026-04-07 GitHub_M GHSA-pr46-2v3c-5356
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Emmett application
  2. Delivery
    Send crafted /__emmett__/../ request
  3. Exploit
    Bypass path validation
  4. Execution
    Read arbitrary server files
  5. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Apr 07, 2026 - 22:16 CVSS 9.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

emmett 2.5.0, < 2.8.1

Affected Packages

pypi emmett fix: 2.8.1

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

NVD PRIMARY 7.5 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

5
Severity Changed
Jul 24, 2026 - 21:22 NVD
CRITICAL HIGH
CVSS changed
Jul 24, 2026 - 21:22 NVD
9.1 (CRITICAL) 7.5 (HIGH)
Analysis Updated
Apr 16, 2026 - 04:57 vuln.today
v2 - CVSS changed
Patch released
Apr 08, 2026 - 02:30 nvd
Patch available
CVE Published
Apr 07, 2026 - 21:37 nvd
CRITICAL 9.1

DescriptionNVD

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 84% exploitable
Threat Intel
1
1 source
Social Media
3
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy