---
id: CVE-2023-49082
title: aiohttp is an asynchronous HTTP client/server framework for asyncio and Python
summary: >-
  aiohttp is an asynchronous HTTP client/server framework for asyncio and
  Python. Improper validation makes it possible for an attacker to modify the
  HTTP request (e.g. insert a new header) or even create a new HTTP request if
  the attacker…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'
cwe:
  - CWE-20
  - CWE-93
vendor: aiohttp
product: aiohttp
affected:
  - aiohttp < 3.9.0
patched:
  - aiohttp 3.9.0
published: '2023-11-29'
updated: '2026-06-23'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-49082'
references:
  - url: 'https://gist.github.com/jnovikov/7f411ae9fe6a9a7804cf162a3bdbb44b'
    label: security-advisories@github.com
  - url: >-
      https://github.com/aio-libs/aiohttp/commit/e4ae01c2077d2cfa116aa82e4ff6866857f7c466
    label: security-advisories@github.com
  - url: 'https://github.com/aio-libs/aiohttp/pull/7806/files'
    label: security-advisories@github.com
  - url: >-
      https://github.com/aio-libs/aiohttp/security/advisories/GHSA-qvrw-v9rv-5rjx
    label: security-advisories@github.com
  - url: 'https://gist.github.com/jnovikov/7f411ae9fe6a9a7804cf162a3bdbb44b'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/aio-libs/aiohttp/commit/e4ae01c2077d2cfa116aa82e4ff6866857f7c466
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/aio-libs/aiohttp/pull/7806/files'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/aio-libs/aiohttp/security/advisories/GHSA-qvrw-v9rv-5rjx
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSYWMP64ZFCTC3VO6RY6EC6VSSMV6I3A/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-49082'
  - url: 'https://github.com/aio-libs/aiohttp'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2023-251.yaml
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TY5SI6NK5243DEEDQUFKQKW5GQNKQUMA
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSYWMP64ZFCTC3VO6RY6EC6VSSMV6I3A
tags:
  - nvd
  - osv
  - pip
epss: 0.00948
epssPercentile: 0.59691
ingestedAt: '2026-06-29T13:24:33.943Z'
aliases:
  - GHSA-qvrw-v9rv-5rjx
  - PYSEC-2023-251
ecosystem: pip
---

## Overview

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Improper validation makes it possible for an attacker to modify the HTTP request (e.g. insert a new header) or even create a new HTTP request if the attacker controls the HTTP method. The vulnerability occurs only if the attacker can control the HTTP method (GET, POST etc.) of the request. If the attacker can control the HTTP version of the request it will be able to modify the request (request smuggling). This issue has been patched in version 3.9.0.

## Affected

- `aiohttp < 3.9.0`

## Remediation

Upgrade past the affected range:

- `aiohttp 3.9.0`

## Package advisory (CVE-2023-49082)

Affected packages:

- `aiohttp < 3.9.0`

Patched in:

- `aiohttp 3.9.0`

Source: https://osv.dev/vulnerability/GHSA-qvrw-v9rv-5rjx
