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

CVE-2026-94566 — nukeviet

MEDIUMFix: nukeviet/nukeviet@aee1a6d

CVE-2026-94566 is a medium-severity (CVSS 5.3) CWE-307 vulnerability in nukeviet/nukeviet. A fix is available for nukeviet/nukeviet — see the affected versions and patch details below.

NukeViet: Login Lockout Bypass via Untrusted Forwarded-IP Headers

Also known asGHSA-ccf2-6mf6-j78j
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

Proof-of-concept exploit code exists

  • CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.

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

EPSS Exploitation Probability

via FIRST.org ↗
0.7%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs51th percentile — riskier than 51% 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

Summary

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.

Affected Version

  • Version: NukeViet 4.6.00
  • Commit: f47de5cd6577d0d49449754be9bafe9081be4981
  • Authentication: Not required

Root Cause

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.

Reproduction

From WSL, place the supplied Bash PoC in the current directory and run:

bash ./nukeviet_xff_lockout_poc.sh \
  http://localhost/admin/

nukeviet_xff_lockout_poc.sh

The script uses a randomly generated nonexistent username. It does not attempt to access a real account.

Verified Result

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

attempt=1 blocked=false incorrect=true status=200
attempt=2 blocked=false incorrect=true status=200
attempt=3 blocked=false incorrect=true status=200
attempt=4 blocked=false incorrect=true status=200
attempt=5 blocked=false incorrect=true status=200
attempt=6 blocked=true incorrect=false status=200

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

rotated_ip=203.0.113.204 blocked=false incorrect=true status=200
<img width="1380" height="904" alt="xff" src="https://github.com/user-attachments/assets/c61592f1-3dce-482f-8660-0804f58e18e5" />

The TCP source and target were unchanged. This confirms that an unauthenticated attacker can evade the lockout by supplying a new header value for every attempt.

Impact

  • Verified impact: bypass of administrator login lockout, enabling effectively unlimited password-guessing attempts from one source by rotating X-Forwarded-For.
  • Additional code-level exposure: the spoofable IP is also consumed by user-login controls, IP restrictions, bans, flood controls, and security logging. These additional consequences were not dynamically demonstrated by this PoC.

This is a product-level trust issue, not merely a missing proxy configuration option: NukeViet trusts the headers even when the request is received directly.

Remediation

  • Use REMOTE_ADDR by default.
  • Accept forwarded client-IP headers only when REMOTE_ADDR belongs to an explicitly configured trusted proxy.
  • Parse proxy chains from right to left and select the first untrusted address.
  • Ensure rate limits and security logs retain the socket peer address in addition to any validated forwarded address.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistnukeviet/nukeviet≥ 4.6.00&&< 4.6.014.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-94566 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

## Summary 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. ## Affected Version - **Version:** NukeViet 4.6.00 - **Commit:** `f47de5cd6577d0d49449754be9bafe9081be4981` - **Authentication:** Not required ## Root Cause
O3 Security · Impact-Aware SCA

Is CVE-2026-94566 in your dependencies?

Find it across Packagist, including transitive dependencies.

CVE-2026-94566: nukeviet — Fixed in 4.6.01