NukeViet CMS: PHP Object Injection to RCE in extension store via unverified HTTP response
Package Affected versions Patched versions Description Impact PHP Object Injection leading to Remote Code Execution (RCE).
The extension/store management handlers deserialize an HTTP response body wit
Package
nukeviet/nukeviet (Composer)Affected versions
< 4.6.00Patched versions
4.6.00Description
Impact
PHP Object Injection leading to Remote Code Execution (RCE).
The extension/store management handlers deserialize an HTTP response body with an unrestricted unserialize() (no allowed_classes restriction), while the bundled HTTP client disables TLS certificate verification by default. Because the certificate of the remote endpoint is not validated, a network / man-in-the-middle (MITM) attacker positioned on the path to the store endpoint (e.g. via DNS spoofing, a hostile/shared network, or a compromised resolver/upstream) can substitute the response body with an attacker-chosen PHP serialized payload.
On deserialization, the payload instantiates an in-tree POP gadget (GuzzleHttp\Cookie\FileCookieJar), whose destructor writes attacker-controlled content to an attacker-chosen path. This allows writing a .php file under the web root and achieving arbitrary code execution as the web-server user (full site and database
compromise, persistence, lateral movement).
Who is impacted: NukeViet 4.x installations. Exploitation requires two preconditions:
(1) an attacker able to intercept/alter the server's outbound traffic to the store endpoint, and (2) a privileged administrator (GODADMIN) performing a routine store action (opening the store list, install, update, or detail). The attacker does not need an account on the target.
Patches
Yes. The issue is fixed by two complementary hardening measures:
- Safe deserialization: all
unserialize()calls on internal/remote data now disallow
object instantiation via['allowed_classes' => false](exposed as the
NV_UNSERIALIZE_SAFEconstant). The affected payloads are arrays/scalars only, so the
change is behaviour-preserving. - TLS verification: certificate verification is enabled by default in the HTTP client,
and the URL-check helper now verifies peer/host across its cURL,get_headersand
stream_sockettransports using the shipped CA bundle.
Users should upgrade to the patched release (NukeViet 4.6.xx or later — replace with the exact fixed version/tag).
Workarounds
Users who cannot upgrade immediately can reduce exposure by:
- Enabling TLS certificate verification on the HTTP client (set
sslverify => truefor
store/API requests and ensure a valid CA bundle is configured). - Avoiding extension store actions (list/install/update/detail) from administrator
sessions while on untrusted or shared networks. - Restricting/monitoring outbound DNS and network paths from the server to prevent
response substitution.
References
- GHSA-9xfw-vx6g-wpmm
- https://nvd.nist.gov/vuln/detail/CVE-2026-61832
- nukeviet/nukeviet@099ec8c
- https://github.com/nukeviet/nukeviet/releases/tag/4.6.00
- https://nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-00-855.html
Severity
High CVSS overall score This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS). / 10CVSS v3 base metrics
Attack vector Network Attack complexity High Privileges required None User interaction Required Scope Unchanged Confidentiality High Integrity High Availability High CVSS v3 base metrics Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability. Attack complexity: More severe for the least complex attacks. Privileges required: More severe if no privileges are required. User interaction: More severe when no user interaction is required. Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope. Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user. Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user. Availability: More severe when the loss of impacted component availability is highest. CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HEPSS score
Exploit Prediction Scoring System (EPSS) This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST. (43rd percentile)Weaknesses
Weakness CWE-295Improper Certificate Validation
The product does not validate, or incorrectly validates, a certificate. Learn more on MITRE. Weakness CWE-502Deserialization of Untrusted Data
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. Learn more on MITRE.CVE ID
CVE-2026-61832GHSA ID
GHSA-9xfw-vx6g-wpmmSource code
nukeviet/nukevietCredits
-
hoaquynhtim99 Coordinator
Uh oh!
There was an error while loading. Please reload this page.
See something to contribute? Suggest improvements for this vulnerability.