CVE-2023-37896 json
Nuclei Path Traversal vulnerability
published 2023-08-04 3 y ago modified 2026-09-10 1 mo ago also GHSA-2xx4-jj5v-6mff , GO-2023-1998 , EUVD-2023-2189
- cvss
- 7.5
- 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
Nuclei is a vulnerability scanner. Prior to version 2.9.9, a security issue in the Nuclei project affected users utilizing Nuclei as Go code (SDK) running custom templates. This issue did not affect CLI users. The problem was related to sanitization issues with payload loading in sandbox mode. There was a potential risk with payloads loading in sandbox mode. The issue occurred due to relative paths not being converted to absolute paths before doing the check for `sandbox` flag allowing arbitrary files to be read on the filesystem in certain cases when using Nuclei from `Go` SDK implementation.
This issue has been fixed in version 2.9.9. The maintainers have also enabled sandbox by default for filesystem loading. This can be optionally disabled if required. The `-sandbox` option has been deprecated and is now divided into two new options: `-lfa` (allow local file access) which is enabled by default and `-lna` (restrict local network access) which can be enabled by users optionally. The `-lfa` allows file (payload) access anywhere on the system (disabling sandbox effectively), and `-lna` blocks connections to the local/private network.
Patch / fix
- go github.com/projectdiscovery/nuclei/v2 2.9.9
- go github.com/projectdiscovery/nuclei 2.9.9
- projectdiscovery nuclei 2.9.9
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.05% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/projectdiscovery/nuclei/v2 | <2.9.9 |
2.9.9 |
| go | github.com/projectdiscovery/nuclei | <2.9.9 |
2.9.9 |
Affected products
- projectdiscovery nuclei
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/projectdiscovery/nuclei/pull/3927
web, issue-tracking, patch
-
github.com
/projectdiscovery/nuclei/security/advisories/GHSA-2xx4-jj5v-6mff
web, vendor-advisory, advisory
-
github.com
/projectdiscovery/nuclei/releases/tag/v2.9.9
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2023-37896
advisory
-
github.com
/projectdiscovery/nuclei
package
Sources
- CVE List CVE-2023-37896
- GitHub Advisory GHSA-2xx4-jj5v-6mff
- NVD CVE-2023-37896
- OSV GO-2023-1998
Fencer Vulns 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.