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. User-controlled input is directly written into executable PHP files using file_put_contents(). These files are later executed via require() during normal payment processing workflows, resulting in remote code execution under default application behavior. The payment secret token mentioned by the vendor is unrelated to this endpoint and does not mitigate the vulnerability.
INFO
Published Date :
2026-04-16T13:02:55.701Z
Last Modified :
2026-04-16T19:30:21.203Z
Source :
TuranSec
AFFECTED PRODUCTS
The following products are affected by CVE-2026-31843 vulnerability.
| Vendors | Products |
|---|---|
| Goodoneuz |
|
REFERENCES
Here, you will find a curated list of external links that provide in-depth information to CVE-2026-31843.