# CVE-2026-31843: goodoneuz/pay-uz Unauthenticated PHP File Overwrite via /payment/api/editable/update Leading to Remote Code Execution

- Severity: Critical 10.0 (CVSS:4.0, scored by TuranSec) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.41%, higher than 73% of CVEs (2026-12-01)
- Published: 2026-04-16T13:02:55.701Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-m5wg-cjgh-223j
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: TuranSec

## 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.

(As written by CVE List.)

## Affected

- goodoneuz/pay-uz: <= 2.2.24
- goodoneuz/pay-uz (Packagist): before 3.0.0

## Every score

- TuranSec: CVSS: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: CVSS: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: CVSS:2.0 10.0 Critical `AV:N/AC:L/Au:N/C:C/I:C/A:C`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/shaxzodbek-uzb/pay-uz> (package, product)
- <https://github.com/goodoneuz/pay-uz/blob/master/src/routes/web.php> (issue-tracking, web)
- <https://github.com/goodoneuz/pay-uz/blob/master/src/Http/Controllers/ApiController.php> (issue-tracking, web)
- <https://packagist.org/packages/goodoneuz/pay-uz> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31843> (advisory)
- <https://github.com/shaxzodbek-uzb/pay-uz/pull/73> (web)
- <https://github.com/shaxzodbek-uzb/pay-uz/releases/tag/3.0.0> (web)

## Sources

- CVE List: [CVE-2026-31843](https://www.cve.org/CVERecord?id=CVE-2026-31843), CVE Terms of Use, modified 2026-08-10
- GitHub Advisory Database: [GHSA-m5wg-cjgh-223j](https://github.com/advisories/GHSA-m5wg-cjgh-223j), CC-BY-4.0, modified 2026-07-27
- NVD: [CVE-2026-31843](https://nvd.nist.gov/vuln/detail/CVE-2026-31843), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-31843 · Whole record: https://cve.day/CVE-2026-31843.json · Rebuilt by cve.day 2026-11-25T22:59:18.901Z
