---
schema_version: '1.0'
id: security-20260812-3073ff
title: CVE-2026-48526 — pyjwt
url: https://osv.dev/vulnerability/PYSEC-2026-179
url_hash: 3073ff2776e66898046f2ae7741ff95bc5054aaf120add65733ed87a3190e5c5
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-179
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-48526
- PYSEC-2026-179
- severity:CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- pyjwt
- PyPI
lang: en
published_at: '2026-05-28T16:16:29Z'
fetched_at: '2026-08-12T16:00:04.764329Z'
updated_at: '2026-08-22T14:49:09Z'
status: published
content_hash: dead29bd73f870d6f0971a27c44f9763fbf20d87d02db8cf804c6b56c47fd542
content_changed_at: '2026-08-22T13:15:21.902927Z'
license_note: full
summary: PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, when
  the verifier is decoding JSON Web Tokens, while supporting both asymmetric and HMAC
  algorithms, the library does not validate use of JSON Web Keys in HMAC algorithm,
  allowing attacker to use the issuer publ
summary_source: rss
summary_en: PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, when
  the verifier is decoding JSON Web Tokens, while supporting both asymmetric and HMAC
  algorithms, the library does not validate use of JSON Web Keys in HMAC algorithm,
  allowing attacker to use the issuer publ
summary_omitted_reason: null
redistribution: true
keywords_en:
- CVE
- CVE-2026-48526
- library vulnerability
- pyjwt
- PyPI
- PYSEC-2026-179
- severity:CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- 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:07Z'
---

# CVE-2026-48526 — pyjwt

## TL;DR
PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, when the verifier is decoding JSON Web Tokens, while supporting both asymmetric and HMAC algorithms, the library does not validate use of JSON Web Keys in HMAC algorithm, allowing attacker to use the issuer publ

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

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

**Details:**
PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, when the verifier is decoding JSON Web Tokens, while supporting both asymmetric and HMAC algorithms, the library does not validate use of JSON Web Keys in HMAC algorithm, allowing attacker to use the issuer public key as the secret key for HMAC algorithm. This vulnerability is fixed in 2.13.0.

**References:**
- https://github.com/jpadilla/pyjwt/security/advisories/GHSA-xgmm-8j9v-c9wx

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

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