Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as settings-module admin
-
DeliveryCraft PKCS#12 cert with traversal CN
-
ExploitUpload via smimeadd SMTP handler
-
ExecutionCN written to attacker-chosen path
-
ImpactOverwrite 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:L
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
nukeviet v.4.5 and before and nukeviet-egov v.1.2.02 and before have a Deserialization vulnerability which results in co
clearsystem.php in NukeViet 4.4 allows CSRF with resultant HTML injection via the deltype parameter to the admin/index.p
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=
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
nukeviet v.4.5 and before and nukeviet-egov v.1.2.02 and before are vulnerable to arbitrary code execution via the /admi
There is a Cross Site Scripting Stored (XSS) vulnerability in NukeViet CMS before 4.5.02. Rated medium severity (CVSS 5.
Stored cross-site scripting (XSS) in NukeViet CMS affects versions through 4.5.11 and through 4.6.01: an SVG file whose
Stored cross-site scripting in NukeViet CMS (3.x line through 4.6.00, fixed in 4.6.01) lets an unauthenticated visitor p
Stored cross-site scripting in NukeViet CMS 4.5.08 through 4.6.01 lets an unauthenticated visitor plant JavaScript that
Unauthenticated stored cross-site scripting in the Contact module of NukeViet CMS before 4.6.01 lets any anonymous visit
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
PHP object injection leading to remote code execution in NukeViet CMS 4.x extension-store handlers, fixed in 4.6.00. Bec
EUVD-2026-131734
NVD
CVE.org
EPSS
GitHub
Exploit-DB