CVE-2025-54799 in Acme products
Let's Encrypt client and ACME library written in Go (Lego). In versions 4.25.1 and below, 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. Unlike the http-01 challenge which solves an ACME challenge over unencr...
Affects 0 products from 5 vendors. Facts below cite their sources.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Let's Encrypt client and ACME library written in Go (Lego). In versions 4.25.1 and below, 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. Unlike the http-01 challenge which solves an ACME challenge over unencrypted HTTP, the ACME protocol requires HTTPS when a client communicates with the CA to performs ACME functions. However, the library fails to enforce HTTPS both in the original discover URL (configured by the library user) and in the subsequent addresses returned by the CAs in the directory and order objects. If users input HTTP URLs or CAs misconfigure endpoints, protocol operations occur over HTTP instead of HTTPS. This compromises privacy by exposing request/response details like account and request identifiers to network attackers. This was fixed in version 4.25.2.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-54799 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-234379-I |
| Published | 2025-08-07 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-319: CWE-319
Related attack patterns (CAPEC)
CAPEC-65 Sniff Application Code via CWE-319
CAPEC-102 Session Sidejacking via CWE-319
CAPEC-383 Harvesting Information via API Event Monitoring via CWE-319
CAPEC-477 Signature Spoofing by Mixing Signed and Unsigned Content via CWE-319
CAPEC-117 Interception via CWE-319
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in versions 4.25.1 and below of the Let's Encrypt client and ACME library written in Go (Lego) allows unencrypted HTTP communication with Certificate Authorities (CAs) when the ACME protocol requires HTTPS.
An attacker could intercept and manipulate the communication between the Lego client and the CA, potentially leading to man-in-the-middle attacks, unauthorized certificate issuance, or other malicious activities.
Questions
What is CVE-2025-54799?
A vulnerability in versions 4.25.1 and below of the Let's Encrypt client and ACME library written in Go (Lego) allows unencrypted HTTP communication with Certificate Authorities (CAs) when the ACME protocol requires HTTPS.
Is CVE-2025-54799 actively exploited?
No confirmed active exploitation of CVE-2025-54799 as of 2026-09-25.
How do I remediate CVE-2025-54799?
Priority: HIGH. Advisory: https://github.com/go-acme/lego/commit/238454b5f74f3cfcbb244ff0d0dc914a4ad44b96
What systems are affected by CVE-2025-54799?
CVE-2025-54799 affects Acme; Client; Enforce; Github; Protocol.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Acme","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.