Arbitrary Code Execution Vulnerability in GNU Wget
A local vulnerability in GNU Wget, identified as CVE-2024-38428, allows an attacker to achieve arbitrary code execution through the processing of malformed input strings.
CVE search metadata
CVE search record: CVE-2024-38428. Severity: critical. CVSS: 9.1. EPSS: 0.67%. KEV: no. Product: wget (CVE-2024-38428). Brief: Arbitrary Code Execution Vulnerability in GNU Wget. Brief link: https://feed.craftedsignal.io/briefs/2026-09-wget-rce/
GNU Wget contains a security vulnerability that permits a local attacker to execute arbitrary code. The flaw is triggered by improper handling of specific input strings during the file retrieval process. By tricking a local user into executing a crafted command involving a malicious URL or file path, an attacker can cause the application to process inputs in a way that leads to unauthorized code execution. Depending on the privileges of the user executing the command, this may facilitate privilege escalation within the affected system. This impact is significant for environments where users rely on Wget for automated task scripting or frequent command-line file downloads.
Impact
Successful exploitation allows a local attacker to gain the same execution context as the user running the Wget utility. In scenarios where Wget is executed by privileged users or automated system services, this vulnerability can lead to full system compromise or persistence, significantly impacting the integrity and security of the affected workstation or server.
Recommendation
Prioritize the identification and patching of all instances of GNU Wget to the version containing the fix for CVE-2024-38428. Monitor system logs for unusual command-line arguments passed to wget, particularly those involving long or encoded strings that may indicate attempts to exploit buffer overflows or parsing logic errors.
Immediate actions
Inventory all systems running GNU Wget to assess exposure to CVE-2024-38428.
Mitigations
Update GNU Wget to the latest patched version.
CVE-2024-38428