---
schema_version: '1.0'
id: security-20260812-0474bc
title: 'CVE-2026-26007: cryptography Vulnerable to a Subgroup Attack Due to Missing
  Subgroup Validation for SECT Curves'
url: https://osv.dev/vulnerability/GHSA-r6ph-v2qm-q3c2
url_hash: 0474bcedc02daa2bee1639748ccdb641b2b4ed4522c0f50231d2538b21824c06
canonical_url: https://osv.dev/vulnerability/GHSA-r6ph-v2qm-q3c2
source: osv:ghsa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-26007
- GHSA-r6ph-v2qm-q3c2
- severity:CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- cryptography
- PyPI
lang: en
published_at: '2026-02-10T21:27:06Z'
fetched_at: '2026-08-12T16:00:04.346387Z'
updated_at: '2026-08-22T14:37:48Z'
status: published
content_hash: 48883f81cea4d0c6d4a98369224002b2199a8959cb19d04b99cc04f6adb378b7
content_changed_at: '2026-08-22T13:15:21.199178Z'
license_note: full
summary: cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation
  for SECT Curves
summary_source: rss
summary_en: cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation
  for SECT Curves
summary_omitted_reason: null
redistribution: true
keywords_en:
- Attack
- Attackers
- cryptography
- Curves
- CVE
- CVE-2026-26007
- Due
- for
- GHSA-r6ph-v2qm-q3c2
- library vulnerability
- Missing
- PyPI
- SECT
- software security
- Subgroup
- Validation
- Vulnerable
entities_en:
- name: Attackers
  type: organization
- 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
- name: Attackers
  type: organization
related_auto:
- name: Portal
  type: organization
  weight: 1.0
- name: Hugging Face
  type: organization
  weight: 1.0
computed_at: '2026-08-22T14:37:47Z'
---

# CVE-2026-26007: cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation for SECT Curves

## TL;DR
cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation for SECT Curves

## Key Points
- cve / CVE-2026-26007 / GHSA-r6ph-v2qm-q3c2 / severity:CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X / cryptography / PyPI

## Details
**Severity:** CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
**Advisory:** GHSA-r6ph-v2qm-q3c2 (CVE-2026-26007)

**Details:**
## Vulnerability Summary

The `public_key_from_numbers` (or `EllipticCurvePublicNumbers.public_key()`), `EllipticCurvePublicNumbers.public_key()`, `load_der_public_key()` and `load_pem_public_key()` functions do not verify that the point belongs to the expected prime-order subgroup of the curve.

This missing validation allows an attacker to provide a public key point `P` from a small-order subgroup.  This can lead to security issues in various situations, such as the most commonly used signature verification (ECDSA) and shared key negotiation (ECDH). When the victim computes the shared secret as `S = [victim_private_key]P` via ECDH,  this leaks information about `victim_private_key mod (small_subgroup_order)`. For curves with cofactor > 1, this reveals the least significant bits of the private key.  When these weak public keys are used in ECDSA , it's easy to forge signatures on the small subgroup.

Only SECT curves are impacted by this.

## Credit

This vulnerability was discovered by:
- XlabAI Team of Tencent Xuanwu Lab
- Atuin Automated Vulnerability Discovery Engine

**References:**
- https://github.com/pyca/cryptography/security/advisories/GHSA-r6ph-v2qm-q3c2
- https://nvd.nist.gov/vuln/detail/CVE-2026-26007
- https://github.com/pyca/cryptography/commit/0eebb9dbb6343d9bc1d91e5a2482ed4e054a6d8c
- https://github.com/pyca/cryptography
- https://github.com/pyca/cryptography/releases/tag/46.0.5
- http://www.openwall.com/lists/oss-security/2026/02/10/4

_Data: OSV.dev (upstream: ghsa) — https://osv.dev/vulnerability/GHSA-r6ph-v2qm-q3c2_

## Source
元記事: [CVE-2026-26007: cryptography Vulnerable to a Subgroup Attack Due to Missing Subgroup Validation for SECT Curves](https://osv.dev/vulnerability/GHSA-r6ph-v2qm-q3c2) — published 2026-02-10T21:27:06Z
