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

High severity, published 2026-07-13. Update nukeviet/nukeviet to 4.6.00 or later: composer update nukeviet/nukeviet.

Canonical URL: https://buzzphp.com/security/ghsa-c9xg-64p9-f2jj · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 8.7) |
| Published | 2026-07-13 |
| Updated | 2026-07-13 |
| CVE | [CVE-2026-54065](https://nvd.nist.gov/vuln/detail/CVE-2026-54065) |
| GHSA | [GHSA-c9xg-64p9-f2jj](https://github.com/advisories/GHSA-c9xg-64p9-f2jj) |
| Weakness | CWE-22 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| nukeviet/nukeviet | < 4.6.00 | 4.6.00 |

## What to do

Update nukeviet/nukeviet to 4.6.00 or later: composer update nukeviet/nukeviet.

Check which version you run with `composer show nukeviet/nukeviet`, and every affected package with `composer audit`.

## About this advisory

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/).

## Links

- [GHSA-c9xg-64p9-f2jj on GitHub](https://github.com/advisories/GHSA-c9xg-64p9-f2jj)
- [CVE-2026-54065 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-54065)
- [All Composer security advisories](https://buzzphp.com/security)
