GHSA-q4r8-xm5f-56gw

Suggest an improvement
Source
https://github.com/advisories/GHSA-q4r8-xm5f-56gw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-q4r8-xm5f-56gw/GHSA-q4r8-xm5f-56gw.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-q4r8-xm5f-56gw
Aliases
Downstream
CGA (15)
MINI (2)
Published
2026-03-19T16:27:53Z
Modified
2026-07-17T21:06:27Z
Severity
  • 10.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N CVSS Calculator
Summary
step-ca has Unauthenticated Certificate Issuance via SCEP UpdateReq (MessageType=18)
Details

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 security@smallstep.com.

Database specific
{
    "cwe_ids":  [
        "CWE-287",
        "CWE-295"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-19T16:27:53Z",
    "nvd_published_at":  "2026-03-19T21:17:09Z",
    "severity":  "CRITICAL"
}
References

Affected packages

Go / github.com/smallstep/certificates

Package

Name
github.com/smallstep/certificates
View open source insights on deps.dev
Purl
pkg:golang/github.com/smallstep/certificates

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.30.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-q4r8-xm5f-56gw/GHSA-q4r8-xm5f-56gw.json"