High severity7.5NVD Advisory· Published Feb 10, 2026· Updated Apr 15, 2026
CVE-2026-25577
CVE-2026-25577
Description
Emmett is a framework designed to simplify your development process. Prior to 1.3.11, the cookies property in mmett_core.http.wrappers.Request does not handle CookieError exceptions when parsing malformed Cookie headers. This allows unauthenticated attackers to trigger HTTP 500 errors and cause denial of service. This vulnerability is fixed in 1.3.11.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
emmett-corePyPI | < 1.3.11 | 1.3.11 |
Affected products
1Patches
29557ea23a27cCatch Request cookies parsing errors
1 file changed · +4 −1
emmett_core/http/wrappers/__init__.py+4 −1 modified@@ -61,7 +61,10 @@ def accept_language(self) -> LanguageAccept: def cookies(self) -> SimpleCookie: cookies: SimpleCookie = SimpleCookie() for cookie in self.headers.get("cookie", "").split(";"): - cookies.load(cookie) + try: + cookies.load(cookie) + except Exception: + continue return cookies @property
c126757133e1Catch Request cookies parsing errors
2 files changed · +5 −1
emmett_core/http/wrappers/__init__.py+4 −1 modified@@ -62,7 +62,10 @@ def accept_language(self) -> LanguageAccept: def cookies(self) -> SimpleCookie: cookies: SimpleCookie = SimpleCookie() for cookie in self.headers.get("cookie", "").split(";"): - cookies.load(cookie) + try: + cookies.load(cookie) + except Exception: + continue return cookies @property
pyproject.toml+1 −0 modified@@ -107,6 +107,7 @@ extend-ignore = [ 'N818', # leave to us exceptions naming 'S101', # assert is fine 'S110', # pass on exceptions is fine + 'S112', 'UP031', 'UP038', ]
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- github.com/advisories/GHSA-x6cr-mq53-cc76ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-25577ghsaADVISORY
- github.com/emmett-framework/core/commit/9557ea23a27cbadf7774d8bca6bbe4b54fa8a3ecnvdWEB
- github.com/emmett-framework/core/commit/c126757133e118119a280b58f3bb345b1c9a8a2aghsaWEB
- github.com/emmett-framework/core/security/advisories/GHSA-x6cr-mq53-cc76nvdWEB
News mentions
0No linked articles in our index yet.