Live threats

All CVEs / Smallstep

CVE-2026-40097Smallstep Step-ca

Low 3.7 No auth needed

Priority
37
CVSS 3.1
3.7
EPSS
—
Auth required
No
Published
Apr 10, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-129
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Step-ca.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/smallstep/certificates ≥ 0.24.0 < 0.30.0 0.30.0 go get github.com/smallstep/certificates@v0.30.0
Go github.com/smallstep/certificates ≥ 0.24.0 < 0.30.0 0.30.0 go get github.com/smallstep/certificates@v0.30.0

Per OSV / GitHub Advisories (GHSA-9qq8-cgcv-qmc9, GO-2026-5297). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
smallstepstep-ca≥ 0.24.0 < 0.30.0
smallstepstep-ca0.30.0
smallstepstep-ca0.30.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.