All vulnerabilities

Packagist

CVE-2026-94561

NukeViet: Pre-authentication SSRF via incomplete X-Forwarded-Host fix

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
0.6% in the next 30 daysHigher than 40% of CVEs. EPSS by FIRST, 30 Nov 2026
Weakness
Server-side request forgery (CWE-918)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Also known as
GHSA-8xch-674f-grqr
Sources
OSV.dev and GitHub

Description

NukeViet 4.6.00 remains vulnerable to pre-authentication SSRF despite the fix for CVE-2026-55372 / GHSA-4chg-4752-w88r.

The fix validates the host derived from X-Forwarded-Host, but NukeViet separately retains the ordinary Host header as NV_SERVER_NAME. During server-information cache initialization, set_ini_file() constructs a cURL URL from this unvalidated value and sends the request before validating it.

An unauthenticated attacker can supply the legitimate configured domain in X-Forwarded-Host while placing an attacker-selected destination in Host.

  • Server.php stores Host and X-Forwarded-Host separately.
  • mainfile.php performs the early allowlist check only on the value derived from X-Forwarded-Host.
  • ini.php uses the unvalidated ordinary host in an outbound cURL request and follows redirects.
  • The ordinary host is rejected only after the outbound request has occurred.

In a controlled test, the callback server returned:

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