CVE-2026-31843

CRITICAL EXPLOITED

goodoneuz/pay-uz <= 2.2.24 - Unauthenticated Remote Code Execution via Payment API Endpoint

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2026-31843 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 1 public exploit from researchers including HORKimhab.

AI-analyzed exploit summary The repository contains a detailed technical writeup of CVE-2026-31843, a remote code execution vulnerability in the goodoneuz/pay-uz Laravel package (<= 2.2.24). The vulnerability stems from an unauthenticated endpoint allowing arbitrary PHP file overwrites, but no functional exploit code is provided.

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.

Exploits (1)

github STUB
by HORKimhab · shellpoc
https://github.com/HORKimhab/poc-cve-collection/tree/main/2026/31xxx/CVE-2026-31843.md

The repository contains a detailed technical writeup of CVE-2026-31843, a remote code execution vulnerability in the goodoneuz/pay-uz Laravel package (<= 2.2.24). The vulnerability stems from an unauthenticated endpoint allowing arbitrary PHP file overwrites, but no functional exploit code is provided.

Classification
Stub 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: goodoneuz/pay-uz Laravel package <= 2.2.24
No auth needed
Prerequisites: Access to the /payment/api/editable/update endpoint · Ability to craft malicious input to overwrite PHP files
mistral-large-3 · analyzed Jul 14, 2026 Full analysis →

Scores

CVSS v3 9.8
EPSS 0.0276
EPSS Percentile 84.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

VulnCheck KEV 2026-07-09
CWE
CWE-284
Status published
Products (2)
goodoneuz/pay-uz 0 - 3.0.0Packagist
goodoneuz/pay-uz <= 2.2.24
Published Apr 16, 2026
Tracked Since Apr 16, 2026