/

CVE-2026-61832

Severity:

HIGH RISK

(7.5)

Unsafe Deserialization (CWE-502) in NukeViet Extension Store

CVE-2026-61832

Received

Vulnerability type

Category:

Unsafe Deserialization

CWE:

CWE-295, CWE-502

Impact:

Remote Code Execution

Severity:

HIGH RISK

(7.5)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Before version 4.6.00, NukeViet CMS extension-store handlers can deserialize a substituted response without restricting which classes may be instantiated. If an attacker can alter outbound traffic to the store and a GODADMIN uses store functions, this may allow code execution as the web-server user.

Affected context

The issue affects NukeViet CMS versions before 4.6.00 in extension-store interactions. The described risk arises when outbound requests use disabled TLS certificate verification and handlers pass the response to unserialize() without an allowed-classes restriction. A GODADMIN must open or use the store list, detail, install, or update functions for the affected response to be processed.

Exploit preconditions

  • Attack surface: Outbound HTTP traffic between NukeViet and the extension store
  • Required access: Ability to alter or intercept that traffic; a GODADMIN must also use an affected store function
  • Trigger point: Processing the extension-store response in a list, detail, install, or update workflow
  • Why exploitation is possible: Disabled TLS verification can permit response substitution, and unrestricted deserialization can instantiate an in-tree gadget capable of writing attacker-controlled content

Why this happens

The issue combines insufficient verification of the extension store's HTTPS connection (CWE-295) with unsafe deserialization (CWE-502). When a response is not reliably authenticated and is passed to unserialize() without restricting allowed classes, attacker-controlled serialized data may trigger object behavior during processing. In this case, an in-tree Guzzle cookie-jar gadget can write content to a chosen path.

Potential impact

  • An attacker may write a PHP file under the web root
  • The written file could enable code execution as the web-server user
  • The compromised application could be used to access or alter data available to its runtime account

General mitigation guidance

Defensive patterns include:

  • Enforce certificate and hostname verification for outbound HTTPS connections by default
  • Avoid deserializing responses from remote services; use constrained data formats and parsers where possible
  • If deserialization is unavoidable, restrict permitted classes and validate the resulting data against a strict schema
  • Treat extension-store responses as untrusted, even when they come from expected endpoints
  • Limit web-server and application-process privileges, and restrict write access to executable web-root paths

How teams detect issues like this

  • Use static analysis to identify disabled TLS verification and calls to unserialize() on network-derived data
  • Review extension-store handlers for response validation, allowed-class restrictions, and unsafe object side effects
  • Apply policy checks that require verified TLS for outbound connections and prohibit unrestricted deserialization of remote responses
  • Monitor for unexpected PHP file creation in web-accessible directories and investigate unusual extension-store traffic

Sources

SourceLink
github.comgithub.com/nukeviet/nukeviet/commit/099ec8cc4734ba8c1b871653ee454367a07446cc
github.comgithub.com/nukeviet/nukeviet/releases/tag/4.6.00
github.comgithub.com/nukeviet/nukeviet/security/advisories/GHSA-9xfw-vx6g-wpmm
nukeviet.vnnukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-00-855.html

Frequently asked

questions

It can be triggered through a network-substituted extension-store response, but the described scenario also requires a GODADMIN to use an affected store function.

The attacker needs the ability to alter outbound traffic to the extension store. The vulnerable workflow must then process the substituted response.

Verify TLS connections and avoid unrestricted deserialization of remote responses. Prefer constrained formats and validate data before using it.

Keep remote responses untrusted, enforce secure transport settings through policy, review network-to-deserialization data flows, and limit the application process's filesystem privileges.

Find out what's already
exploitable in your codebase.