QSearchQSearch

CVE-2026-31843

9.8 CRITICAL

The goodoneuz/pay-uz Laravel package (<= 2.2.24) contains a critical vulnerability in the /payment/api/editable/update endpoint that allo...

Published: 2026-04-16 · Last updated: 2026-05-19

Severity and scoring

CVSS
9.8 CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-284

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.

Source: NVD

References

Related CVEs

Same CWE

  • CVE-2026-53520 Nezha Monitoring is a self-hostable, lightweight, servers and websites monitoring and O&M tool (6.5 MEDIUM)
  • CVE-2026-44783 Discourse is an open-source discussion platform (5.4 MEDIUM)
  • CVE-2026-47182 Frappe is a full-stack web application framework
  • CVE-2026-44976 Frappe is a full-stack web application framework
  • CVE-2026-44208 Frappe is a full-stack web application framework