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

Read the record on cve.org

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

CVSSScoreVectorSource
4.010.0 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HTuranSec
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HTuranSec
2.010.0 HighAV:N/AC:L/Au:N/C:C/I:C/A:CTuranSec

Weaknesses

  • CWE-284 Improper Access Control leading to unauthorized modification of executable application files

Affected Products

ProductVersions
pay-uzgoodoneuz
  • <= 2.2.24Affected

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.