Critical Security Flaws Discovered in Go Pay SDK Affecting Multiple Payment Methods
Article Content
- •Two critical vulnerabilities affect all seven payment methods in the Go Pay SDK.
- •CWE-295 allows man-in-the-middle attacks due to disabled TLS verification.
- •CWE-798 exposes sensitive credentials in a public repository.
Two critical vulnerabilities have been identified in the Go Pay SDK, affecting all seven supported payment methods including WeChat, Alipay, and PayPal. The first vulnerability (CWE-295) involves the shared HTTP client globally disabling TLS certificate verification, allowing for potential man-in-the-middle attacks. The second vulnerability (CWE-798) exposes a complete RSA 2048-bit private key along with merchant ID and App ID in a public repository. These flaws could compromise sensitive transaction data and credentials. Developers are advised to revoke the exposed RSA keypair and implement secure coding practices. Affected payment methods include WeChat, Alipay, QQ, and others. The vulnerabilities were disclosed on October 4, 2026, and a full technical report is available upon request.
Ask AI about this cluster
Answers cite the sources they use