CVE-2026-31843
goodoneuz/pay-uz Unauthenticated PHP File Overwrite via /payment/api/editable/update Leading to Remote Code Execution
- State
- Published
- Severity
- 10.0 Critical
- Published
- Apr 16, 2026
- Updated
- Aug 10, 2026
- Reserved
- Mar 9, 2026
Description
The goodoneuz/pay-uz Laravel package (<= 2.2.24) contains a critical vulnerability in the /payment/api/editable/update endpoint that allows unauthenticated attackers to overwrite existing PHP payment hook files. The endpoint is exposed via Route::any without authentication middleware, enabling remote access without credentials.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 10.0 Critical | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | TuranSec |
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | TuranSec |
| 2.0 | 10.0 High | AV:N/AC:L/Au:N/C:C/I:C/A:C | TuranSec |
Weaknesses
- CWE-284 Improper Access Control leading to unauthorized modification of executable application files
Affected Products
| Product | Versions |
|---|---|
pay-uzgoodoneuz |
|
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.