---
schema_version: '1.0'
id: security-20260812-5e077d
title: CVE-2026-48524 — pyjwt
url: https://osv.dev/vulnerability/PYSEC-2026-177
url_hash: 5e077d5be21255c63cdc6e95f71b6d9f41a02884473ef6015cdfcfb88b94c815
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-177
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-48524
- PYSEC-2026-177
- severity:CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- pyjwt
- PyPI
lang: en
published_at: '2026-05-28T16:16:29Z'
fetched_at: '2026-08-12T16:00:04.757571Z'
updated_at: '2026-08-22T14:49:09Z'
status: published
content_hash: 697e41e9195fb118d1ee6e20d939521f589e21980d37d0f2726bcdc3aa236f8c
content_changed_at: '2026-08-22T13:15:21.897096Z'
license_note: full
summary: PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient.get_signing_key()
  forces a fresh HTTP request to the JWKS endpoint for every JWT with an unknown kid
  value, with no rate limiting. Since kid comes from the unverified token header,
  an attacker can tr
summary_source: rss
summary_en: PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient.get_signing_key()
  forces a fresh HTTP request to the JWKS endpoint for every JWT with an unknown kid
  value, with no rate limiting. Since kid comes from the unverified token header,
  an attacker can tr
summary_omitted_reason: null
redistribution: true
keywords_en:
- CVE
- CVE-2026-48524
- library vulnerability
- pyjwt
- PyPI
- PYSEC-2026-177
- severity:CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- software security
entities_en:
- name: CVE
  type: data
- name: PyPI
  type: artifact
topics_en:
- library vulnerability
- software security
numeric_facts: []
entities:
- name: CVE
  type: data
- name: PyPI
  type: artifact
related_auto:
- name: Portal
  type: organization
  weight: 1.0
- name: Hugging Face
  type: organization
  weight: 1.0
computed_at: '2026-08-22T14:49:06Z'
---

# CVE-2026-48524 — pyjwt

## TL;DR
PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient.get_signing_key() forces a fresh HTTP request to the JWKS endpoint for every JWT with an unknown kid value, with no rate limiting. Since kid comes from the unverified token header, an attacker can tr

## Key Points
- cve / CVE-2026-48524 / PYSEC-2026-177 / severity:CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L / pyjwt / PyPI

## Details
**Severity:** CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
**Advisory:** PYSEC-2026-177 (CVE-2026-48524)

**Details:**
PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient.get_signing_key() forces a fresh HTTP request to the JWKS endpoint for every JWT with an unknown kid value, with no rate limiting. Since kid comes from the unverified token header, an attacker can trigger unlimited outbound requests. The vulnerability surfaces only when a JWKS fetch fails; an attacker can attempt to provoke that with sustained unknown-kid traffic, but the outcome depends on upstream JWKS-endpoint behavior (rate limiting, transient errors) which is beyond the attacker's control. This vulnerability is fixed in 2.13.0.

**References:**
- https://github.com/jpadilla/pyjwt/security/advisories/GHSA-fhv5-28vv-h8m8

_Data: OSV.dev (upstream: pypa) — https://osv.dev/vulnerability/PYSEC-2026-177_

## Source
元記事: [CVE-2026-48524 — pyjwt](https://osv.dev/vulnerability/PYSEC-2026-177) — published 2026-05-28T16:16:29Z
