CVE-2026-40097

LOW
INFO Priority: 0.01 BB Relevance: 57/100
Published: 2026-04-10 Modified: 2026-10-26 First seen: 2026-10-29 Status: active

Attack Surface

Network No Auth No Interaction

CVSS Vector Breakdown

AV: Network
AC: High
PR: None
UI: None
S: Unchanged
C: None
I: None
A: Low

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.

Weakness Classification (1)

Affected Software (3)

VendorProductVersion
smallstep step-ca 0.24.0 – 0.30.0
smallstep step-ca 0.30.0
smallstep step-ca 0.30.0

Bug Bounty Relevance

57 / 100
✓ Network accessible
✓ No authentication
✓ No user interaction

CVSS Score

3.7 / 10.0 v3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

EPSS — Exploitation Probability

0.18%
Raw Score 0.001810
Percentile 7.7%
Date 2026-10-29

EPSS Trend

2026-10-29
0.00181
2026-10-28
0.00181

Intelligence Sources

nvd ref →