Home/Research/Post

GHSA-2cvj-x8hg-6wcq: NukeViet CMS: Remote Code Execution via image-upload bypass chain (PHP short-tag detection bypass + double-extension filename)

  • Severity: HIGH
  • CVE: CVE-2026-94597
  • Ecosystems: composer, composer
  • Packages: nukeviet/nukeviet, nukeviet/nukeviet

### Impact

This is a Remote Code Execution (RCE) vulnerability (`CWE-434`) reachable through NukeViet’s file-upload pipeline (`NukeViet\Files\Upload::save_file()`).
The pipeline is used by the admin uploader and by user-facing endpoints: avatar, banner, and comment attachments (when enabled).

An attacker uploads a valid image (for example a GIF) with PHP code appended after the image data – a polyglot – and passes every upload check by chaining four weaknesses:

1. `verify_image()` scanned only for the `

Source: GitHub Security Advisories · 2026-11-30