# CVE-2026-94597: NukeViet CMS: Remote Code Execution via image-upload bypass chain (PHP short-tag detection bypass + double-extension filename)

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.78% (percentile 53, 2026-11-28)
- **CWE:** CWE-184, CWE-434
- **Published:** 2026-11-20T18:49:37.303Z
- **Modified:** 2026-11-25T05:18:40.243Z

## Who should check

- Anyone running nukeviet \< 4.5.12; \>= 4.6.00, \< 4.6.02

## 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.

## Affected and fixed versions

- nukeviet: \< 4.5.12; \>= 4.6.00, \< 4.6.02 (cvelist)

## Mitigation

- Upgrade nukeviet to 4.6.02 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-94597. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-94597.md
Affected: nukeviet < 4.5.12; >= 4.6.00, < 4.6.02
Fixed in: nukeviet 4.5.12, nukeviet 4.6.02

Steps:
1. Search this machine and project for nukeviet: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-94597 being exploited?

There is no confirmed exploitation: CVE-2026-94597 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.78% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-94597?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-94597?

nukeviet \< 4.5.12; \>= 4.6.00, \< 4.6.02.

### Is there a fix for CVE-2026-94597?

Yes. Fixed in nukeviet 4.5.12, nukeviet 4.6.02. Upgrade nukeviet to 4.6.02 or later.

### How do I check if I'm affected by CVE-2026-94597?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/nukeviet/nukeviet/security/advisories/GHSA-2cvj-x8hg-6wcq>
- patch: <https://github.com/nukeviet/nukeviet/commit/5703071071ddb7400a0704da4c9bb4da6c6ddb23>
- other: <https://github.com/nukeviet/nukeviet/releases/tag/4.6.02>
- other: <https://nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-02-858.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-94597>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-94597> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-94597>
