Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconPosition on ACME response path or stand up rogue CA
-
DeliveryWait for getssl renewal request
-
ExploitReturn crafted challenge token with traversal/metachars
-
Installgetssl uses token in path/file operations
-
C2File write escapes challenge directory
-
ExecuteShell interpretation triggers command injection
-
ImpactCode executes as privileged renewal user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | Exploitation requires the attacker to control the ACME challenge token the victim's getssl instance receives. Concretely, that means one of: the victim has configured getssl to use a CA directory the attacker operates or has compromised; the attacker holds an on-path position between getssl and the legitimate CA and can defeat or strip the TLS guarantees on that flow (e.g., a TLS-intercepting middlebox the host trusts); or the attacker can otherwise tamper with the HTTP response carrying the token. The victim must additionally be in the middle of a getssl certificate request or renewal so that the malicious token is consumed. No credentials on the victim and no user interaction are required (PR:N/UI:N), and the impact escalates with the privileges of the renewal process - generally root. Exploitation is limited to ServerCo getssl 2.49 and earlier; default Let's Encrypt usage over a verified TLS path materially raises the bar (reflected in AC:H). |
| Impact | The NVD CVSS 7.4 vector (AV:N/AC:H/PR:N/UI:N/C:H/I:H/A:N) accurately captures the trade-off: no credentials and no user interaction are needed (PR:N/UI:N), but AC:H reflects that the attacker must control or tamper with the ACME server's response channel - either by operating a malicious/compromised CA the victim has configured, or by an on-path TLS-tampering position between getssl and the CA. Against well-known CAs (Let's Encrypt) over standard TLS that is a high bar; against private/self-hosted ACME directories, weak transport, or lawful-intercept-style middleboxes (the linked remyhax.xyz post discusses exactly such a scenario) it becomes realistic. No EPSS score, no CISA KEV entry, and no public exploit identified at time of analysis - so this is a credible high-severity bug aimed at a specific threat model rather than a mass-exploitation candidate, and impact in practice scales with the privileges getssl runs as (commonly root for cert installation). |
| Exploit ScenarioDerived | An adversary operating a hostile ACME directory the victim has configured, or sitting on-path with the ability to alter the CA's HTTP/TLS responses (e.g., a lawful-intercept appliance or a compromised upstream proxy), returns a challenge token that contains path-traversal segments and shell metacharacters instead of a clean base64url string. When getssl writes the challenge file using that token, the path escapes the challenge directory and/or the shell command line gets reinterpreted, executing attacker-supplied commands as the (often root) user running the renewal. No public exploit is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 16, 2026
Remote command injection in ServerCo getssl 2.49 and prior allows an attacker who controls or tampers with ACME challenge responses (a malicious/compromised CA endpoint or on-path adversary) to write attacker-chosen file paths via tokens that violate RFC 8555 base64url constraints, typically yielding code execution as the privileged user that renews certificates. The issue was reported by runZero, fixed upstream in v2.50, and at the time of analysis there is no public exploit identified and the CVE is not listed in CISA KEV.
RemediationAI
Vendor-released patch: upgrade to getssl v2.50 (https://github.com/srvrco/getssl/releases/tag/v2.50), which lands the validate_token function and basename hardening from PR #896 (https://github.com/srvrco/getssl/pull/896). If upgrading is not immediately possible, reduce the attack surface by pinning getssl to a trusted ACME directory URL over strictly verified TLS (removing the on-path-tamper scenario, at the cost of breaking deployments that rely on intercepting proxies), running getssl as a non-root user whose write scope is confined to the challenge directory (limits file-write-to-RCE pivot but typically requires reworking how renewed certs are deployed), and monitoring for unexpected files appearing outside .well-known/acme-challenge during renewal. There are no in-script configuration toggles that disable the vulnerable path while still allowing certificate issuance, so patching is the correct fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
getssl is a Bash shell-script ACME client (RFC 8555) used to obtain Let's Encrypt and similar certificates. The vulnerable code path took the ACME challenge token returned by the CA and used it directly in challenge-file path/filename operations without enforcing RFC 8555 §8.3 (base64url alphabet [A-Za-z0-9_-], maximum 255 characters). This is a textbook CWE-73 ('External control of file name or path'): network-supplied data is concatenated into filesystem paths inside a shell script, so a token containing '../', '/', or shell metacharacters such as ';', '`', '$()' or '|' can break out of the intended .well-known/acme-challenge directory and, because the script is shell, also reach command interpretation. The PR #896 fix adds a validate_token function that rejects out-of-alphabet characters and tokens longer than 255 bytes, and additionally applies basename(1) to the token as defense in depth.
Know when Getssl gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Crafted ACME response yields RCE as the renewal user, so C:H/I:H/A:H; AC:H reflects required CA control or on-path TLS tamper; PR:N/UI:N - no victim creds or interaction.
Primary rating from Vendor (runZero).
CVSS VectorVendor: runZero
DescriptionCVE.org
In ServerCo getssl version 2.49 and prior, the ACME challenge token returned to the client was not strictly validated against RFC 8555 before being used in challenge-file handling, allowing a maliciously crafted token to influence local path/filename usage during validation. An attacker who can supply ACME challenge responses to getssl (for example, a malicious or compromised CA endpoint, or an on-path adversary able to tamper with that response path) could exploit this to achieve unauthorized file write/path traversal effects, usually with elevated privileges, ultimately allowing for remote command injection. This issue appears related in spirit to CVE-2023-38198, and is an instance of CWE-73, "External control of file name or path." Other ACME shell script handlers may be affected by similar issues.
Executive ViewAI
ServerCo getssl versions 2.49 and earlier contain a remote code execution vulnerability triggered when attackers control or manipulate ACME certificate challenge responses. Organizations using affected versions risk infrastructure compromise through the privileged account that manages certificate renewals, potentially enabling attacker persistence. Upgrade to v2.50 immediately to eliminate this attack vector.
Apply vendor patch: upgrade to v2.50 or later.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-37201
GHSA-9v83-jvh5-6gh3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB