CVE-2026-31843goodoneuz/pay-uz Unauthenticated PHP File Overwrite via /payment/api/editable/update…
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.
What to do
Fixed builds are available from Packagist: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Packagist library | goodoneuz/pay-uz | Fixed | 3.0.0 | GHSA-m5wg-cjgh-223j |
What the vendor says
As published in the CVE record by TuranSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- goodoneuz pay-uz: affected: <= 2.2.24
References
- https://github.com/shaxzodbek-uzb/pay-uz
- https://github.com/goodoneuz/pay-uz/blob/master/src/routes/web.php
- https://github.com/goodoneuz/pay-uz/blob/master/src/Http/Controllers/ApiController.php
- https://packagist.org/packages/goodoneuz/pay-uz
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.