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
- 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:
Affected software
| Software | Affected versions |
|---|---|
nukeviet/nukevietPackagist · osv:Packagist:nukeviet/nukeviet |
|
About nukeviet/nukeviet
- Monthly downloads (Packagist)
- 9Packagist, 30 Nov 2026
- Total downloads (Packagist)
- 45Packagist, 30 Nov 2026
Vulnerabilities in nukeviet/nukeviet
- In our list
- 11
- Published in the last 12 months
- 11
- Critical, last 12 months
- 2
- High, last 12 months
- 6
- Known exploited
- 0
- CVE-2026-94599NukeViet CMS: Reflected XSS in news module search via double URL decoding of the q parameterMedium 6.1 30 Nov 2026
- CVE-2026-94598NukeViet CMS: Stored XSS via internal marker injection in iframe srcdoc sanitizationHigh 8.2 30 Nov 2026
- CVE-2026-94597NukeViet CMS: Remote Code Execution via image-upload bypass chain (PHP short-tag detection bypass + double-extension filename)High 7.5 30 Nov 2026
- CVE-2026-94567NukeViet CMS: Stored XSS via internal DTD entities in SVG uploadsCritical 9.3 30 Nov 2026
- CVE-2026-94564NukeViet CMS: Unauthenticated Stored XSS in the Contact Module via HTML Sanitizer BypassHigh 8.2 30 Nov 2026
- CVE-2026-94565NukeViet CMS: Unauthenticated Stored XSS in the Contact ModuleCritical 9.3 30 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-94566
- GitHub Advisory Database https://github.com/advisories/GHSA-ccf2-6mf6-j78j