{"id":"CVE-2026-105218","revision":"7a4446f18a724e77b57de4bcd4ea21d8","records":[{"revision":"7a4446f18a724e77b57de4bcd4ea21d8","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-105218","aliases":[],"title":"gopay before 1.5.119 Disabled TLS Certificate Verification in xhttp Client","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.","state":0,"publishedAt":"2026-10-04T17:09:53.573+00:00","modifiedAt":"2026-10-05T14:55:01.904+00:00","affected":[{"ecosystem":"Vendor product","name":"gopay","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"go-pay\",\n                    \"product\": \"gopay\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:golang/github.com/go-pay/gopay\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"1.5.119\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":9.1,"severity":"CRITICAL"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"severity":"HIGH"}],"references":["https://github.com/go-pay/gopay/issues/540","https://github.com/go-pay/gopay/commit/f6df04fd4f64a2ad2c303ba063b6502bfdd259fd","https://github.com/go-pay/gopay/blob/v1.5.118/pkg/xhttp/client.go#L15-L37","https://github.com/go-pay/gopay","https://www.vulncheck.com/advisories/gopay-before-1.5.119-disabled-tls-certificate-verification-in-xhttp-client"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-105218","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-105218","identifiers":["CVE-2026-105218"]},"retained":false,"historicalAffected":[]}],"coverage":[]}