CVE-2023-26045
CRITICAL 9.8CVSS 3.1Path traversal and code execution via prototype vulnerability
NodeBB is Node.js based forum software. Starting in version 2.5.0 and prior to version 2.8.7, due to the use of the object destructuring assignment syntax in the user export code path, combined with a path traversal vulnerability, a specially crafted payload could invoke the user export logic to arbitrarily execute javascript files on the local disk. This issue is patched in version 2.8.7. As a workaround, site maintainers can cherry pick the fix into their codebase to patch the exploit.
- Published
- 24 Jul 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-vh2g-6c4x-5hmp
- Sources
- NVDJSONOSV GHSA-vh2g-6c4x-5hmpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nodebb | nodebbcpe:2.3:a:nodebb:nodebb:*:*:*:*:*:node.js:*:* |
>= 2.5.0, < 2.8.7 | 2.8.7 |
| OSV | npm | nodebb | >= 2.5.0, < 2.8.7 | 2.8.7 |
References
- https://github.com/NodeBB/NodeBB/commit/ec58700f6dff8e5b4af1544f6205ec362b593092 · Patch, WEB
- https://github.com/NodeBB/NodeBB/security/advisories/GHSA-vh2g-6c4x-5hmp · Vendor Advisory, WEB
- https://security.netapp.com/advisory/ntap-20230831-0004/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-26045 · ADVISORY
- https://github.com/NodeBB/NodeBB · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 24 Jul 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Jul 2023)