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?
| Package | Affected versions | Fixed in |
|---|---|---|
| nukeviet/nukeviet (opens in a new tab) | < 4.6.00 | 4.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 auditAdvisory details
| Severity | HighCVSS 8.7 |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-54065 (opens in a new tab) |
| GHSA | GHSA-c9xg-64p9-f2jj (opens in a new tab) |
| Weakness | CWE-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
- NukeViet: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (high, 13 July 2026)
- NukeViet: Unauthenticated Reflected XSS in Comment Module (high, 13 July 2026)
- NukeViet: Pre-authentication SSRF via X-Forwarded-Host (high, 13 July 2026)
- NukeViet: Multiple Anti-XSS Filter Bypasses Leading to Stored XSS in News Module (high, 13 July 2026)