GitHub Advisoryadvisory · Go

GHSA-q4r8-xm5f-56gw step-ca has Unauthenticated Certificate Issuance via SCEP UpdateReq (MessageType=18)

CRITICAL Published 2026-03-19 Modified 2026-04-08 Official page ↗
Aliases
CVE-2026-30836
Ecosystem
Go
Packages
github.com/smallstep/certificates
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Weaknesses
CWE-287, CWE-295
Reviewed
2026-03-19

Affected packages

• Go github.com/smallstep/certificates: < 0.30.0 → fixed in 0.30.0

Description

Summary An attacker can force a Step CA SCEP provisioner to create certificates without completing certain protocol authorization checks. Details SCEP requests carry a message type. On receipt of a SCEP request, Step CA starts processing it by parsing its contents. Message types that were considered valid, but not explicitly supported in Step CA, would result in getting parsed successfully. While processing the parsed SCEP message, authorization logic would be skipped for the non-supported message types. As a result, the request would be treated as authorized, bypassing the authorization checks normally enforced as part of the SCEP protocol and its implementation in Step CA. Authorization webhooks and regular CA policies, such as allowed names and restrictions on certificate validity periods, remain in place. Mitigations If you are unable to upgrade to v0.30.0 or newer, the attack can be mitigated by (temporarily) disabling or removing SCEP provisioners, or restricting access to SCEP provisioners to trusted clients only. Fix In v0.30.0, additional validation was added to SCEP provisioners, so that they reject unsupported message types. Acknowledgements This issue was identified and reported by Prasanth Sundararajan. Embargo List If your organization runs Step CA in production and would like advance, embargoed notification of future security updates, visit https://u.step.sm/disclosure to request inclusion on our embargo list. Stay safe, and thank you for helping us keep the ecosystem secure. If you have urgent questions, please contact [email protected].

Related

Alias · CVE (1)

  • CVE-2026-30836 Step CA is an online certificate authority for secure, automated certificate management for DevOps. vulnerability

Weakness · CWE (2)

  • CWE-287 Improper Authentication weakness
  • CWE-295 Improper Certificate Validation weakness

References