GHSA-pr46-2v3c-5356

Suggest an improvement
Source
https://github.com/advisories/GHSA-pr46-2v3c-5356
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-pr46-2v3c-5356/GHSA-pr46-2v3c-5356.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pr46-2v3c-5356
Aliases
Published
2026-04-08T00:18:46Z
Modified
2026-06-06T00:30:08.754262586Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Emmett has a path traversal in internal assets handler
Details

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.

Database specific
{
    "github_reviewed_at": "2026-04-08T00:18:46Z",
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "nvd_published_at": "2026-04-07T22:16:23Z"
}
References

Affected packages

PyPI / emmett

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.5.0
Fixed
2.8.1

Affected versions

2.*
2.5.0
2.5.1
2.5.2
2.5.3
2.5.4
2.5.5
2.5.6
2.5.7
2.5.8
2.5.9
2.5.10
2.5.11
2.5.12
2.5.13
2.6.0
2.6.1
2.6.2
2.6.3
2.7.0
2.7.1
2.8.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-pr46-2v3c-5356/GHSA-pr46-2v3c-5356.json"