CVE-2026-94562
NukeViet CMS: Remote Code Execution via unrestricted custom field validation callback in the `users` module
- CVSS
- 7.2
- EPSS
- 1.04% (p63)
- Published
- 2026-11-20
- Age
- 11d old
- Modified
- 2026-11-30
- Product
- nukeviet nukeviet
- Aliases
- GHSA-hjxg-4v29-j33c
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Description
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.
Fixed in
4.6.01
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Packagist | nukeviet/nukeviet | < 4.6.01 | 4.6.01 |
| Packagist | nukeviet/nukeviet | >=0, <4.6.01 | 4.6.01 |
Sources
- NVD · first seen 11d ago · NVD terms of use
- OSV · first seen 10d ago · CC-BY 4.0
- GitHub Advisory Database · first seen 15h ago · CC-BY 4.0
- CVE List · first seen 11d ago · CVE Terms of Use
References
- https://github.com/nukeviet/nukeviet/security/advisories/GHSA-hjxg-4v29-j33c x_refsource_CONFIRM
- https://github.com/nukeviet/nukeviet/commit/1aa773c7feb41ffe95b53501df5a6956002ca61b x_refsource_MISC
- https://github.com/nukeviet/nukeviet/releases/tag/4.6.01 x_refsource_MISC
- https://nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-01-857.html x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/94xxx/CVE-2026-94562.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-94562 advisory
- https://github.com/advisories/GHSA-hjxg-4v29-j33c other
- https://github.com/nukeviet/nukeviet package