Skip to main content

PHP CVE-2026-6602

| EUVDEUVD-2026-23768 MEDIUM
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-04-20 VulDB
5.5
CVSS 4.0 · NVD
Share

Severity by source

NVD PRIMARY
5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

8
CVSS changed
Apr 29, 2026 - 01:12 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
Severity Changed
Apr 20, 2026 - 04:22 NVD
HIGH MEDIUM
CVSS changed
Apr 20, 2026 - 04:22 NVD
7.3 (HIGH) 6.9 (MEDIUM)
Analysis Generated
Apr 20, 2026 - 04:10 vuln.today
EUVD ID Assigned
Apr 20, 2026 - 04:00 euvd
EUVD-2026-23768
Analysis Generated
Apr 20, 2026 - 04:00 vuln.today
CVE Published
Apr 20, 2026 - 03:45 nvd
MEDIUM 5.5

DescriptionCVE.org

A vulnerability was found in rickxy Hospital Management System up to 88a4290d957dc5bdde8a56e5ad451ad14f7f90f4. Affected is an unknown function of the file /backend/admin/his_admin_account.php. The manipulation of the argument ad_dpic results in unrestricted upload. The attack can be executed remotely. The exploit has been made public and could be used. This product implements a rolling release for ongoing delivery, which means version information for affected or updated releases is unavailable.

AnalysisAI

Unrestricted file upload in rickxy Hospital Management System allows remote unauthenticated attackers to upload malicious files via the /backend/admin/his_admin_account.php endpoint, leading to potential remote code execution, data exfiltration, or system compromise. Public exploit code exists (GitHub), significantly lowering exploitation barrier. The product uses rolling releases with no fixed versioning, complicating patch tracking. CVSS 7.3 with EPSS not provided, but publicly available POC elevates real-world risk.

Technical ContextAI

This is a CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerability in a PHP-based hospital management system. The affected endpoint /backend/admin/his_admin_account.php accepts file uploads via the 'ad_dpic' parameter without proper validation of file type, extension, or content. In PHP applications, unrestricted upload commonly enables attackers to upload web shells (PHP scripts) that execute arbitrary commands when accessed via HTTP. The backend admin path suggests this may be intended for profile picture uploads, but lacks server-side controls to restrict uploads to safe image formats only. The CPE identifies rickxy Hospital Management System as the affected product, with vulnerability present in commits up to 88a4290d957dc5bdde8a56e5ad451ad14f7f90f4.

RemediationAI

Update to the latest commit from the rickxy Hospital Management System repository (https://github.com/rickxy/Hospital-Management-System) that addresses this vulnerability, verifying the commit is newer than 88a4290d957dc5bdde8a56e5ad451ad14f7f90f4. Since no formal patch advisory exists and the project uses rolling releases, review recent commits for file upload validation fixes in /backend/admin/his_admin_account.php. If immediate patching is not feasible, implement these compensating controls with specific trade-offs: (1) Restrict access to /backend/admin/* paths to authenticated admin users only via web server configuration (Apache .htaccess or nginx location blocks) - this mitigates unauthenticated exploitation but breaks legitimate unauthenticated admin access if design requires it, (2) Implement web application firewall (WAF) rules to block POST requests to his_admin_account.php containing executable file extensions (.php, .phtml, .php5, .phar) in ad_dpic parameter - may cause false positives if legitimate filenames contain these strings, (3) Configure PHP disable_functions directive to block shell execution functions (system, exec, shell_exec, passthru) - reduces RCE impact but may break legitimate application functionality that relies on system commands, (4) Deploy the application in a containerized environment with read-only filesystem for web root - prevents uploaded files from being written but requires architectural changes. Verify fixes by testing upload attempts with .php files to confirm rejection.

More in PHP

View all
CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

Share

CVE-2026-6602 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy