NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐘
🐘 Packagist
Not in CISA KEV
HIGH severity

CVE-2026-94562 — nukeviet

HIGHFix: nukeviet/nukeviet@1aa773c

CVE-2026-94562 is a high-severity (CVSS 7.2) Code Injection vulnerability in nukeviet/nukeviet. A fix is available for nukeviet/nukeviet — see the affected versions and patch details below.

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

Also known asGHSA-hjxg-4v29-j33c
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 30, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • A successful exploit gives an attacker total control of the affected component, not partial access.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2026-94562.

EPSS Exploitation Probability

via FIRST.org ↗
1.0%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs63th percentile — riskier than 63% of all scored CVEsHighest risk

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
🐘nukeviet/nukeviet

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

Description

Impact

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

Who is impacted / preconditions:

  • 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 low-privilege admin or a normal user.
  • Once such a field exists, the callback runs whenever the field is validated (including by unprivileged users), but the trust boundary that is crossed is super-admin → OS command execution as the web user, not root and not an anonymous-to-admin escalation.

Because exploitation requires an already highly-trusted super-administrator and execution is confined to the unprivileged web account, the real-world severity is Medium, not critical.

  • CVSS 3.1: AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H = 7.2 (High)

Patches

Has the problem been patched? What versions should users upgrade to?

Yes. Validation of func_callback is now enforced against an explicit allow-list at write time. A callback function is only stored when it both exists and is declared in a new site configuration whitelist:

// config.php
$global_config['user_field_callbacks'] = ['your_validator_1', 'your_validator_2'];

If the supplied function is not on the list, the callback is discarded and the field falls back to no validation, so a dangerous function such as system can no longer be attached to a field through the admin form. The admin field form also shows an on-screen note explaining that a callback must first be declared in config.php.

Users should upgrade to the patched release of NukeViet 4.6 that includes this change (or apply the corresponding commit).

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.). This matters even after upgrading, because the fix validates at write time; a malicious value already present in the database must be cleaned manually.
  • Harden the runtime. Disable dangerous PHP functions via disable_functions in php.ini (e.g. system,exec,shell_exec,passthru,proc_open,popen) so that even an attacker-supplied callback cannot spawn OS commands.

Related

Are there any links users can visit to find out more?

  • Sink: modules/users/fields.check.php — call_user_func($row_f['func_callback'], $value)
  • Source / fix location: modules/users/admin/fields.php — func_callback handling on field save
  • Configuration whitelist: config.php — $global_config['user_field_callbacks']

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistnukeviet/nukevietall versions4.6.01composer require nukeviet/nukeviet:^4.6.01

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for nukeviet/nukeviet, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update nukeviet/nukeviet to 4.6.01 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-94562 is resolved across your whole dependency graph.

  3. Workarounds

    Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.

Frequently Asked Questions

### Impact _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
O3 Security · Impact-Aware SCA

Is CVE-2026-94562 in your dependencies?

Find it across Packagist, including transitive dependencies.

CVE-2026-94562: nukeviet RCE — Fixed in 4.6.01