GHSA-m5wg-cjgh-223j · Severity: critical · Ecosystem: composer — goodoneuz/pay-uz: the /payment/api/editable/update endpoint overwrites existing PHP payment hook files
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.
Conclusion & alert: CVE-2026-31843 is rated High Risk (68.6/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 1.94%). Core evidence: EPSS rose +1.48% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.46% | 1.94% | +1.48% |
| 2 | 2026-05-22 | 1.14% | 0.46% | -0.67% |
| 3 | 2026-05-18 | — | 1.14% | — |
Full EPSS history (6 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 10.0 | 4.0 | CRITICAL |
|
— | — | 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c |
| 10.0 | 2.0 | HIGH |
|
10.0 | 10.0 | 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c |
GHSA-m5wg-cjgh-223j · Severity: critical · Ecosystem: composer — goodoneuz/pay-uz: the /payment/api/editable/update endpoint overwrites existing PHP payment hook files
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| No affected products in dataset. | |||