Skip to main content

GNU wget2 CVE-2026-1858

| EUVDEUVD-2026-26285 MEDIUM
Improper Input Validation (CWE-20)
2026-04-29 tenable
4.8
CVSS 3.1 · Vendor: tenable
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Compromise certificate and private key
  2. Delivery
    Position in network path to target
  3. Exploit
    Intercept wget2 TLS connection
  4. Install
    Present compromised certificate to client
  5. C2
    wget2 accepts invalid EKU/KU
  6. Execute
    Establish encrypted session with attacker
  7. Impact
    Exfiltrate or modify data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

The vulnerability requires the following specific preconditions: (1) the attacker must have compromised or obtained a valid X.509 certificate issued by a trusted CA, along with its associated private key, where that certificate was NOT issued for TLS server authentication (e.g., a code-signing cert, client auth cert, or email signing cert); (2) the attacker must be able to intercept or redirect network traffic destined for wget2 toward their server (high attack complexity requirement), achievable through DNS spoofing, BGP hijacking, ARP spoofing, or compromise of the user's network infrastructure; (3) wget2 must attempt to establish a TLS connection to a server controlled by or redirected to the attacker; (4) the attack occurs entirely at the TLS/application layer with no privilege escalation required on the target system. The vulnerability does NOT require the user to click a link, disable security warnings, or interact with a compromised server in any way beyond initiating a normal wget2 download command. The limiting factor is the combination of certificate compromise (rare) and network positioning (hard to achieve without ISP/infrastructure access), which explains the AC:H rating.

Impact

The CVSS 4.8 score reflects moderate real-world risk with important limiting factors. The network attack vector (AV:N) and unauthenticated requirement (PR:N) indicate no prior access or credentials are needed, making this remotely exploitable. However, the high attack complexity (AC:H) significantly constrains practical exploitation: an attacker must not only compromise a valid certificate and private key but also position themselves in the network to intercept or redirect wget2 traffic (e.g., via BGP hijacking, DNS poisoning, ARP spoofing, or compromised ISP/network infrastructure). The impact is limited to confidentiality and integrity (C:L/I:L), not availability, and affects only the wget2 client's session. The low scope (S:U) means the vulnerability does not escape the application's security boundary. EPSS data is not provided, but based on the AC:H requirement and need for certificate compromise plus network positioning, real-world exploitation probability is likely below 30 percent for opportunistic attackers; targeted campaigns against high-value wget2 users with already-compromised certificate infrastructure would face significantly different odds. The absence of confirmed active exploitation (no KEV status, no POC reference) and moderate CVSS suggest this is a real but not immediately critical vulnerability - prioritize remediation for systems downloading sensitive data (credentials, API tokens, config files) over wget2, or for environments where certificate compromise risk is elevated.

Exploit ScenarioDerived

An attacker compromises a web server's code-signing certificate and its private key through a supply-chain attack or misconfigured CA. The attacker then positions themselves on the network path between a user and a legitimate HTTPS server (via DNS poisoning or routing manipulation). When the user runs wget2 to download a file from that server, wget2 initiates a TLS handshake with the attacker's server, which presents the stolen code-signing certificate. Because wget2 fails to validate the certificate's EKU or KU fields, it accepts the connection as valid. The attacker then intercepts the subsequent HTTP request, captures session cookies or authentication headers, and responds with a modified version of the requested file containing malware or exfiltrated data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 29, 2026

GNU wget2 incorrectly validates TLS server certificates, accepting certificates with improper Key Usage (KU) or Extended Key Usage (EKU) attributes. This allows attackers who have compromised certificates issued for non-server purposes to impersonate legitimate servers in TLS connections, enabling man-in-the-middle attacks that leak sensitive information such as authentication credentials or request/response data.

RemediationAI

Apply the vendor-released patch for wget2 certificate validation as soon as it becomes available through the GNU wget2 project. Until a patched version is available, implement network-level mitigations: deploy certificate pinning or HPKB (HTTP Public Key Binding) policies in environments controlling wget2 deployments to restrict accepted certificates to a whitelist of known legitimate issuers and public key hashes. For automated downloads or CI/CD pipelines using wget2, enforce DNSSEC validation and certificate transparency (CT) log verification on the client side where possible, or use a proxy with advanced certificate inspection (e.g., Squid, mitmproxy in non-MITM mode for monitoring). Operationally, restrict wget2 usage to non-sensitive data retrieval where feasible, and prefer curl or newer HTTP clients with stronger default certificate validation. Monitor certificate issuance logs from your organization's trusted CAs for unexpected certificate generation outside normal business processes. No formal patch version has been publicly identified at the time of analysis; check the GNU wget2 project website and security advisories for availability of fixed builds.

Affected VersionsENISA

wget2 0 ≤2.2.1

Affected Packages

euvd wget2 no fix

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

wget2 is a command-line HTTP/HTTPS client that relies on certificate validation to establish secure TLS connections. The vulnerability stems from inadequate validation of X.509 certificate extensions (CWE-20: Improper Input Validation). TLS server certificates must contain specific Key Usage bits (digitalSignature, keyEncipherment) and/or an Extended Key Usage extension containing id-kp-serverAuth to be valid for server authentication. When wget2 fails to enforce these constraints, it accepts certificates intended for other purposes (e.g., code signing, client authentication, email signing). An attacker who obtains such a certificate's private key - through theft, compromise of a lower-security certificate authority, or acquisition from a misconfiguured issuer - can present it to wget2 clients, which will incorrectly trust the connection. The vulnerability affects all versions of wget2 across platforms where the affected code path is enabled, as indicated by the CPE pattern cpe:2.3:a:gnu:wget2:*:*:*:*:*:*:*:* with no version constraint.

Know when Wget2 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

Vendor (tenable) PRIMARY 4.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
SUSE MEDIUM

Primary rating from Vendor (tenable).

CVSS VectorVendor: tenable

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

wget2 accepts a server certificate with incorrect Key Usage (KU) or Extended Key Usage (EKU). If the attackers compromise a certificate (with the associated private key) issued for a different purpose, they may be able to reuse it for TLS server authentication.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SLES15-SP5-CHOST-BYOS-SAP-CCloud Fixed
SLES15-SP6-CHOST-BYOS Fixed
SLES15-SP6-CHOST-BYOS-Aliyun Fixed
SLES15-SP6-CHOST-BYOS-Azure Fixed
SLES15-SP6-CHOST-BYOS-EC2 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy