CVE 10 CRITICAL

CVE-2026-31843_CVE-2026-31843

10 / 10
CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Description

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.

AI Analysis

Unauthenticated remote code execution vulnerability in the goodoneuz/pay-uz Laravel package

Basic Information

ID CVE-2026-31843
Source TuranSec
Published Apr 16, 2026 at 13:02
Modified Apr 16, 2026 at 13:07

Affected Product

Vendor goodoneuz
Product pay-uz
Version <= 2.2.24
Affected Versions goodoneuz pay-uz <= 2.2.24

CWE Classification

AI Assessment

AI Score 10 / 10
AI Severity Critical
Vendor goodoneuz
Product pay-uz
Version <= 2.2.24

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.