{"id":"CVE-2026-31843","summary":"goodoneuz/pay-uz Unauthenticated PHP File Overwrite via /payment/api/editable/update Leading to Remote Code Execution","details":"The goodoneuz/pay-uz Laravel package (\u003c= 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.","aliases":["GHSA-m5wg-cjgh-223j"],"modified":"2026-08-12T03:51:25.306386196Z","published":"2026-04-16T13:02:55.701Z","database_specific":{"cna_assigner":"TuranSec","cwe_ids":["CWE-284"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31843.json"},"references":[{"type":"WEB","url":"https://github.com/shaxzodbek-uzb/pay-uz/"},{"type":"WEB","url":"https://packagist.org/packages/goodoneuz/pay-uz"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31843.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31843"},{"type":"REPORT","url":"https://github.com/goodoneuz/pay-uz/blob/master/src/Http/Controllers/ApiController.php"},{"type":"REPORT","url":"https://github.com/goodoneuz/pay-uz/blob/master/src/routes/web.php"},{"type":"PACKAGE","url":"https://github.com/shaxzodbek-uzb/pay-uz"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/shaxzodbek-uzb/pay-uz","events":[{"introduced":"0"},{"last_affected":"2253ceed0d6cab267c7eb6155153b0458a5dc6da"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"2.2.24"}],"source":"AFFECTED_FIELD"}}],"versions":["2.2.24","2.2.16","2.2.23","2.2.22","2.2.21","2.2.20","2.2.19","2.2.18","2.2.17","2.2.15","2.2.14","2.2.13","2.2.12","2.2.11","2.2.10","2.2.9","2.2.8","2.2.7","2.2.6","2.2.5","2.2.4","2.2.3","2.2.2","2.2.1","2.2","2.1.1","2.1","2.0.3","2.0.2","2.0.1","2.0","1.7.4","1.7.3","1.7.2","1.7.1","1.6.6","1.6.5","1.6.4","1.6.3","1.6.2","1.6.1","1.6","1.4","1.3","1.2","1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31843.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}