CVE Explorer
CVE-2026-33661
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 s
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"pay","vendor":"yansongda","versions":[{"status":"affected","version":"< 3.7.20"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:37a56991cd96a88ca5217f22af4c61405377a6611ffe9dac5d537a9ab892f170 · sha256:ae5d0680af7c1b7c… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.6,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:37a56991cd96a88ca5217f22af4c61405377a6611ffe9dac5d537a9ab892f170 · sha256:ae5d0680af7c1b7c… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-290","description":"CWE-290: Authentication Bypass by Spoofing","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:37a56991cd96a88ca5217f22af4c61405377a6611ffe9dac5d537a9ab892f170 · sha256:ae5d0680af7c1b7c… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/yansongda/pay/commit/26987ebf789f1e7f0a85febb640986ab4289fd7f","tags":["x_refsource_MISC"],"url":"https://github.com/yansongda/pay/commit/26987ebf789f1e7f0a85febb640986ab4289fd7f"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:37a56991cd96a88ca5217f22af4c61405377a6611ffe9dac5d537a9ab892f170 · sha256:ae5d0680af7c1b7c… · /containers/cna/references/1
{"name":"https://github.com/yansongda/pay/releases/tag/v3.7.20","tags":["x_refsource_MISC"],"url":"https://github.com/yansongda/pay/releases/tag/v3.7.20"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:37a56991cd96a88ca5217f22af4c61405377a6611ffe9dac5d537a9ab892f170 · sha256:ae5d0680af7c1b7c… · /containers/cna/references/2
{"tags":["exploit"],"url":"https://github.com/yansongda/pay/security/advisories/GHSA-q938-ghwv-8gvc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:37a56991cd96a88ca5217f22af4c61405377a6611ffe9dac5d537a9ab892f170 · sha256:ae5d0680af7c1b7c… · /containers/adp/0/references/0
{"name":"https://github.com/yansongda/pay/security/advisories/GHSA-q938-ghwv-8gvc","tags":["x_refsource_CONFIRM"],"url":"https://github.com/yansongda/pay/security/advisories/GHSA-q938-ghwv-8gvc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:37a56991cd96a88ca5217f22af4c61405377a6611ffe9dac5d537a9ab892f170 · sha256:ae5d0680af7c1b7c… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.