3.7

CVE-2026-40097: smallstep certificates Improper Validation of Array Index

CVSS: 3.7v3.1LowAnalyzed
AliasesGHSA-9qq8-cgcv-qmc9GO-2026-5297
Published 10-04-2026Last modified 10-04-2026

Vulnerability summary

CVE-2026-40097 is a low (CVSS 3.7) Improper Validation of Array Index vulnerability in smallstep certificates. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 19.6% of scored vulnerabilities.

Overall risk
15/100
0100
Low · default modelHow is this calculated?
CVSS score
3.7/10
010
Low · v3.1 (CVE.org)
EPSS score
0.28%
0%100%
Low · +0.10 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 10-04-2026
    PublishedVulnerability first disclosed.
  2. 10-04-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.28%

Chance of exploitation in the next 30 days

Percentile

20%

Versus all other CVEs

30-day change

+0.10 pp

From 0.18% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.28%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Smallstep2 products
Github.com/smallstep1 product
  • certificates≥ 0.24.0, < 0.30.0

2 vendors · 3 products

References

6 links