CVE-2025-69194: Wget2: arbitrary file write via metalink path traversal in gnu wget2
A security issue was discovered in GNU Wget2 when handling Metalink documents. The application fails to properly validate file paths provided in Metalink <file name> elements. An attacker can abuse this behavior to write files to unintended locations on the system. This can lead to data loss or potentially allow further compromise of the user’s environment.
Other sources
Path traversal vulnerability in the Metalink processing logic of GNU Wget2. The issue arises when wget2 trusts attacker-supplied <file name> values in Metalink v3/v4 documents without proper sanitization. By specifying traversal sequences or absolute paths, an attacker can cause wget2 to create, truncate, or overwrite arbitrary files writable by the victim user. The vulnerability is remotely exploitable, requires no authentication, and can lead to data loss or potential code execution by overwriting user-executed configuration or startup files.
— Red Hat
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-69194?
CVE-2025-69194 is classified as a moderate severity vulnerability.
How do I fix CVE-2025-69194?
To fix CVE-2025-69194, update GNU Wget2 to the latest patched version where the vulnerability is addressed.
What type of vulnerability is CVE-2025-69194?
CVE-2025-69194 is a path traversal vulnerability occurring in the handling of Metalink documents.
What systems are affected by CVE-2025-69194?
CVE-2025-69194 affects GNU Wget2 installations that process Metalink documents.
Can CVE-2025-69194 lead to data loss?
Yes, CVE-2025-69194 can potentially allow attackers to write files to unintended locations, which may result in data loss.