CVE-2023-26045 json
NodeBB vulnerable to path traversal and code execution via prototype vulnerability
published 3y ago modified 2mo ago also GHSA-vh2g-6c4x-5hmp , EUVD-2023-2151
- cvss
- 10.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2023-26045 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2y ago
Exploit prediction
1.03% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-15).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | nodebb | >=2.5.0, <2.8.7 |
2.8.7 |
Affected products
- NodeBB NodeBB
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/NodeBB/NodeBB/commit/ec58700f6dff8e5b4af1544f6205ec362b593092
web, patch
-
github.com
/NodeBB/NodeBB/security/advisories/GHSA-vh2g-6c4x-5hmp
web, vendor-advisory
- security.netapp.com /advisory/ntap-20230831-0004/
-
nvd.nist.gov
/vuln/detail/CVE-2023-26045
advisory
-
github.com
/NodeBB/NodeBB
package
-
security.netapp.com
/advisory/ntap-20230831-0004
web
Sources
- CVE List CVE-2023-26045
- GitHub Advisory GHSA-vh2g-6c4x-5hmp
- NVD CVE-2023-26045
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.