Remote code execution in NukeViet CMS via image upload bypass
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-434.
Summary
NukeViet CMS before 4.5.12 and from 4.6.00 before 4.6.02 is affected. Its image upload check misses the PHP short open tag and keeps embedded dots in filenames, which lets a double-extension file slip past validation (CWE-434). An attacker who can reach an image upload flow can run operating system commands as the web server user on Apache mod_php systems that enable short_open_tag and a PHP extension handler.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nukeviet | nukeviet | before 4.5.12; 4.6.00 to before 4.6.02 | 4.5.12, 4.6.02 | Patch available | CNA |
| — | nukeviet/nukeviet (Packagist) | before 4.5.12 | 4.5.12 | Patch available | GHSA-2cvj-x8hg-6wcq |
| — | nukeviet/nukeviet (Packagist) | 4.6.00 and later | — | No fix listed | GHSA-2cvj-x8hg-6wcq |
- nukeviet Vendornukeviet Affected before 4.5.12; 4.6.00 to before 4.6.02 Fixed in 4.5.12, 4.6.02 Patch available CNA
- nukeviet/nukeviet (Packagist) Vendor— Affected before 4.5.12 Fixed in 4.5.12 Patch available GHSA-2cvj-x8hg-6wcq
- nukeviet/nukeviet (Packagist) Vendor— Affected 4.6.00 and later Fixed in — No fix listed GHSA-2cvj-x8hg-6wcq
Remediation
Fixed versions are 4.5.12 and 4.6.02 for NukeViet, and 4.5.12 for the Packagist package nukeviet/nukeviet. The sources list no fixed version for nukeviet/nukeviet.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA nukeviet (nukeviet) Fixed in 4.5.12, 4.6.02
- Fix · GHSA-2cvj-x8hg-6wcq nukeviet/nukeviet (Packagist) Fixed in 4.5.12 Advisory →
Timeline
- 2026-11-20 Threatist record created from CVE-2026-94597
- 2026-11-25 EPSS moved to the below the 50th percentile
- 2026-11-25 CISA SSVC decision points changed
- 2026-11-28 EPSS moved to the 50th–90th percentile
- 2026-11-30 Alias added: GHSA-2cvj-x8hg-6wcq
- 2026-11-30 Fix available: Packagist/nukeviet/[email protected] · GHSA-2cvj-x8hg-6wcq
- 2026-11-30 CVSS score added · GHSA-2cvj-x8hg-6wcq
- 2026-11-30 Weakness changed · GHSA-2cvj-x8hg-6wcq
- 2026-11-30 6 new references · GHSA-2cvj-x8hg-6wcq
References
Other 5
- https://github.com/nukeviet/nukeviet/security/advisories/GHSA-2cvj-x8hg-6wcq
- https://github.com/nukeviet/nukeviet/commit/5703071071ddb7400a0704da4c9bb4da6c6ddb23
- https://github.com/nukeviet/nukeviet/releases/tag/4.6.02
- https://nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-02-858.html
- https://github.com/nukeviet/nukeviet
More nukeviet vulnerabilities
- TI-2026-96011 Stored cross-site scripting in NukeViet CMS via SVG uploads CVSS 3.1CRITICAL 9.3
- TI-2026-95999 NukeViet CMS: Unauthenticated Stored XSS in the Contact module CVSS 3.1CRITICAL 9.3
- TI-2024-24299 nukeviet v.4.5 and before and nukeviet-egov v.1.2.02 and before have a Deserialization… CVSS 3.1HIGH 8.8
- TI-2026-95995 Server-side request forgery in NukeViet via incomplete X-Forwarded-Host fix CVSS 3.1HIGH 7.2
- TI-2026-95998 Stored XSS in NukeViet CMS Contact module via HTML sanitizer bypass CVSS 3.1HIGH 8.2
- TI-2026-95986 Reflected cross-site scripting in NukeViet CMS comment module CVSS 3.1HIGH 8.2
Sources
- CVE-2026-94597 · CVE Program
- CVE-2026-94597 · NVD
- FIRST EPSS
- GHSA-2cvj-x8hg-6wcq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences