BreachSpiderVerified, not vibes

CVE-2026-40097 in Smallstep Step-Ca

Low 3.7

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 devic...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.13.7
EPSS0.3%
EPSS percentile15th
FixUnknown

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact.

Affected products and versions

VendorProductAffected versions
Smallstep Step-Ca 0.30.0 ≥ 0.24.0, < 0.30.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-40097
BreachSpider IDBS-2026-GLOBAL-272639-L
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Published2026-04-10
Last modified2026-10-26
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-129: CWE-129

Related attack patterns (CAPEC)

CAPEC-100 Overflow Buffers via CWE-129

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A low severity vulnerability affects Smallstep systems (CVE-2026-40097). No public exploit code is currently available. Review vendor advisories and apply patches during the next maintenance window.

Vulnerability details: 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 CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L.

Questions

What is CVE-2026-40097?

A low severity vulnerability affects Smallstep systems (CVE-2026-40097). No public exploit code is currently available. Review vendor advisories and apply patches during the next maintenance window.

What is the CVSS score for CVE-2026-40097?

CVE-2026-40097 has CVSS 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L. EPSS: 0.3%.

Is CVE-2026-40097 actively exploited?

No confirmed active exploitation of CVE-2026-40097 as of 2026-11-03.

How do I remediate CVE-2026-40097?

Priority: MONITOR. PSIRT: [email protected]

What systems are affected by CVE-2026-40097?

CVE-2026-40097 affects Smallstep Step-Ca.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Smallstep","product":"Step-Ca","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.