CVE-2024-42367
In aiohttp, compressed files as symlinks are not protected from path traversal
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In versions on the 3.10 branch prior to version 3.10.2, static routes which contain files with compressed variants (`.gz` or `.br` extension) are vulnerable to path traversal outside the root directory if those variants are symbolic links. The server protects static routes from path traversal outside the root directory when `follow_symlinks=False` (default). It does this by resolving the requested URL to an absolute path and then checking that path relative to the root. However, these checks are not performed when looking for compressed variants in the `FileResponse` class, and symbolic links are then automatically followed when performing the `Path.stat()` and `Path.open()` to send the file. Version 3.10.2 contains a patch for the issue.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.650% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 4.8 · published by GitHub_MCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Assessment source · checked 2026-11-19T12:57:16.353Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:16.353Z | CVE Program |
| epss | verified | 2026-11-19T16:04:39.116Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:21.770Z | OSV |
| affected | verified | 2026-11-19T12:57:16.353Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:16.353Z | CVE Program |
Affected versions and configuration
aio-libs aiohttp; default status: unknown: >= 3.10.0b1, < 3.10.2 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "aio-libs",
"product": "aiohttp",
"versions": [
{
"status": "affected",
"version": ">= 3.10.0b1, < 3.10.2"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-42367",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-08-09T18:18:15.360284Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-08-09T18:18:23.758Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-jwhx-xcg6-8xhj",
"aliases": [
"CVE-2024-42367",
"PYSEC-2026-1108"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.10.0b1"
},
{
"fixed": "3.10.2"
}
]
}
],
"package": {
"name": "aiohttp",
"purl": "pkg:pypi/aiohttp",
"ecosystem": "PyPI"
},
"versions": [
"3.10.0",
"3.10.0b1",
"3.10.0rc0",
"3.10.1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-jwhx-xcg6-8xhj/GHSA-jwhx-xcg6-8xhj.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jwhx-xcg6-8xhj",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-42367",
"type": "ADVISORY"
},
{
"url": "https://github.com/aio-libs/aiohttp/pull/8653",
"type": "WEB"
},
{
"url": "https://github.com/aio-libs/aiohttp/commit/ce2e9758814527589b10759a20783fb03b98339f",
"type": "WEB"
},
{
"url": "https://github.com/aio-libs/aiohttp",
"type": "PACKAGE"
},
{
"url": "https://github.com/aio-libs/aiohttp/blob/e0ff5246e1d29b7710ab1a2bbc972b48169f1c05/aiohttp/web_fileresponse.py#L177",
"type": "WEB"
},
{
"url": "https://github.com/aio-libs/aiohttp/blob/e0ff5246e1d29b7710ab1a2bbc972b48169f1c05/aiohttp/web_urldispatcher.py#L674",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-61"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2024-08-12T13:38:34Z",
"github_reviewed_at": "2024-08-09T16:49:58Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2026-1108",
"aliases": [
"CVE-2024-42367",
"GHSA-jwhx-xcg6-8xhj"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.10.0b1"
},
{
"fixed": "3.10.2"
}
]
}
],
"package": {
"name": "aiohttp",
"purl": "pkg:pypi/aiohttp",
"ecosystem": "PyPI"
},
"versions": [
"3.10.0",
"3.10.0b1",
"3.10.0rc0",
"3.10.1"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/aiohttp/PYSEC-2026-1108.yaml"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/aio-libs/aiohttp/security/advisories/GHSA-jwhx-xcg6-8xhj",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-42367",
"type": "ADVISORY"
},
{
"url": "https://github.com/aio-libs/aiohttp/pull/8653",
"type": "WEB"
},
{
"url": "https://github.com/aio-libs/aiohttp/commit/ce2e9758814527589b10759a20783fb03b98339f",
"type": "FIX"
},
{
"url": "https://github.com/aio-libs/aiohttp",
"type": "PACKAGE"
},
{
"url": "https://github.com/aio-libs/aiohttp/blob/e0ff5246e1d29b7710ab1a2bbc972b48169f1c05/aiohttp/web_fileresponse.py#L177",
"type": "WEB"
},
{
"url": "https://github.com/aio-libs/aiohttp/blob/e0ff5246e1d29b7710ab1a2bbc972b48169f1c05/aiohttp/web_urldispatcher.py#L674",
"type": "WEB"
},
{
"url": "https://pypi.org/project/aiohttp",
"type": "PACKAGE"
},
{
"url": "https://github.com/advisories/GHSA-jwhx-xcg6-8xhj",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | aiohttp | Not a distribution channel | 3.10.2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:21.770ZArchived source JSON
Source publication: 2024-08-09T16:49:58.000Z
Source modification: 2026-09-10T03:50:18.259ZDocument fingerprint
fd85fbbe1afc9895f36773944c2f0ca5b54a1cd637878a4a7992c22290338d3e - OSVConsulted: 2026-11-19T12:52:21.770ZArchived source JSON
Source publication: 2026-07-07T14:34:38.838Z
Source modification: 2026-07-07T17:46:11.097ZDocument fingerprint
fd85fbbe1afc9895f36773944c2f0ca5b54a1cd637878a4a7992c22290338d3e - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:16.353ZArchived source JSON
Source publication: 2024-08-09T17:25:22.562Z
Source modification: 2025-06-09T12:17:50.733ZDocument fingerprint
06fff871c1f723819c98d239bbbaab5db10e7683aaec6ff283e47b6a116d2656 - FIRST EPSSConsulted: 2026-11-19T16:04:39.116ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
9f0dcd79a206c1e9df7af3ccc3246b94763cde2daafc074aaa6c06dadb41d7a7
Official status history
- UNKNOWN → PUBLISHED · · evidence