# CVE-2020-35681

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability: affected before 3.0.3 (CNA); fix release not confirmed
- Status: published
- Published: 2021-02-22 · Modified: 2024-08-04
- Aliases: GHSA-v542-8q9x-cffc, PYSEC-2021-113, UBUNTU-CVE-2020-35681, DEBIAN-CVE-2020-35681
- Record: https://cvemate.com/vulnerability/CVE-2020-35681 · JSON: https://cvemate.com/vulnerability/CVE-2020-35681/json

## Description

```text
Django Channels 3.x before 3.0.3 allows remote attackers to obtain sensitive information from a different request scope. The legacy channels.http.AsgiHandler class, used for handling HTTP type requests in an ASGI environment prior to Django 3.0, did not correctly separate request scopes in Channels 3.0. In many cases this would result in a crash but, with correct timing, responses could be sent to the wrong client, resulting in potential leakage of session identifiers and other sensitive data. Note that this affects only the legacy Channels provided class, and not Django's similar ASGIHandler, available from Django 3.0.
```

## Signals

- CVSS: 7.4 high (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
- EPSS: 2.691%, percentile 86.369%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian python-django-channels (Debian): \< 3.0.3-1
- ubuntu python-django-channels (Ubuntu): All versions (No fix recorded)
- djangoproject channels: ≥ 3.0.0, \< 3.0.3
- PyPI channels (PyPI): ≥ 3.0.0, \< 3.0.3

## References

- <https://github.com/django/channels/releases>
- <https://channels.readthedocs.io/en/stable/releases/index.html>
- <https://channels.readthedocs.io/en/stable/releases/3.0.3.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-35681>
- <https://github.com/django/channels/commit/e85874d9630474986a6937430eac52db79a2a022>
- <https://github.com/advisories/GHSA-v542-8q9x-cffc>
- <https://github.com/django/channels>
- <https://github.com/pypa/advisory-database/tree/main/vulns/channels/PYSEC-2021-113.yaml>
- <https://ubuntu.com/security/CVE-2020-35681>
- <https://channels.readthedocs.io/en/latest/releases/3.0.3.html#cve-2020-35681-potential-leakage-of-session-identifiers-using-legacy-asgihandler>
- <https://www.cve.org/CVERecord?id=CVE-2020-35681>
- <https://security-tracker.debian.org/tracker/CVE-2020-35681>

---

Data as of 2026-12-05T08:54:29.767Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
