CVE-2026-31843
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.
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
https://github.com/shaxzodbek-uzb/pay-uz/, https://packagist.org/packages/goodoneuz/pay-uz, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31843.json, https://nvd.nist.gov/vuln/detail/CVE-2026-31843, https://github.com/goodoneuz/pay-uz/blob/master/src/Http/Controllers/ApiController.php, https://github.com/goodoneuz/pay-uz/blob/master/src/routes/web.php, https://github.com/shaxzodbek-uzb/pay-uz