CVE-2026-94563
NukeViet CMS: Authenticated path traversal to arbitrary file write via S/MIME certificate CN in SMTP settings
- CVSS
- 6
- EPSS
- 0.43% (p29)
- Published
- 2026-11-20
- Age
- 11d old
- Modified
- 2026-11-30
- Product
- nukeviet nukeviet
- Aliases
- GHSA-j79f-jrwm-2f2h
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:L
Description
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.
Fixed in
4.6.01
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Packagist | nukeviet/nukeviet | >= 4.5.00, <= 4.6.00 | 4.6.01 |
| Packagist | nukeviet/nukeviet | >=4.5.00, <4.6.01 | 4.6.01 |
Sources
- NVD · first seen 11d ago · NVD terms of use
- OSV · first seen 10d ago · CC-BY 4.0
- GitHub Advisory Database · first seen 15h ago · CC-BY 4.0
- CVE List · first seen 11d ago · CVE Terms of Use
References
- https://github.com/nukeviet/nukeviet/security/advisories/GHSA-j79f-jrwm-2f2h x_refsource_CONFIRM
- https://github.com/nukeviet/nukeviet/commit/8f7b3698f1c08b6cdedb500a0d2d2f528d4f0c87 x_refsource_MISC
- https://github.com/nukeviet/nukeviet/releases/tag/4.6.01 x_refsource_MISC
- https://nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-01-857.html x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/94xxx/CVE-2026-94563.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-94563 advisory
- https://github.com/advisories/GHSA-j79f-jrwm-2f2h other
- https://github.com/nukeviet/nukeviet package