{"id":"CVE-2025-66406","aliases":["CVE-2025-66406","GHSA-j7c9-79x7-8hpr","GO-2025-4181"],"related":["CGA-pr93-635x-rq27"],"kind":"vulnerability","state":"published","title":"Improper Authorization Check for SSH Certificate Revocation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Summary\nAn authorized attacker can bypass authorization checks and revoke any SSH certificate issued by Step CA by using a valid revocation token.\n\n## Details\nStep 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.\n\nTo 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.\n\n## Impact\nThere is no way to mitigate this attack. It is recommended to update to v0.29.0 or newer.\n\n## Fix\nIn v0.29.0, the token validation logic was strengthened to bind each token to a specific SSH certificate serial number.\n\n## Acknowledgements\nThis issue was identified and reported by Gabriel Departout and Andy Russon, from [AMOSSYS](http://amossys.fr/). This audit was sponsored by [ANSSI](https://cyber.gouv.fr/) (French Cybersecurity Agency) based on [their Open-Source security audit program](https://cyber.gouv.fr/open-source-lanssi#:~:text=Financement%20d%27%C3%A9valuations%20de%20s%C3%A9curit%C3%A9%20de%20logiciels%20libres).\n\n## Embargo List\n\nIf 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.\n\nStay safe, and thank you for helping us keep the ecosystem secure.","format":"markdown","source":"ghsa"},{"lang":"en","text":"step-ca Has Improper Authorization Check for SSH Certificate Revocation in github.com/smallstep/certificates","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-12-03T16:27:59.000Z","modified":"2026-10-18T17:10:00.110Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H","score":5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H","score":5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H","score":5,"rating":"MEDIUM"}],"cwes":["CWE-285","CWE-863"],"affected":[{"ranges":[{"version":"< 0.29.0","status":"affected"}],"vendor":"smallstep","product":"certificates","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.29.0"}],"ecosystem":"Go","package":"github.com/smallstep/certificates","purl":"pkg:golang/github.com/smallstep/certificates","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.29.0"}],"ecosystem":"Go","package":"github.com/smallstep/certificates","purl":"pkg:golang/github.com/smallstep/certificates","source":"go"}],"references":[{"url":"https://github.com/smallstep/certificates/security/advisories/GHSA-j7c9-79x7-8hpr","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66406","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/smallstep/certificates","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-12-03T21:40:49.793Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66406","url":"https://www.cve.org/CVERecord?id=CVE-2025-66406","licence":"CVE Terms of Use","modified":"2025-12-03T21:40:59.681Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j7c9-79x7-8hpr","url":"https://github.com/advisories/GHSA-j7c9-79x7-8hpr","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:31.999Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-4181","url":"https://pkg.go.dev/vuln/GO-2025-4181","licence":"CC-BY-4.0","modified":"2026-02-04T03:17:38.588Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66406","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66406","licence":"Public domain","modified":"2026-10-18T17:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:08.244Z","epss":{"score":0.00164,"percentile":0.0579,"date":"2026-12-01T12:00:22.000Z"}}