{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-31843","id":"CVE-2026-31843","title":"goodoneuz/pay-uz Unauthenticated PHP File Overwrite via /payment/api/editable/update Leading to Remote Code Execution","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.","descriptionLong":"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.","published":"2026-04-16T13:02:55.701Z","updated":"2026-10-28T02:30:40.496063937Z","reserved":"2026-03-09T18:20:23.398Z","status":"Deferred","rejected":false,"assigner":"TuranSec","metric":{"version":"4.0","score":10,"vector":"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","rating":"critical","source":"TuranSec"},"metrics":[{"version":"4.0","score":10,"vector":"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","rating":"critical","source":"TuranSec"},{"version":"4.0","score":10,"vector":"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","rating":"critical","source":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"critical","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"TuranSec"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","rating":"critical","source":"TuranSec"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","rating":"critical","source":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c"}],"rating":"critical","products":["goodoneuz pay-uz"],"affectedProducts":[{"vendor":"goodoneuz","product":"pay-uz","defaultStatus":"affected","versions":[{"status":"affected","version":"<= 2.2.24"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"goodoneuz/pay-uz","purl":"pkg:composer/goodoneuz/pay-uz","ranges":["<3.0.0"],"fixed":["3.0.0"],"advisory":"GHSA-m5wg-cjgh-223j"}],"cwes":["CWE-284"],"aliases":["GHSA-m5wg-cjgh-223j"],"references":[{"url":"https://github.com/shaxzodbek-uzb/pay-uz","tags":["product","package"]},{"url":"https://github.com/goodoneuz/pay-uz/blob/master/src/routes/web.php","tags":["issue-tracking","report","web"]},{"url":"https://github.com/goodoneuz/pay-uz/blob/master/src/Http/Controllers/ApiController.php","tags":["issue-tracking","report","web"]},{"url":"https://packagist.org/packages/goodoneuz/pay-uz","tags":["product","web"]},{"url":"https://github.com/shaxzodbek-uzb/pay-uz/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31843.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31843","tags":["advisory"]},{"url":"https://github.com/shaxzodbek-uzb/pay-uz/pull/73","tags":["web"]},{"url":"https://github.com/shaxzodbek-uzb/pay-uz/releases/tag/3.0.0","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.01408,"epssPercentile":0.73288,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-31843","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31843","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-31843","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-m5wg-cjgh-223j","ok":true,"note":"GHSA-m5wg-cjgh-223j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-31843","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}