Skip to main content

PHP CVE-2026-6257

| EUVDEUVD-2026-23942 CRITICAL
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-04-20 VulnCheck GHSA-c9rc-p9cp-2x7q
9.2
CVSS 4.0 · NVD
Share

Severity by source

NVD PRIMARY
9.2 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:H/SA:N/E:X/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:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:H/SA:N/E:X/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
High
User Interaction
None
Scope
X

Lifecycle Timeline

6
Re-analysis Queued
Apr 21, 2026 - 16:22 vuln.today
cvss_changed
Analysis Generated
Apr 20, 2026 - 20:32 vuln.today
CVSS changed
Apr 20, 2026 - 20:22 NVD
9.1 (CRITICAL) 9.2 (CRITICAL)
EUVD ID Assigned
Apr 20, 2026 - 20:00 euvd
EUVD-2026-23942
Analysis Generated
Apr 20, 2026 - 20:00 vuln.today
CVE Published
Apr 20, 2026 - 19:09 nvd
CRITICAL 9.2

DescriptionCVE.org

Vvveb CMS v1.0.8 contains a remote code execution vulnerability in its media management functionality where a missing return statement in the file rename handler allows authenticated attackers to rename files to blocked extensions .php or .htaccess. Attackers can exploit this logic flaw by first uploading a text file and renaming it to .htaccess to inject Apache directives that register PHP-executable MIME types, then uploading another file and renaming it to .php to execute arbitrary operating system commands as the www-data user.

AnalysisAI

Remote code execution in Vvveb CMS v1.0.8 allows authenticated administrators to execute arbitrary system commands as www-data via a two-stage file upload attack. Attackers exploit a logic flaw in the media management file rename handler that fails to block .php and .htaccess extensions, enabling MIME type manipulation followed by PHP code execution. VulnCheck published an advisory and GitHub commit 6fb8eaa confirms upstream fix. No EPSS data available; no active exploitation confirmed at time of analysis.

Technical ContextAI

Vvveb is an open-source PHP-based content management system. This vulnerability exploits CWE-434 (Unrestricted Upload of File with Dangerous Type) through a missing return statement in the file rename validation logic within the media management module. The flaw permits authenticated users to bypass extension blocklists that should prevent renaming files to .php or .htaccess. Apache's .htaccess configuration file mechanism allows per-directory runtime directives, including AddType declarations that can associate arbitrary file extensions with PHP MIME types. By chaining these capabilities-first uploading a benign file and renaming to .htaccess to inject MIME type mappings, then uploading a second file and renaming to .php-an attacker gains arbitrary code execution within the Apache process context (typically the www-data user on Debian-based systems).

RemediationAI

Apply the upstream fix by upgrading to the commit following 6fb8eaa998265e33e8802cbc220d8859dbc144f2 available at https://github.com/givanz/Vvveb/commit/6fb8eaa998265e33e8802cbc220d8859dbc144f2, which corrects the missing return statement in the file rename validation logic. No tagged release version incorporating this fix was independently confirmed at time of analysis-verify current repository HEAD or request release timeline from the Vvveb project. If immediate patching is not feasible, implement compensating controls: restrict admin panel access to trusted internal IP ranges via Apache Allow/Deny directives or web application firewall rules (trade-off: limits legitimate remote administration), disable the media management file rename functionality by removing write permissions on the media upload directory for the www-data user (trade-off: breaks legitimate rename workflows), or implement Apache-level restrictions to prevent execution of .php files in the media upload directory via php_flag engine off in .htaccess (trade-off: requires server-level AllowOverride configuration and does not mitigate .htaccess injection itself). Review all admin accounts for compromised credentials and enforce multi-factor authentication to reduce privilege escalation vectors.

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-6257 vulnerability details – vuln.today

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