๐Ÿ” CVE Alert

CVE-2026-31843

CRITICAL 9.8
CVSS Score
9.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-284
Vendor goodoneuz
Product pay-uz
Published Apr 16, 2026
Last Updated Apr 16, 2026
Stay Ahead of the Next One

Get instant alerts for goodoneuz pay-uz

Be the first to know when new critical vulnerabilities affecting goodoneuz pay-uz are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

goodoneuz / pay-uz
<= 2.2.24

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/shaxzodbek-uzb/pay-uz github.com: https://github.com/goodoneuz/pay-uz/blob/master/src/routes/web.php github.com: https://github.com/goodoneuz/pay-uz/blob/master/src/Http/Controllers/ApiController.php packagist.org: https://packagist.org/packages/goodoneuz/pay-uz