/

CVE-2026-82509

Severity:

HIGH RISK

(7.4)

TLS Certificate Validation Bypass (CWE-295) in V net.http

CVE-2026-82509

Awaiting Analysis

Vulnerability type

Category:

TLS Certificate Validation Bypass

CWE:

CWE-295

Impact:

Man-in-the-Middle (MITM) Interception and Modification of HTTPS Traffic

Severity:

HIGH RISK

(7.4)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

V's net.http can complete HTTPS handshakes without validating server certificates when validation is left at its default false setting. An on-path attacker may then intercept or modify traffic if an application uses the affected HTTP APIs without explicitly enabling certificate validation.

Affected context

The issue affects the V standard library's net.http TLS configuration and request APIs, including http.get, http.post, and http.fetch. It is relevant when applications rely on the default values of SSLConnectConfig.validate or FetchConfig.validate, and use either the mbedtls or OpenSSL backend without explicitly enabling certificate validation.

Exploit preconditions

  • Attack surface: HTTPS connections made through the affected net.http APIs
  • Required access: The attacker must be able to position themselves on the network path between the client and server
  • Trigger point: The application initiates an HTTPS request with certificate validation disabled or left at its default
  • Why exploitation is possible: The TLS handshake can complete without checking that the presented certificate is trusted and valid for the requested host

Why this happens

The underlying issue is a certificate-validation bypass mapped to CWE-295: Improper Certificate Validation. The HTTP TLS configuration defaults allow a handshake to proceed without verifying the server certificate, so an untrusted, expired, self-signed, or wrong-hostname certificate may be accepted. This leaves the connection vulnerable to interception by an on-path attacker.

Potential impact

  • An attacker may intercept HTTPS traffic and access data sent over the connection.
  • An attacker could modify requests or responses in transit.
  • Credentials, tokens, or other sensitive information may be exposed.
  • Applications relying on the connection for integrity could make decisions based on tampered responses.

General mitigation guidance

Defensive patterns focus on making certificate verification the secure default and ensuring that TLS connections validate both the certificate chain and hostname.

  • Enable certificate validation explicitly wherever the API exposes a validation setting.
  • Prefer client and library configurations that verify certificates by default.
  • Avoid disabling validation to work around certificate deployment problems; correct trust stores and certificate configuration instead.
  • Keep trust material controlled and limit the privileges and sensitive data available to network-facing clients.

How teams detect issues like this

Review code for uses of net.http request APIs and TLS configuration where certificate validation is omitted, disabled, or set to false.

Static analysis and code review can flag insecure defaults, configuration overrides, and exception paths that bypass verification. Policy checks can require certificate validation for outbound HTTPS connections, while runtime tests can verify rejection of untrusted, expired, and hostname-mismatched certificates.

Sources

SourceLink
github.comgithub.com/vlang/v/commit/40774847a949722f5d090706c050b806ceeacfd1
github.comgithub.com/vlang/v/security/advisories/GHSA-7g66-88pm-6gv6
vulncheck.comvulncheck.com/advisories/v-programming-language-net-http-tls-certificate-validation-bypass

Frequently asked

questions

An attacker generally needs to be on the network path between the client and the HTTPS server. The vulnerable client behavior allows the attacker's untrusted certificate to be accepted.

The attacker does not necessarily need application credentials, but must be able to influence or intercept the network connection. The application must also use an affected request path without enabling certificate validation.

Ensure certificate and hostname validation are enabled for every HTTPS connection, and use secure-by-default TLS configuration.

Test that clients reject invalid certificates, review TLS settings for disabled or omitted verification, and enforce policies requiring certificate validation for outbound HTTPS traffic.

Find out what's already
exploitable in your codebase.