critical9.8
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 att…
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | goodoneuz/pay-uz | <= 2.2.24 | 3.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-m5wg-cjgh-223j
- 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
- https://packagist.org/packages/goodoneuz/pay-uz
- https://github.com/shaxzodbek-uzb/pay-uz/pull/73
- https://github.com/shaxzodbek-uzb/pay-uz/releases/tag/3.0.0