goodoneuz/pay-uz Unauthenticated PHP File Overwrite via /payment/api/editable/update Leading to Remote Code Execution
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-284.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| goodoneuz | pay-uz | up to 2.2.24 | — | No fix listed | CNA |
| — | goodoneuz/pay-uz (Packagist) | before 3.0.0 | 3.0.0 | Patch available | GHSA-m5wg-cjgh-223j |
- pay-uz Vendorgoodoneuz Affected up to 2.2.24 Fixed in — No fix listed CNA
- goodoneuz/pay-uz (Packagist) Vendor— Affected before 3.0.0 Fixed in 3.0.0 Patch available GHSA-m5wg-cjgh-223j
Remediation
- Fix · GHSA-m5wg-cjgh-223j goodoneuz/pay-uz (Packagist) Fixed in 3.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-31843
- 2026-10-03 Alias added: GHSA-m5wg-cjgh-223j
References
Other 6
- 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
- https://github.com/shaxzodbek-uzb/pay-uz/pull/73
- https://github.com/shaxzodbek-uzb/pay-uz/releases/tag/3.0.0
Sources
- CVE-2026-31843 · CVE Program
- CVE-2026-31843 · NVD
- FIRST EPSS
- GHSA-m5wg-cjgh-223j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences