All vulnerabilities

Packagist

CVE-2026-94562

NukeViet CMS: Remote Code Execution via unrestricted custom field validation callback in the `users` module

Severity
High 7.2
Published
30 Nov 2026
Last changed
30 Nov 2026
Added to UpHeron
30 Nov 2026
Fixed in
4.6.01
Exploit chance
1% in the next 30 daysHigher than 63% of CVEs. EPSS by FIRST, 30 Nov 2026
Weakness
Unsafe reflection (CWE-470)CWE-749Code injection (CWE-94)
Attack
Over the network · Needs an administrator account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-hjxg-4v29-j33c
Sources
OSV.dev and GitHub

Description

_What kind of vulnerability is it? Who is impacted?_

The users module lets an administrator define custom profile fields. When a field uses the callback validation type, the supplied function name (func_callback) was accepted after only a function_exists() check — with no allow-list and no restriction on which functions may be used.

As a result, a function such as system, exec, shell_exec or passthru could be stored as the field's validator. The value is later passed to call_user_func($func_callback, $value) in modules/users/fields.check.php when the field is submitted (e.g. via editinfo, register, or admin edit), causing arbitrary command execution on the server under the web-server account (e.g. www-data).

Type: Unsafe reflection / code injection leading to OS command execution (RCE).

  • Creating a malicious callback field requires the users module field-management privilege, which is gated behind super-administrator access (NV_IS_SPADMIN) — it is not reachable by a…
From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Workarounds

_Is there a way for users to fix or remediate the vulnerability without upgrading?_

  • Restrict super-administrator accounts. Only site super-admins can create/modify custom fields; limiting and monitoring these accounts removes the attack surface.
  • Audit existing data. Inspect the module field table (e.g. nv4_users_field and the *_field table of any module using this feature) for rows where match_type = 'callback', and remove or correct any func_callback that is not a legitimate boolean-returning validator (e.g. system, exec, shell_exec, passthru, assert, call_user_func, etc.).
Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
nukeviet/nukevietPackagist · osv:Packagist:nukeviet/nukeviet
  • Every version before 4.6.01

About nukeviet/nukeviet

Monthly downloads (Packagist)
9Packagist, 30 Nov 2026
Total downloads (Packagist)
45Packagist, 30 Nov 2026

References