OwnPay: Alipay payment-notification signature check fails open, allowing unauthenticated payment forgery
- State
- Published
- Severity
- 8.2 High
- Published
- Nov 18, 2026
- Updated
- Nov 18, 2026
- Reserved
- Aug 18, 2026
Description
OwnPay is a self-hosted open-source payment gateway automation platform. In 0.2.0 and earlier, modules/gateways/alipay/AlipayGateway.php fails open when an Alipay callback lacks a signature or the merchant has no configured public key because verify(array $callbackData, array $credentials) falls back to an undefined mode credential that defaults to test mode, while verifyWebhook() returns true unconditionally. An unauthenticated request to POST /webhook/{gateway} can provide a pending order reference and matching amount, pass both verification gates without a valid payment signature, and cause the order and corresponding payment-received ledger entries to be marked completed. No fixed version is available as of this review.
| Product | Versions |
|---|---|
| OwnPay own-pay | <= 0.2.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.2 High | GitHub_M |
Weaknesses
- CWE-347 Improper Verification of Cryptographic Signature
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.