CVE-2026-94597
NukeViet CMS: Remote Code Execution via image-upload bypass chain (PHP short-tag detection bypass + double-extension filename)
- CVSS
- 7.5
- EPSS
- 0.78% (p53)
- Published
- 2026-11-20
- Age
- 11d old
- Modified
- 2026-11-30
- Product
- nukeviet nukeviet
- Aliases
- GHSA-2cvj-x8hg-6wcq
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Description
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.
Fixed in
4.5.12
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Packagist | nukeviet/nukeviet | < 4.5.12 | 4.5.12 |
| Packagist | nukeviet/nukeviet | >= 4.6.00 | — |
| Packagist | nukeviet/nukeviet | >=0, <4.5.12 | 4.5.12 |
Sources
- NVD · first seen 11d ago · NVD terms of use
- OSV · first seen 10d ago · CC-BY 4.0
- GitHub Advisory Database · first seen 14h ago · CC-BY 4.0
- CVE List · first seen 11d ago · CVE Terms of Use
References
- https://github.com/nukeviet/nukeviet/security/advisories/GHSA-2cvj-x8hg-6wcq x_refsource_CONFIRM
- https://github.com/nukeviet/nukeviet/commit/5703071071ddb7400a0704da4c9bb4da6c6ddb23 x_refsource_MISC
- https://github.com/nukeviet/nukeviet/releases/tag/4.6.02 x_refsource_MISC
- https://nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-02-858.html x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/94xxx/CVE-2026-94597.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-94597 advisory
- https://github.com/advisories/GHSA-2cvj-x8hg-6wcq other
- https://github.com/nukeviet/nukeviet package