CVE-2026-105218 Details
Description
gopay before 1.5.119 disables TLS certificate verification in defaultClient() in pkg/xhttp/client.go, allowing man-in-the-middle attackers to impersonate payment provider APIs. Attackers can present any certificate to read merchant credentials, signatures and transaction data, and modify payment, refund and order query responses.
A vulnerability exists in the GoPay SDK for payment processing, affecting versions prior to 1.5.119. The issue arises because the SDK disables TLS certificate verification by default in its HTTP client. This flaw allows man-in-the-middle attackers to intercept and manipulate communications with payment provider APIs. Attackers can present any certificate to access sensitive merchant information, including credentials, signatures, and transaction details. Furthermore, they can alter responses related to payments, refunds, and order inquiries.
Users can update to GoPay version 1.5.119 or later, where TLS certificate verification is enabled by default. For environments that require skipping verification, such as sandboxes or when using self-signed certificates, the 'SetHttpTLSConfig' method can be used to manually bypass the verification, but this should be done with caution.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 4, 2026CISA-ADP
Assessed Oct 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/go-pay/gopay | [email protected] | ProductSource CodeVendor |
| https://github.com/go-pay/gopay/blob/v1.5.118/pkg/xhttp/client.go#L15-L37 | [email protected] | Source CodeVendor |
| https://github.com/go-pay/gopay/commit/f6df04fd4f64a2ad2c303ba063b6502bfdd259fd | [email protected] | Source CodeVendor |
| https://github.com/go-pay/gopay/issues/540 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://www.vulncheck.com/advisories/gopay-before-1.5.119-disabled-tls-certificate-verification-in-xhttp-client | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-295 | Improper Certificate Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gopay | >= 0, < 1.5.119 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 5, 2026 | CVE Modified | CISA-ADP |
| Oct 4, 2026 | New CVE Received | [email protected] |
Volerion