python-django-channels — security advisory
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.
- Products
- python-django-channels
- Affected versions
- Not specified
- Fixed versions
- 3.0.3-1
- CVEs
- CVE-2020-35681
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 13:15 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2020-35681
python-django-channels
Fixed versions: 3.0.3-1
python-django-channels
Fixed versions: 3.0.3-1
python-django-channels
Fixed versions: 3.0.3-1
Complete source record
{
"id": "b38a1cde86367edce0818f12aa061c542a22dbe45c8e9ecad6070891119d029b",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-35681",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2020-35681",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2020-35681",
"products": [
{
"name": {
"value": "python-django-channels",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.0.3-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "python-django-channels",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.0.3-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "python-django-channels",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.0.3-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2020-35681",
"aliases": [
"DEBIAN-CVE-2020-35681"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.3-1"
}
]
}
],
"package": {
"name": "python-django-channels",
"purl": "pkg:deb/debian/python-django-channels?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-35681.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.3-1"
}
]
}
],
"package": {
"name": "python-django-channels",
"purl": "pkg:deb/debian/python-django-channels?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-35681.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.3-1"
}
]
}
],
"package": {
"name": "python-django-channels",
"purl": "pkg:deb/debian/python-django-channels?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-35681.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T12:02:14.425198301Z",
"provider": "osv",
"upstream": [
"CVE-2020-35681"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2020-35681"
]
},
"related_cves": [
{
"value": "CVE-2020-35681",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 452053,
"published_at": "2021-02-22T03:15:14.31+00:00"
}