BuzzPHP
LightDarkSystem

NukeViet: Path Traversal to Arbitrary File Deletion in Edit Comment Function

High severity. Published 13 July 2026. Update nukeviet/nukeviet to 4.6.00 or later: composer update nukeviet/nukeviet.

Which versions are affected?

PackageAffected versionsFixed in
nukeviet/nukeviet (opens in a new tab)< 4.6.004.6.00

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show nukeviet/nukeviet
composer audit

Advisory details

SeverityHighCVSS 8.7
Published
Updated
CVECVE-2026-54065 (opens in a new tab)
GHSAGHSA-c9xg-64p9-f2jj (opens in a new tab)
WeaknessCWE-22

What the advisory says

Summary

Path Traversal to Arbitrary File Deletion in the Edit Comment admin function. An authenticated administrator can delete arbitrary files within the application root (e.g., config.php) by injecting a crafted attach parameter, rendering the application inoperable.

Affected Component

modules/comment/admin/edit.php

Root Cause

In the vulnerable version, the attach parameter received via HTTP POST was not validated before being processed:

substr() strips the first N characters (equal to the length of the upload URL prefix, e.g. 26 chars for /nukeviet/uploads/comment/).

Source: GHSA-c9xg-64p9-f2jj (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories