CVE-2025-54799: github.com/go-acme/lego/v4/acme/api does not enforce HTTPS
(updated )
It was discovered that the github.com/go-acme/lego/v4/acme/api package (thus the lego library and the lego cli as well) don’t enforce HTTPS when talking to CAs as an ACME client.
References
Code Behaviors & Features
Detect and mitigate CVE-2025-54799 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →