Emmett has a path traversal in internal assets handler
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-39847
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:17 UTC · Revision 1
Source evidence
Emmett has a path traversal in internal assets handler
core-osv · Original sourcePublished 7 Apr 2026, 21:37 UTC
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.
osv:CVE-2026-39847
Complete source record
{
"id": "32758906db29ae1f309578377f939aa0499db428b7f02af4c86ffba88343b26b",
"url": "https://osv.dev/vulnerability/CVE-2026-39847",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Emmett has a path traversal in internal assets handler",
"summary": "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.",
"evidence": "osv:CVE-2026-39847",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-39847",
"aliases": [
"CVE-2026-39847",
"GHSA-pr46-2v3c-5356",
"PYSEC-2026-59"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/emmett-framework/emmett",
"type": "GIT",
"events": [
{
"introduced": "db19b6ee077b19afb223926fd2249d39ab74df35"
},
{
"fixed": "bc367fe574bc9880636e4b0e831c8e588dc49c98"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "2.5.0"
},
{
"fixed": "2.8.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:emmett:emmett:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.5.0"
},
{
"fixed": "2.8.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.8.0",
"v2.7.1",
"v2.7.0",
"v2.6.3",
"v2.6.2",
"v2.6.1",
"v2.6.0",
"v2.5.13",
"v2.5.12",
"v2.5.11",
"v2.5.10",
"v2.5.9",
"v2.5.8",
"v2.5.7",
"v2.5.6",
"v2.5.5",
"v2.5.4",
"v2.5.3",
"v2.5.2",
"v2.5.1",
"v2.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-39847.json"
}
}
],
"modified": "2026-10-28T02:30:37.714919843Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39847.json",
"https://github.com/emmett-framework/emmett/security/advisories/GHSA-pr46-2v3c-5356",
"https://nvd.nist.gov/vuln/detail/CVE-2026-39847"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39847.json"
}
},
"related_cves": [
{
"value": "CVE-2026-39847",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505240,
"published_at": "2026-04-07T21:37:54.76+00:00"
}