CVE-2026-105218
gopay before 1.5.119 disables TLS certificate verification in defaultClient() in…
- Risk score
- 50/100
- CVSS
- 7.4 v3.1
- Exploit chance (30 days)
- 0.2%
- Published
- 4 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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 quer…
- Affected
- See advisory
- Fix
- Upgrade the product to 1.5.119 or later.
- Exploitation
- No known exploitation
Why it is Yellow
- CVSS 7.4 high
- Remotely exploitable without logging in
References
- 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/commit/f6df04fd4f64a2ad2c303ba063b6502bfdd259fd
- 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
Original 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.
Last activity 4 Oct 2026. Patch Forecast updates every hour.