CVE-2026-31843: Vulnerability in goodoneuz/pay-uz

Critical. 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.

Packagist, CWE-284

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-m5wg-cjgh-223j
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-284
Published
16 Apr 2026
Last change
26 Oct 2026
Ecosystem
Packagist

Affected packages

Vulnerable version ranges and fixed releases

  • goodoneuz/pay-uz Packagist, Affected through 2.2.24. Fixed in 3.0.0

Advisories

Vendor and security advisories