---
title: "CVE-2026-105218: gopay - Man In The Middle"
description: "gopay before 1.5.119 contains a man-in-the-middle vulnerability caused by disabled TLS certificate verification in defaultClient() in pkg/xhttp/client.go, letting attackers impersonate payment provider APIs and intercept or modify sensitive data, exploit requires network access."
url: https://panop.io/threat-heartbeat/CVE-2026-105218/
---

# CVE-2026-105218 gopay - Man In The Middle

gopay before 1.5.119 contains a man-in-the-middle vulnerability caused by disabled TLS certificate verification in defaultClient() in pkg/xhttp/client.go, letting attackers impersonate payment provider APIs and intercept or modify sensitive data, exploit requires network access.

CVSS base score 7.4 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

EPSS

0.16% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-105218)

## Details

Type

Man In The Middle

Impact

Man In The Middle, Information Disclosure, Data Tampering

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Published

4 October 2026

Updated

15 October 2026

Weakness

[CWE-295](https://cwe.mitre.org/data/definitions/295.html)

## Vendor fix

Upgrade to version 1.5.119 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-105218](https://nvd.nist.gov/vuln/detail/CVE-2026-105218)
- [https://github.com/go-pay/gopay/commit/f6df04fd4f64a2ad2c303ba063b6502bfdd259fd](https://github.com/go-pay/gopay/commit/f6df04fd4f64a2ad2c303ba063b6502bfdd259fd)
- [https://github.com/go-pay/gopay/issues/540](https://github.com/go-pay/gopay/issues/540)
- [https://www.vulncheck.com/advisories/gopay-before-1.5.119-disabled-tls-certificate-verification-in-xhttp-client](https://www.vulncheck.com/advisories/gopay-before-1.5.119-disabled-tls-certificate-verification-in-xhttp-client)
- [https://github.com/go-pay/gopay](https://github.com/go-pay/gopay)
- [https://github.com/go-pay/gopay/blob/v1.5.118/pkg/xhttp/client.go#L15-L37](https://github.com/go-pay/gopay/blob/v1.5.118/pkg/xhttp/client.go#L15-L37)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
