# CVE-2026-54065: NukeViet CMS: Path Traversal to Arbitrary File Deletion in Edit Comment Function

Status: published. Published: 2026-11-20. Updated: 2026-11-24.

NukeViet CMS is a multi Content Management System. Prior to 4.5.09, an authenticated administrator can submit a crafted attach value to modules/comment/admin/edit.php. The handler removed a fixed-length upload prefix without validating containment, allowing padding followed by a traversal path to be stored in the database. When the comment is deleted, modules/comment/admin/del.php joins the stored path to NV_UPLOADS_REAL_DIR and passes it to nv_deletefile(), whose realpath() check restricts deletion only to NV_ROOTDIR rather than the upload directory, permitting deletion of application files such as config.php and causing an outage. This issue is fixed in version 4.5.09.

## Remediation

- fix: nukeviet/nukeviet (composer): GitHub reports patched versions 4.5.09. Check the advisory for the affected release branch. (source: GitHub GHSA-c9xg-64p9-f2jj) — https://github.com/nukeviet/nukeviet/security/advisories/GHSA-c9xg-64p9-f2jj
- fix: nukeviet/nukeviet (Packagist): OSV reports a fixed version 4.6.00. Check the advisory for supported release branches. (source: OSV GHSA-c9xg-64p9-f2jj) — https://github.com/advisories/GHSA-c9xg-64p9-f2jj

## Affected products and versions

- nukeviet / nukeviet: < 4.5.09 (affected). Source: CNA: GitHub_M
-  / nukeviet/nukeviet (nukeviet/nukeviet): <= 4.5.08 (affected, GitHub advisory range). Source: GitHub GHSA-c9xg-64p9-f2jj
-  / nukeviet/nukeviet (nukeviet/nukeviet): 4.0.24 (affected, Packagist); 4.4.01 (affected, Packagist); Ecosystem version events: introduced 0; fixed 4.6.00. Source: OSV GHSA-c9xg-64p9-f2jj

## Severity and prioritization

- CVSS 3.1: 8.7 (high); CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H; source: CNA: GitHub_M

- CVSS 3.1: 8.7 (high); CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: 0.81% as of 2026-11-23; percentile 57.85%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-22

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/nukeviet/nukeviet/security/advisories/GHSA-c9xg-64p9-f2jj (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/nukeviet/nukeviet/commit/27ba63c32eea2782837b1464a930baf75f0b4d29 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/nukeviet/nukeviet/releases/tag/4.5.09 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/nukeviet/nukeviet/commit/27ba63c32eea2782837b1464a930baf75f0b4d29 (security-advisories@github.com)

- https://github.com/nukeviet/nukeviet/releases/tag/4.5.09 (security-advisories@github.com)

- https://github.com/nukeviet/nukeviet/security/advisories/GHSA-c9xg-64p9-f2jj (security-advisories@github.com)

- https://github.com/nukeviet/nukeviet/security/advisories/GHSA-c9xg-64p9-f2jj (GitHub Security Advisories; advisory)

- https://github.com/advisories/GHSA-c9xg-64p9-f2jj (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-c9xg-64p9-f2jj (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-54065; retrieved 2026-11-24; source updated 2026-11-24

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-54065; retrieved 2026-11-21; source updated 2026-11-20

- GitHub Security Advisories: https://github.com/nukeviet/nukeviet/security/advisories/GHSA-c9xg-64p9-f2jj; retrieved 2026-11-24; source updated 2026-07-13

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-c9xg-64p9-f2jj; retrieved 2026-11-20; source updated 2026-07-13

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-54065; retrieved 2026-11-24; source updated Not reported

Revision: 1169c7e61224ebc9253fdc4bd347b0fbc4385b725809046d3fc3fffac83f60e0

Canonical: https://y2.dev/cve/CVE-2026-54065

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.