CVE-2026-40097 | smallstep certificates up to 0.30.0-rc2 array index (GHSA-9qq8-cgcv-qmc9)
VulDBArchived Apr 10, 2026✓ Full text saved
A vulnerability was found in smallstep certificates up to 0.30.0-rc2 . It has been classified as problematic . This impacts an unknown function. This manipulation causes improper validation of array index. This vulnerability appears as CVE-2026-40097 . The attack may be initiated remotely. There is no available exploit. Upgrading the affected component is recommended.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-356894 · CVE-2026-40097 · GHSA-9QQ8-CGCV-QMC9
SMALLSTEP CERTIFICATES UP TO 0.30.0-RC2 ARRAY INDEX
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
3.7 $0-$5k 0.52+
Summaryinfo
A vulnerability was found in smallstep certificates up to 0.30.0-rc2. It has been declared as problematic. Affected is an unknown function. Such manipulation leads to array index. This vulnerability is traded as CVE-2026-40097. The attack may be launched remotely. There is no exploit available. It is recommended to upgrade the affected component.
Detailsinfo
A vulnerability was found in smallstep certificates up to 0.30.0-rc2. It has been rated as problematic. Affected by this issue is some unknown processing. The manipulation with an unknown input leads to a array index vulnerability. Using CWE to declare the problem leads to CWE-129. The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array. Impacted is availability. CVE summarizes:
Step CA is an online certificate authority for secure, automated certificate management for DevOps. From 0.24.0 to before 0.30.0-rc3, an attacker can trigger an index out-of-bounds panic in Step CA by sending a crafted attestation key (AK) certificate with an empty Extended Key Usage (EKU) extension during TPM device attestation. When processing a device-attest-01 ACME challenge using TPM attestation, Step CA validates that the AK certificate contains the tcg-kp-AIKCertificate Extended Key Usage OID. During this validation, the EKU extension value is decoded from its ASN.1 representation and the first element is checked. A crafted certificate could include an EKU extension that decodes to an empty sequence, causing the code to panic when accessing the first element of the empty slice. This vulnerability is only reachable when a device-attest-01 ACME challenge with TPM attestation is configured. Deployments not using TPM device attestation are not affected. This vulnerability is fixed in 0.30.0-rc3.
The advisory is available at github.com. This vulnerability is handled as CVE-2026-40097 since 04/09/2026. The exploitation is known to be difficult. The attack may be launched remotely. No form of authentication is required for exploitation. The technical details are unknown and an exploit is not available.
Upgrading to version 0.30.0-rc3 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch ffd31ac0a87e03b0224cb8363094bfe602242888 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Productinfo
Vendor
smallstep
Name
certificates
Version
0.30.0-rc1
0.30.0-rc2
License
open-source
Website
Product: https://github.com/smallstep/certificates/
CPE 2.3info
🔒
🔒
CPE 2.2info
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 3.7
VulDB Meta Temp Score: 3.7
VulDB Base Score: 3.7
VulDB Temp Score: 3.6
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 3.7
CNA Vector (GitHub_M): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Array index
CWE: CWE-129 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: certificates 0.30.0-rc3
Patch: ffd31ac0a87e03b0224cb8363094bfe602242888
Timelineinfo
04/09/2026 CVE reserved
04/10/2026 +1 days Advisory disclosed
04/10/2026 +0 days VulDB entry created
04/10/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-9qq8-cgcv-qmc9
Status: Confirmed
CVE: CVE-2026-40097 (🔒)
GCVE (CVE): GCVE-0-2026-40097
GCVE (VulDB): GCVE-100-356894
Entryinfo
Created: 04/10/2026 20:29
Changes: 04/10/2026 20:29 (66)
Complete: 🔍
Cache ID: 99:41E:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸