CVE-2026-26007
JSON

8.2high

cryptography Subgroup Attack Due to Missing Subgroup Validation for SECT Curves

Severity
8.2high CVSS:4.0 by GitHub_M
Exploit likelihood
0.37% (higher than 32% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-r6ph-v2qm-q3c2PYSEC-2026-2141

Description

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to 46.0.5, 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. This vulnerability is fixed in 46.0.5.

Affected

Product or packageVersionsReported by
pyca cryptography< 46.0.5CVE List
automation-controllerNot specified
Not affected: from 0:4.6.28-3.el8ap before *, from 0:4.6.28-3.el9ap before *
CVE List
fence-agentsNot specified
Not affected: from 0:4.2.1-129.el8_10.25 before *, from 0:4.10.0-110.el9_8.2 before *, from 0:4.10.0-98.el9_7.12 before *, from 0:4.10.0-43.el9_2.21 before *, from 0:4.10.0-62.el9_4.24 before *, from 0:4.10.0-86.el9_6.16 before *
CVE List
ansible-automation-platform-25/lightspeed-rhel8Not specified
Not affected: from 1774446874 before *, from 1777403872 before *
CVE List
ansible-automation-platform-25/lightspeed-chatbot-rhel8Not specified
Not affected: from 1774414699 before *
CVE List
ansible-automation-platform-26/eda-controller-rhel9Not specified
Not affected: from 1777296732 before *
CVE List
ansible-automation-platform-26/lightspeed-chatbot-rhel9Not specified
Not affected: from 1774417022 before *, from 1777398576 before *
CVE List
ansible-automation-platform-26/lightspeed-rhel9Not specified
Not affected: from 1774363040 before *, from 1777387242 before *
CVE List
ansible-automation-platform-26/mcp-tools-rhel9Not specified
Not affected: from 1777311601 before *
CVE List
ansible-automation-platform-26/hub-rhel9Not specified
Not affected: from 1774644659 before *
CVE List
discovery/discovery-server-rhel9Not specified
Not affected: from 1770913597 before *
CVE List
python-cryptography-mainNot specified
Not affected: from 46.0.7-1.hum1 before *
CVE List

All scores

GitHub_M8.2high CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
redhat-SADP7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHubhigh CVSS:4.0CVSS: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
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
PyPA Advisory Database6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Classification

CWE-345CWE-354

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to 46.0.5, 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. This vulnerability is fixed in 46.0.5.

GitHub Advisory Database

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
NVD (es)

Criptografía es un paquete diseñado para exponer primitivas criptográficas y recetas a los desarrolladores de Python. Antes de la versión 46.0.5, las funciones public_key_from_numbers (o EllipticCurvePublicNumbers.public_key()), EllipticCurvePublicNumbers.public_key(), load_der_public_key() y load_pem_public_key() no verifican que el punto pertenezca al subgrupo de orden primo esperado de la curva. Esta validación faltante permite a un atacante proporcionar un punto P de clave pública de un subgrupo de orden pequeño. Esto puede llevar a problemas de seguridad en varias situaciones, como la verificación de firma (ECDSA) y la negociación de clave compartida (ECDH) más comúnmente utilizadas. Cuando la víctima calcula el secreto compartido como S = [victim_private_key]P a través de ECDH, esto filtra información sobre victim_private_key mod (orden_subgrupo_pequeño). Para curvas con cofactor &gt; 1, esto revela los bits menos significativos de la clave privada. Cuando estas claves públicas débiles se utilizan en ECDSA, es fácil falsificar firmas en el subgrupo pequeño. Solo las curvas SECT se ven afectadas por esto. Esta vulnerabilidad está corregida en la versión 46.0.5.

References

https://github.com/pyca/cryptography/security/advisories/GHSA-r6ph-v2qm-q3c2advisory, vendor-advisory, web
https://github.com/pyca/cryptography/commit/0eebb9dbb6343d9bc1d91e5a2482ed4e054a6d8cfix, patch, web
http://www.openwall.com/lists/oss-security/2026/02/10/4advisory, mailing-list, third-party-advisory, web
https://access.redhat.com/security/cve/CVE-2026-26007vdb-entry, web
https://bugzilla.redhat.com/show_bug.cgi?id=2438762issue-tracking, report
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-26007.jsonweb
https://access.redhat.com/errata/RHSA-2026:13512advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2026:12176advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2026:22330advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2026:21517advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2026:21431advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2026:13672advisory, vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-26007 changed 2026-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-r6ph-v2qm-q3c2 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-26007 changed 2026-09-10Public domain
PyPA Advisory DatabasePYSEC-2026-2141 changed 2026-07-13CC-BY-4.0