CVE-2026-94597
NukeViet CMS: Remote Code Execution via image-upload bypass chain (PHP short-tag detection bypass + double-extension filename)
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.
Fixes and workarounds
Fix
nukeviet/nukeviet (composer): GitHub reports patched versions 4.5.12, 4.6.02. Check the advisory for the affected release branch.
Source: GitHub GHSA-2cvj-x8hg-6wcqAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| nukeviet nukeviet |
< 4.5.12 (affected) >= 4.6.00, < 4.6.02 (affected) |
CNA: GitHub_M |
nukeviet/nukevietnukeviet/nukeviet
composer |
<=4.6.01, <=4.5.11 (affected, GitHub advisory range) | GitHub GHSA-2cvj-x8hg-6wcq |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 7.5 high |
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | CNA: GitHub_M |
| 3.1 / 7.5 high |
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/nukeviet/nukeviet/security/advisories/GHSA-2cvj-x8hg-6wcqCNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/nukeviet/nukeviet/commit/5703071071ddb7400a0704da4c9bb4da6c6ddb23CNA: GitHub_M · x_refsource_MISC
- https://github.com/nukeviet/nukeviet/releases/tag/4.6.02CNA: GitHub_M · x_refsource_MISC
- https://nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-02-858.htmlCNA: GitHub_M · x_refsource_MISC
- https://github.com/nukeviet/nukeviet/commit/5703071071ddb7400a0704da4c9bb4da6c6ddb23[email protected]
- https://github.com/nukeviet/nukeviet/releases/tag/4.6.02[email protected]
- https://github.com/nukeviet/nukeviet/security/advisories/GHSA-2cvj-x8hg-6wcq[email protected]
- https://nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-02-858.html[email protected]
- https://github.com/nukeviet/nukeviet/security/advisories/GHSA-2cvj-x8hg-6wcqGitHub Security Advisories · advisory
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.