Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to reach upload flow
-
DeliveryCraft image polyglot with <? payload
-
ExploitUpload as shell.php.jpg double-extension
-
ExecutionBypass verify_image and .htaccess checks
-
PersistRequest stored file, Apache mod_php executes
-
ImpactRun OS commands as web-server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
|
| Exploitation Conditions | Execution requires a specific, non-default server stack: Apache with mod_php using a loose handler such as 'AddHandler application/x-httpd-php .php' AND php.ini short_open_tag=On. The attacker must also reach an image-upload flow - the admin uploader, or the user-facing avatar/banner/comment-attachment uploaders only when those features are enabled - consistent with PR:L. Exploitation is LIMITED by: deployments on PHP-FPM, nginx, OpenLiteSpeed, or end-anchored SetHandler/FilesMatch \.php$ handlers are NOT exposed to the execution step; sites with short_open_tag=Off defeat this specific short-tag payload; and NukeViet versions 4.5.12 and 4.6.02 harden the upload pipeline at the application layer regardless of server config. The upload-validation defects themselves apply to all affected versions as defense-in-depth issues even where code execution is not reachable. |
| Impact | This is a genuine but conditional RCE, not a universal drop-everything emergency. The provided CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.5) is internally consistent with the evidence: network-reachable via an upload endpoint, but AC:H reflects that execution only occurs on a specific server configuration (Apache mod_php with short_open_tag=On and an AddHandler .php handler), and PR:L reflects that reaching the upload flow typically requires at least low-privileged access. No EPSS score and no KEV listing were provided, and there is no PoC/exploit reference in the input - so exploitation status is 'no public exploit identified at time of analysis.' The vendor-assigned Decision label is 'this_week,' which aligns with a serious-but-not-emergency priority rather than act_now. The key nuance defenders must weigh: full OS command execution is real only on the vulnerable Apache/mod_php/short_open_tag combination; sites on PHP-FPM, nginx, OpenLiteSpeed, or end-anchored SetHandler/FilesMatch \.php$ handlers are not exposed to the execution step (though the upload-validation defects remain as defense-in-depth concerns). The CVSS C:H/I:H/A:H therefore represents a worst-case, config-dependent outcome; actual risk is binary on server configuration, which the raw 7.5 score does not convey. |
| Exploit ScenarioDerived | An attacker able to reach an image-upload flow (admin uploader, or user-facing avatar/banner/comment attachments when enabled) uploads a valid GIF/image with PHP short-tag code appended and a double-extension filename such as shell.php.jpg. Because verify_image() misses the <? short-open tag, the sanitizer preserves embedded dots, validation checks only the last extension, and the .htaccess rule anchors only at the URI end, the polyglot is stored and - on Apache mod_php with short_open_tag On - executed as PHP, running OS commands as the web-server user. No public exploit code is identified in the provided data, though the GitHub security advisory describes the full bypass chain. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Remote code execution in NukeViet CMS 4.5.x through 4.5.11 and 4.6.x through 4.6.01 is reachable by an attacker who can access an image-upload flow (the admin uploader, or avatar/banner/comment attachments when those features are enabled), consistent with the PR:L rating in the assessed vector. The upload pipeline accepts a valid image polyglot carrying a <? short-tag payload under a double-extension name such as shell.php.jpg, and execution occurs only on Apache with mod_php using a loose handler (for example AddHandler application/x-httpd-php .php) combined with short_open_tag=On; PHP-FPM, nginx, OpenLiteSpeed and end-anchored FilesMatch \.php$ deployments are not exposed to the execution step. Vendor-released patches exist as versions 4.5.12 and 4.6.02, and no public exploit was identified at time of analysis, though the underlying upload-validation defects remain defense-in-depth issues on every affected version regardless of server stack.
RemediationAI
Vendor-released patch: upgrade to NukeViet 4.5.12 or 4.6.02, which harden the upload pipeline at the application layer so protection no longer depends on web-server configuration (fix commit 5703071071ddb7400a0704da4c9bb4da6c6ddb23, release notes at https://github.com/nukeviet/nukeviet/releases/tag/4.6.02, advisory at https://github.com/nukeviet/nukeviet/security/advisories/GHSA-2cvj-x8hg-6wcq). If upgrading is not immediately possible, the vendor describes the following as mitigations only, since the root weakness is in the upload-validation and filename logic: on Apache with mod_php, set php_flag engine off or remove the handler with RemoveHandler for the uploads/ directory, with the trade-off that no PHP under that path will run; or migrate to PHP-FPM or SetHandler combined with <FilesMatch "\.php$">, so only files ending in .php reach the interpreter, accepting the operational change of a new execution model; or disable short_open_tag, which defeats this specific short-tag payload but not the underlying validation defects.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is an incomplete-list-of-disallowed-inputs problem (CWE-184) that compounds into unrestricted file upload (CWE-434) inside NukeViet\Files\Upload::save_file(). Three independent weaknesses had to line up: verify_image() matched only <?php and <?= via #<\?(php\b|=)(.*?)(\?>|$)#is, so the bare <? short-open tag slipped through; the filename sanitizer in string_to_filename() and nv_string_to_filename() preserved dots, so an embedded .php survived in shell.php.jpg; and extension validation inspected only the final extension while the generated .htaccess rewrite blocked dangerous extensions only when they appeared at the end of the URI. Apache's mod_mime handler semantics - where AddHandler application/x-httpd-php .php hands any file containing a .php segment to the interpreter - turn the stored polyglot into executable PHP when short_open_tag=On. The fix normalizes any matched snippet to <?php before tokenizing so detection no longer depends on the scanning server's short_open_tag setting, strips dots from the name part in both the uploader and admin/upload/renameimg.php, and widens the rewrite to block php[0-9]?, phtml and phar anywhere in the path including before a trailing dot. The vendor notes the stricter tokenizer carries a very low false-positive rate against binary image data, accepted deliberately in favor of stronger protection.
Know when Nukeviet gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable upload (AV:N) needs low-priv access to an upload flow (PR:L) and a specific Apache mod_php/short_open_tag config (AC:H); successful RCE yields full C:H/I:H/A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
NukeViet CMS is a multi Content Management System. Prior to 4.5.12 and 4.6.02, an attacker who can reach an image-upload flow can upload a valid image with appended PHP short-tag code and a double-extension filename. NukeViet\Files\Upload::save_file() relied on verify_image(), which missed the <? short-open tag, while filename handling preserved embedded dots, validation inspected only the final extension, and an .htaccess rule blocked PHP extensions only at the end of the URI. On Apache mod_php systems configured with short_open_tag and a PHP extension handler, the stored polyglot can execute as PHP and run operating-system commands as the web-server user; PHP-FPM, nginx, and end-anchored handler configurations are not exposed to the execution step. This issue is fixed in versions 4.5.12 and 4.6.02.
Articles & Coverage 1
Technical POC Analysis
No runnable PoC is present in the supplied evidence (advisory text only, no diff hunks, no exploit script).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-94597 is a high-severity remote code execution vulnerability in NukeViet CMS, affecting versions 4.5.x through 4.5.11 and 4.6.x through 4.6.01. If exploited, an authenticated attacker with access to image-upload features could execute arbitrary code on the server, potentially leading to full system compromise. Business leaders should prioritize this vulnerability because it can result in data breaches, service disruption, and reputational damage, and patches are now available.
Vendor-released patch: 4.5.12 and 4.6.02
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
nukeviet v.4.5 and before and nukeviet-egov v.1.2.02 and before have a Deserialization vulnerability which results in co
clearsystem.php in NukeViet 4.4 allows CSRF with resultant HTML injection via the deltype parameter to the admin/index.p
modules\users\admin\edit.php in NukeViet 4.4 allows CSRF to change a user's password via an admin/index.php?nv=users&op=
modules\users\admin\add_user.php in NukeViet 4.4 allows CSRF to add a user account via the admin/index.php?nv=users&op=u
nukeviet v.4.5 and before and nukeviet-egov v.1.2.02 and before are vulnerable to arbitrary code execution via the /admi
There is a Cross Site Scripting Stored (XSS) vulnerability in NukeViet CMS before 4.5.02. Rated medium severity (CVSS 5.
Stored cross-site scripting (XSS) in NukeViet CMS affects versions through 4.5.11 and through 4.6.01: an SVG file whose
Stored cross-site scripting in NukeViet CMS (3.x line through 4.6.00, fixed in 4.6.01) lets an unauthenticated visitor p
Stored cross-site scripting in NukeViet CMS 4.5.08 through 4.6.01 lets an unauthenticated visitor plant JavaScript that
Unauthenticated stored cross-site scripting in the Contact module of NukeViet CMS before 4.6.01 lets any anonymous visit
PHP object injection leading to remote code execution in NukeViet CMS 4.x extension-store handlers, fixed in 4.6.00. Bec
Pre-authentication server-side request forgery in NukeViet CMS 4.6.00 lets remote unauthenticated attackers make the ser
EUVD-2026-131737
NVD
CVE.org
EPSS
GitHub
Exploit-DB