{"id":"CVE-2026-39847","aliases":["CVE-2026-39847","GHSA-pr46-2v3c-5356","PYSEC-2026-59"],"related":[],"kind":"vulnerability","state":"published","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"The RSGI static handler for Emmett's internal assets (`/__emmett__` paths) is vulnerable to path traversal attacks.\n\nAn attacker can use `../` sequences (eg `/__emmett__/../rsgi/handlers.py`) to read arbitrary files outside the assets directory.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Emmett es un framework web Python full-stack diseñado con simplicidad. Desde la versión 2.5.0 hasta antes de la 2.8.1, el gestor estático RSGI para los activos internos de Emmett (rutas /__emmett__) es vulnerable a ataques de salto de ruta. Un atacante puede usar secuencias ../ (ej. /__emmett__/../rsgi/handlers.py) para leer archivos arbitrarios fuera del directorio de activos. Esta vulnerabilidad está corregida en la versión 2.8.1.","source":"nvd"}],"published":"2026-04-07T21:37:54.760Z","modified":"2026-07-24T21:10:00.143Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":">= 2.5.0, < 2.8.1","status":"affected"}],"vendor":"emmett-framework","product":"emmett","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.5.0","status":"affected","fixed":"2.8.1"}],"ecosystem":"PyPI","package":"emmett","purl":"pkg:pypi/emmett","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.5.0","fixed":"2.8.1"}],"vendor":"emmett","product":"emmett","cpe":"cpe:2.3:a:emmett:emmett:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"2.5.0","status":"affected","fixed":"2.8.1"}],"ecosystem":"PyPI","package":"emmett","purl":"pkg:pypi/emmett","source":"pysec"}],"references":[{"url":"https://github.com/emmett-framework/emmett/security/advisories/GHSA-pr46-2v3c-5356","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39847","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/emmett-framework/emmett","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/emmett/PYSEC-2026-59.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-04-08T15:33:34.667Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-39847","url":"https://www.cve.org/CVERecord?id=CVE-2026-39847","licence":"CVE Terms of Use","modified":"2026-04-08T15:35:40.853Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pr46-2v3c-5356","url":"https://github.com/advisories/GHSA-pr46-2v3c-5356","licence":"CC-BY-4.0","modified":"2026-06-06T00:30:08.754Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-39847","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39847","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-59","url":"https://osv.dev/vulnerability/PYSEC-2026-59","licence":"CC-BY-4.0","modified":"2026-05-20T09:18:59.901Z"}],"updatedAt":"2026-11-25T22:59:18.186Z","epss":{"score":0.00526,"percentile":0.45995,"date":"2026-12-01T12:00:22.000Z"}}