All vulnerabilities

Packagist

CVE-2026-94566

NukeViet: Login Lockout Bypass via Untrusted Forwarded-IP Headers

Severity
Medium 5.3
Published
30 Nov 2026
Last changed
30 Nov 2026
Added to UpHeron
30 Nov 2026
Fixed in
4.6.01
Exploit chance
0.7% in the next 30 daysHigher than 50% of CVEs. EPSS by FIRST, 30 Nov 2026
Weakness
No limit on authentication attempts (CWE-307)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Also known as
GHSA-ccf2-6mf6-j78j
Sources
OSV.dev and GitHub

Description

NukeViet 4.6.00 unconditionally trusts client-controlled proxy headers, including X-Forwarded-For, when determining the client IP. It does not verify that the request came from a trusted reverse proxy.

An unauthenticated attacker can therefore rotate the header to bypass the built-in login-attempt blocker. The same spoofable IP is also used by admin and API IP restrictions, IP bans, flood protection, and security logging.

Ips.php accepts HTTP_CLIENT_IP, HTTP_X_FORWARDED_FOR, and similar headers before falling back to the connection's REMOTE_ADDR. There is no trusted-proxy check.

NV_CLIENT_IP is then used as the key for the login blocker in admin_login.php and modules/users/funcs/login.php.

The following result was reproduced from WSL against NukeViet 4.6.00. With X-Forwarded-For: 203.0.113.203, the installation returned:

Changing only the header to X-Forwarded-For: 203.0.113.204 immediately restored login attempts:

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
nukeviet/nukevietPackagist · osv:Packagist:nukeviet/nukeviet
  • From 4.6.00 before 4.6.01

About nukeviet/nukeviet

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

References