---
id: CVE-2026-54279
aliases:
  - GHSA-2fqr-mr3j-6wp8
  - PYSEC-2026-2112
title: 'aiohttp: Host-Only Cookies Become Domain Cookies After CookieJar Persistence'
summary: 'aiohttp: Host-Only Cookies Become Domain Cookies After CookieJar Persistence'
severity: low
vendor: aiohttp
product: aiohttp
ecosystem: pip
affected:
  - aiohttp < 3.14.1
patched:
  - aiohttp 3.14.1
published: '2026-06-15'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:51:07.471021274Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-2fqr-mr3j-6wp8'
references:
  - url: >-
      https://github.com/aio-libs/aiohttp/security/advisories/GHSA-2fqr-mr3j-6wp8
  - url: 'https://github.com/aio-libs/aiohttp'
  - url: 'https://github.com/advisories/GHSA-2fqr-mr3j-6wp8'
tags:
  - osv
  - pip
  - ghsa
epss: 0.00493
epssPercentile: 0.39785
cwe:
  - CWE-665
ingestedAt: '2026-07-07T15:41:58.694Z'
---

## Overview

### Summary

Host-only cookies that are saved with ``CookieJar.save()`` and then restored later with ``CookieJar.load()`` lose their host-only status.

### Impact

Host-only cookies that have been loaded from disk may get sent to subdomains that previously should have been disallowed.

-----

Patch: https://github.com/aio-libs/aiohttp/commit/a329a7aacad5284f087af36103aff778746da0f2

## Affected packages

- `aiohttp < 3.14.1`

## Remediation

Upgrade to a patched release:

- `aiohttp 3.14.1`
