NukeViet CMS users module allows code execution via field callbacks
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- 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-94.
Summary
NukeViet CMS versions before 4.6.01 are affected. A super-administrator can store any existing PHP function as the callback for a custom profile field because the callback name is checked only for existence (CWE-94). The stored function runs when the field is validated during registration, profile editing, or administrator editing, so selecting a command-execution function runs commands as the web-server account. Ordinary users can trigger the callback once it is configured.
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.6.01, a super-administrator satisfying the NV_IS_SPADMIN gate can use modules/users/admin/fields.php to store an arbitrary existing PHP function in the func_callback setting for a custom profile field because the callback name is checked only with function_exists() and no allowlist restricts which function may be selected. modules/users/fields.check.php later invokes that function through call_user_func() when the field is validated through registration, profile editing, or administrator editing. Selecting a command-execution function crosses the super-administrator to operating-system boundary and executes commands as the web-server account, while ordinary users can trigger the stored callback after it is configured. Because the remediation validates callbacks only when they are written, upgrading does not remove a malicious callback already stored in the database, which must be cleaned manually. This issue is fixed in version 4.6.01.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nukeviet | nukeviet | before 4.6.01 | 4.6.01 | Patch available | CNA |
| — | nukeviet/nukeviet (Packagist) | before 4.6.01 | 4.6.01 | Patch available | GHSA-hjxg-4v29-j33c |
- nukeviet Vendornukeviet Affected before 4.6.01 Fixed in 4.6.01 Patch available CNA
- nukeviet/nukeviet (Packagist) Vendor— Affected before 4.6.01 Fixed in 4.6.01 Patch available GHSA-hjxg-4v29-j33c
Remediation
Upgrade the nukeviet product and the nukeviet/nukeviet Packagist package to version 4.6.01. Upgrading does not remove a malicious callback already stored in the database, so administrators must remove it manually.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA nukeviet (nukeviet) Fixed in 4.6.01
- Fix · GHSA-hjxg-4v29-j33c nukeviet/nukeviet (Packagist) Fixed in 4.6.01 Advisory →
Timeline
- 2026-11-20 Threatist record created from CVE-2026-94562
- 2026-11-30 Alias added: GHSA-hjxg-4v29-j33c
- 2026-11-30 Fix available: Packagist/nukeviet/[email protected] · GHSA-hjxg-4v29-j33c
- 2026-11-30 CVSS score added · GHSA-hjxg-4v29-j33c
- 2026-11-30 Weakness changed · GHSA-hjxg-4v29-j33c
- 2026-11-30 6 new references · GHSA-hjxg-4v29-j33c
References
Other 5
- https://github.com/nukeviet/nukeviet/security/advisories/GHSA-hjxg-4v29-j33c
- https://github.com/nukeviet/nukeviet/commit/1aa773c7feb41ffe95b53501df5a6956002ca61b
- https://github.com/nukeviet/nukeviet/releases/tag/4.6.01
- https://nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-01-857.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-94562 · CVE Program
- CVE-2026-94562 · NVD
- FIRST EPSS
- GHSA-hjxg-4v29-j33c · 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