Patchfirst
CVE-2026-31843 Critical · 9.8 EPSS 1.4%

goodoneuz/pay-uz Unauthenticated PHP File Overwrite via /payment/api/editable/update Leading to Remote Code Execution

Fix:upgrade pay-uz to 3.0.0 or later Details ↓

goodoneuz · pay-uz

Summary

The goodoneuz/pay-uz Laravel package (up to and including version 2.2.24) has a flaw in its /payment/api/editable/update endpoint, which is reachable through Route::any without authentication middleware. An unauthenticated remote attacker can overwrite existing PHP payment hook files through this endpoint, with no credentials or user interaction required.

Official description · CVE.org

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.

Breakdown
62.9 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 3 months after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+3 mo

Affected versions and fixes

as published in the CVE record

goodoneuz pay-uz

Affected: <= 2.2.24

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: goodoneuz/pay-uz.

Packagistgoodoneuz/pay-uzGHSA-m5wg-cjgh-223j

Upgrade to 3.0.0 or later

Set the version to 3.0.0 or later in your composer.json.

The first fix for CVE-2026-31843. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
All versions before 3.0.03.0.0

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 3 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

4 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close