Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
High
Published: 07/13/2026 (07/13/2026, 17:55:48 UTC)
Source: GCVE Database
Product: nukeviet/nukeviet

Description

NukeViet versions prior to 4.6.00 contain a path traversal vulnerability in the Edit Comment admin function that allows an authenticated administrator to delete arbitrary files within the application root. By injecting a crafted 'attach' parameter with a specific padding and traversal sequence, an attacker can cause deletion of critical files such as 'config.php', leading to application outage. The vulnerability arises from insufficient validation of the 'attach' parameter before file deletion. A fix has been implemented that validates the file path to ensure it remains within the intended upload directory.

CVSS v3.1

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H

Affected software

Packagistghsa
nukeviet/nukeviet
Affected versions
<4.6.00

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/14/2026, 09:58:35 UTC

Technical Analysis

The vulnerability in NukeViet's 'modules/comment/admin/edit.php' allows an authenticated administrator to perform path traversal via the 'attach' parameter in the Edit Comment function. The parameter is processed by stripping a fixed-length prefix but does not properly validate the resulting path, enabling storage of traversal sequences like '../../config.php' in the database. When the comment is deleted, the application calls 'nv_deletefile()' on the constructed path, which resolves the real path and only checks that it is within the application root directory (NV_ROOTDIR), not restricting deletion to the uploads directory. This allows deletion of arbitrary files within the root, including critical files such as 'config.php', causing application failure. The issue is fixed by adding 'nv_is_file()' validation to ensure the file path is within the designated upload directory before processing.

Potential Impact

An authenticated administrator can delete any file within the application root directory readable by the web server process. This includes critical configuration files like 'config.php', whose deletion causes immediate application outage and triggers the install wizard, disrupting service availability. The integrity and availability of the application are severely impacted, though confidentiality is not affected.

Mitigation Recommendations

A fix is available that adds validation of the 'attach' parameter using 'nv_is_file()' to ensure the file path resolves within the intended upload directory, rejecting any path traversal attempts. Users should upgrade to NukeViet version 4.6.00 or later where this validation is implemented. Until patched, administrators should avoid editing comments with attachments or intercepting/modifying the 'attach' parameter to prevent exploitation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-c9xg-64p9-f2jj
Osv Schema Version
1.4.0
Aliases
["CVE-2026-54065"]
Ecosystems
["Packagist"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a55ffb668715ace432fac20

Added to database: 07/14/2026, 09:21:58 UTC

Last enriched: 07/14/2026, 09:58:35 UTC

Last updated: 07/31/2026, 12:27:30 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses