5.0medium
Improper Authorization Check for SSH Certificate Revocation
- Severity
- 5.0medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-j7c9-79x7-8hprGO-2025-4181
Description
Step CA is an online certificate authority for secure, automated certificate management for DevOps. Prior to 0.29.0, there is an improper authorization check for SSH certificate revocation. This affects deployments configured with the SSHPOP provisioner. This vulnerability is fixed in 0.29.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| smallstep certificates | < 0.29.0 | CVE List |
| github.com/smallstep/certificates (Go) | before 0.29.0 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 5.0medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H |
| GitHub | 5.0medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H |
Classification
What each source says
CVE List
Step CA is an online certificate authority for secure, automated certificate management for DevOps. Prior to 0.29.0, there is an improper authorization check for SSH certificate revocation. This affects deployments configured with the SSHPOP provisioner. This vulnerability is fixed in 0.29.0.
GitHub Advisory Database
Summary
An authorized attacker can bypass authorization checks and revoke any SSH certificate issued by Step CA by using a valid revocation token.
Details
Step CA users can obtain SSH certificates from a few provisioners. The SSHPOP provisioner allows revocation of the SSH certificate (preventing future certificate renewals) using a token. Due to a missing validity check, this token could be used to revoke any SSH certificate issued by the CA.
To create a token, an attacker must have access to the CA endpoint and a valid SSH certificate, meaning they were already authorized to obtain an SSH certificate. The attacker must also know the serial number of the certificate they want to revoke.
Impact
There is no way to mitigate this attack. It is recommended to update to v0.29.0 or newer.
Fix
In v0.29.0, the token validation logic was strengthened to bind each token to a specific SSH certificate serial number.
Acknowledgements
This issue was identified and reported by Gabriel Departout and Andy Russon, from AMOSSYS. This audit was sponsored by ANSSI (French Cybersecurity Agency) based on their Open-Source security audit program.
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.
Go Vulnerability Database
step-ca Has Improper Authorization Check for SSH Certificate Revocation in github.com/smallstep/certificates
NVD (es)
Step CA es una autoridad de certificación en línea para la gestión segura y automatizada de certificados para DevOps. Versiones anteriores a la 0.29.0, existe una comprobación de autorización incorrecta para la revocación de certificados SSH. Esto afecta a los despliegues configurados con el provisionador SSHPOP. Esta vulnerabilidad está corregida en la 0.29.0.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-66406 changed 2025-12-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j7c9-79x7-8hpr changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-4181 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2025-66406 changed 2026-10-18 | Public domain |