Skip to main content

NukeViet CMS CVE-2026-94563

| EUVDEUVD-2026-131734 MEDIUM
Path Traversal (CWE-22)
2026-11-20 GitHub_M
6.0
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as settings-module admin
  2. Delivery
    Craft PKCS#12 cert with traversal CN
  3. Exploit
    Upload via smimeadd SMTP handler
  4. Execution
    CN written to attacker-chosen path
  5. Impact
    Overwrite DKIM key or cacert.pem

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated non-super administrator who holds the 'settings' module (a level-2 SPADMIN / NV_IS_MODADMIN); per the advisory this module is seeded reachable by default (act_1=1, act_2=1). The attacker must POST a crafted .p12/.pfx to admin/index.php?nv=settings&op=smtp with smimeadd=1, the correct passphrase, and a valid per-user checkss CSRF token, and the certificate must present extendedKeyUsage=emailProtection to satisfy the smimesign purpose guard. Writes are CONSTRAINED to already-existing writable directories and to .key/.crt/.pem extensions - this is not unconstrained arbitrary write and does not yield direct RCE (PHP-extension writes are force-forbidden even for GODADMIN). The always-available impact is overwriting the DKIM signing key (data/certs/nv_dkim.<domain>.private.pem). The additional cacert.pem / outbound-TLS-MITM impact is CONDITIONAL on the curl.cainfo php.ini directive being empty (noted as the common default). Key limiting factors: PR:H high-privilege admin precondition, CSRF token, and the extension/existing-directory containment.

Impact

This is a genuine but bounded, lower-tier priority - a high-privilege, authenticated integrity bug rather than a mass-exploitation threat. The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:L, base 6.0/Medium) is internally consistent with the evidence: PR:H correctly reflects that the attacker must already be an authenticated settings-module administrator (a level-2 SPADMIN, non-GODADMIN), and AV:N reflects that the smimeadd handler is reached over the admin web panel. The dominant risk-limiting signal is PR:H - the actor is already a trusted back-office administrator, so this is primarily a privilege-boundary escalation (settings-admin gains a new arbitrary-write primitive they did not previously possess, per the advisory's privileged-precondition test) rather than an externally reachable flaw. The vuln.today Decision label is 'this_month', not act_now/emergency, consistent with a non-urgent, patch-on-normal-cadence item. There is NO CISA KEV listing and NO EPSS score in the supplied data, so there is no evidence of active or automatable exploitation. A detailed public PoC (openssl command sequence) is published in the GHSA advisory, and the reporter claims empirical verification, which raises reproducibility but does not equal in-the-wild use - do not conflate the two. One signal to flag: C:L in the base vector is only reachable under a specific condition (empty curl.cainfo php.ini directive enabling cacert.pem overwrite and outbound-TLS MITM); the always-on impact is integrity/availability of mail signing (DKIM key), so for a default deployment the confidentiality component is conditional, not guaranteed.

Exploit ScenarioDerived

A rogue or credential-compromised settings-module administrator crafts a self-signed PKCS#12 S/MIME certificate whose X.509 Subject CN contains path-traversal components (e.g. CN=../../config/config or CN=cacert), then uploads it through the SMTP settings smimeadd handler; because only an '@'→'__' replacement is applied to the CN, the server writes attacker-controlled PEM data to a path outside data/certs. The attacker overwrites the DKIM signing key to forge mail signatures, or - when the curl.cainfo directive is empty - replaces the bundled cacert.pem to undermine outbound TLS verification and enable MITM. A step-by-step PoC using openssl is published in the GHSA advisory (AV:N/AC:L but gated by PR:H settings-admin access).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 20, 2026

Authenticated path traversal in NukeViet CMS 4.5.00 through 4.6.00 lets a level-2 settings-module administrator (NV_IS_MODADMIN, not necessarily a super administrator) write attacker-supplied PEM data outside data/certs by embedding slash and dot-dot sequences in the X.509 Subject CN of an uploaded PKCS#12 S/MIME certificate. Because the smimeadd handler in admin/settings/smtp.php only applies an at-sign replacement to the CN before building .key/.crt/.pem paths, the attacker can overwrite certificate assets - most reliably the DKIM signing key at data/certs/nv_dkim.<domain>.private.pem, and, when the curl.cainfo php.ini directive is empty, the bundled cacert.pem used for outbound TLS verification. Writes are constrained to already-existing writable directories and to the .key/.crt/.pem extensions, so this is an integrity bug with a conditional outbound-TLS/MITM ceiling rather than direct remote code execution; a proof-of-concept reference is published in the upstream security advisory, and no confirmed active exploitation or CISA KEV listing is associated with it. CVSS 3.1 is 6.0 (AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:L), placing it among this month's worth-attention items rather than an emergency.

RemediationAI

Vendor-released patch: 4.6.01 - upgrade NukeViet CMS to 4.6.01 (release notes: https://github.com/nukeviet/nukeviet/releases/tag/4.6.01; advisory: https://github.com/nukeviet/nukeviet/security/advisories/GHSA-j79f-jrwm-2f2h). The fix commit 8f7b3698f1c08b6cdedb500a0d2d2f528d4f0c87 moves the uploaded archive into NV_TEMP_DIR instead of NV_CERTS_DIR, validates the certificate CN through nv_check_valid_email() and rejects it with a new smime_pkcs12_cn_invalid language string when the CN is not a valid email address, and wraps the derived name in basename() before building the .key/.crt/.pem paths. If upgrading immediately is not possible, note that exploitation requires a level-2 SPADMIN account with access to the settings module: restricting or auditing which accounts hold act_1/act_2 rights on the settings module removes the precondition, at the cost of changing administrative workflows; additionally, explicitly setting the curl.cainfo php.ini directive to a known CA bundle outside data/certs removes the conditional outbound-TLS/MITM consequence (the DKIM key overwrite remains possible regardless of that setting). Post-patch hygiene for sites that were exposed: rotate the DKIM signing key at data/certs/nv_dkim.<domain>.private.pem and review data/certs and other writable directories for unexpected .key/.crt/.pem files. There is no indication of confirmed active exploitation, and Decision labelling places this at this_month priority rather than act_now.

Affected VersionsENISA

NukeViet 4.5.00, < 4.6.01

Affected Packages

euvd nukeviet fix: 4.6.01

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

NukeViet is a PHP content management system whose SMTP settings module lets administrators install an S/MIME signing certificate by uploading a legacy-compatible PKCS#12 (.p12/.pfx) bundle. The handler at admin/settings/smtp.php:220-296 calls openssl_pkcs12_read and openssl_x509_parse to extract the certificate's Subject CN, then derives the on-disk filename from that string with a single str_replace('@','__') transform (line 269) before calling file_put_contents against NV_ROOTDIR.'/data/certs/'.$email_name.'.{key,crt,pem}' (lines 283/284/287). No basename, realpath, nv_is_file, dirname, strpos or allowlist regex sits between the CN and the sink, and because an X.509 CN may legally contain '/' and '..', a crafted self-signed certificate escapes the intended directory - this is the write-side analogue of a previously patched delete-side traversal class (CWE-22, with the advisory also flagging CWE-73 external control of filename). The smimesign purpose guard at line 256 is satisfied by extendedKeyUsage=emailProtection, and the checkss value is only a per-user CSRF token; neither constrains the CN. Reachability is gated by NV_IS_MODADMIN (line 12) with op=smtp unconditionally present in $allow_func, and the settings module is seeded with act_1=1, act_2=1, act_3=0, so a default level-2 SPADMIN can reach it. The trigger is specifically the CN-to-path construction described in the advisory; the resulting write is bounded to already-existing writable directories and the .key/.crt/.pem extensions, and the advisory notes PHP-extension writes are force-forbidden even for GODADMIN, so no direct code execution follows.

Know when Nukeviet gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.0 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:L
vuln.today AI 6.0 MEDIUM

Reached over the admin panel (AV:N/AC:L) but gated by settings-admin privilege (PR:H); overwriting DKIM/cert assets gives I:H and A:L, with C:L only via conditional cacert.pem TLS-MITM.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
Low

Lifecycle Timeline

1
Patch available
Nov 20, 2026 - 20:18 EUVD

DescriptionCVE.org

NukeViet CMS is a multi Content Management System. From 4.5.00 until 4.6.01, an authenticated settings-module administrator can upload a PKCS#12 S/MIME certificate whose X.509 Subject CN contains path separators and traversal components. The smimeadd handler in admin/settings/smtp.php applies only an at-sign replacement before using the CN in .key, .crt, and .pem paths beneath data/certs. Traversal can select attacker-chosen paths outside data/certs, but writes remain constrained to already-existing writable directories and the permitted extensions. Within that constraint, attacker-controlled PEM data can overwrite certificate assets, including a DKIM private key; when the curl.cainfo PHP directive is empty, the attacker can also replace cacert.pem and undermine outbound TLS verification. This issue is fixed in version 4.6.01.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Low
regional Vietnamese open-source CMS, limited global enterprise footprint
Social Media
1
Sightings
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2024-36528 HIGH POC
8.8 Jun 10

nukeviet v.4.5 and before and nukeviet-egov v.1.2.02 and before have a Deserialization vulnerability which results in co

CVE-2020-13155 HIGH POC
8.8 Jun 23

clearsystem.php in NukeViet 4.4 allows CSRF with resultant HTML injection via the deltype parameter to the admin/index.p

CVE-2020-13157 MEDIUM POC
6.5 Jun 23

modules\users\admin\edit.php in NukeViet 4.4 allows CSRF to change a user's password via an admin/index.php?nv=users&op=

CVE-2020-13156 MEDIUM POC
6.5 Jun 23

modules\users\admin\add_user.php in NukeViet 4.4 allows CSRF to add a user account via the admin/index.php?nv=users&op=u

CVE-2024-36531 MEDIUM POC
5.7 Jun 10

nukeviet v.4.5 and before and nukeviet-egov v.1.2.02 and before are vulnerable to arbitrary code execution via the /admi

CVE-2022-30874 MEDIUM POC
5.4 Jun 21

There is a Cross Site Scripting Stored (XSS) vulnerability in NukeViet CMS before 4.5.02. Rated medium severity (CVSS 5.

CVE-2026-94567 CRITICAL
9.3 Nov 20

Stored cross-site scripting (XSS) in NukeViet CMS affects versions through 4.5.11 and through 4.6.01: an SVG file whose

CVE-2026-94565 CRITICAL
9.3 Nov 20

Stored cross-site scripting in NukeViet CMS (3.x line through 4.6.00, fixed in 4.6.01) lets an unauthenticated visitor p

CVE-2026-94598 HIGH
8.2 Nov 20

Stored cross-site scripting in NukeViet CMS 4.5.08 through 4.6.01 lets an unauthenticated visitor plant JavaScript that

CVE-2026-94564 HIGH
8.2 Nov 20

Unauthenticated stored cross-site scripting in the Contact module of NukeViet CMS before 4.6.01 lets any anonymous visit

CVE-2026-94597 HIGH
7.5 Nov 20

Remote code execution in NukeViet CMS 4.5.x through 4.5.11 and 4.6.x through 4.6.01 is reachable by an attacker who can

CVE-2026-61832 HIGH
7.5 Nov 20

PHP object injection leading to remote code execution in NukeViet CMS 4.x extension-store handlers, fixed in 4.6.00. Bec

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy