Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-33661
March 26, 2026
Pay is an open-source payment SDK extension package for various Chinese payment services. Prior to version 3.7.20, the "verify_wechat_sign()" function in "src/Functions.php" unconditionally skips all signature verification when the PSR-7 request reports "localhost" as the host. An attacker can exploit this by sending a crafted HTTP request to the WeChat Pay callback endpoint with a "Host: localhost" header, bypassing the RSA signature check entirely. This allows forging fake WeChat Pay payment success notifications, potentially causing applications to mark orders as paid without actual payment. Version 3.7.20 fixes the issue.
Affected Packages
https://github.com/yansongda/pay.git (GITHUB):
Affected version(s) >=v0.5.0 <v3.7.20
Fix Suggestion:
Update to version v3.7.20
https://github.com/yansongda/pay.git (GITHUB):
Affected version(s) >=v0.5.0 <v3.7.20
Fix Suggestion:
Update to version v3.7.20
https://github.com/yansongda/pay.git (GITHUB):
Affected version(s) >=v0.5.0 <v3.7.20
Fix Suggestion:
Update to version v3.7.20
yansongda/pay (PHP):
Affected version(s) >=v0.5.0 <v3.7.20
Fix Suggestion:
Update to version v3.7.20
yansongda/pay (PHP):
Affected version(s) >=v0.5.0 <v3.7.20
Fix Suggestion:
Update to version v3.7.20
yansongda/pay (PHP):
Affected version(s) >=v0.5.0 <v3.7.20
Fix Suggestion:
Update to version v3.7.20
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
HIGH
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Authentication Bypass by Spoofing
EPSS
Base Score:
0.13