Paper/Archive/CVE-2026-31843

CVE-2026-31843

goodoneuz pay-uz — goodoneuz/pay-uz Unauthenticated PHP File Overwrite via /payment/api/editable/update Leading to Remote Code Execution

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
pay-uz<= 2.2.24–CNA

Scores by source

TuranSec (CNA)10.0CVSS: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 (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgithub.com/shaxzodbek-uzb/pay-uzrefgithub.com/goodoneuz/pay-uz/blob/master/src/routes/web.phprefgithub.com/goodoneuz/pay-uz/blob/master/src/Http/Controllers/ApiController.phprefpackagist.org/packages/goodoneuz/pay-uz