CVE-2026-40097

Step CA affected by an index out of bounds panic in TPM attestation EKU validation

LOW
3.7
CVSS Score
Published: April 10, 2026 at 04:34 PM UTC
Updated: June 17, 2026 at 10:44 AM UTC
1 product affected across 1 vendorStep CA

Using certificates by smallstep?

Get instant alerts when new vulnerabilities affect certificates - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW3.7
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.30.0-rc30.24.0 ≤ v < 0.30.00.30.0 rc10.30.0 rc2
Affected range stops below 0.30.0-rc3, so it looks safe — our inference, not a vendor statement

References (4)

x_refsource_CONFIRMMitigationVendor Advisory
Source: cverecord
https://github.com/smallstep/certificates/security/advisories/GHSA-9qq8-cgcv-qmc9
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/smallstep/certificates/pull/2569
x_refsource_MISCProductRelease Notes
Source: cverecord
https://github.com/smallstep/certificates/releases/tag/v0.30.0

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

3.7LOWGitHub_M
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Vector?

Quick Info

StatusANALYZED
CWE
CWE-129

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card