CVE-2026-33661
Last modified
CVE-2026-33661 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.50% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Yansongda | Pay | < 3.7.20 |
References
- https://github.com/yansongda/pay/security/advisories/GHSA-q938-ghwv-8gvcExploit, Vendor Advisory
- https://github.com/yansongda/pay/security/advisories/GHSA-q938-ghwv-8gvcExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-33661?
How severe is CVE-2026-33661?
How do I fix CVE-2026-33661?
Are you affected by CVE-2026-33661?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
