CVE-2023-37896
Nuclei Path Traversal vulnerability
Also known as GHSA-2xx4-jj5v-6mff, GO-2023-1998
Mitigation
- Upgrade github.com/projectdiscovery/nuclei/v2 to 2.9.9 or later.
- Upgrade github.com/projectdiscovery/nuclei to 2.9.9 or later.
Who should check
- Projects that depend on Go package github.com/projectdiscovery/nuclei/v2 (< 2.9.9)
- Projects that depend on Go package github.com/projectdiscovery/nuclei (< 2.9.9)
- Anyone running projectdiscovery nuclei < 2.9.9
Vulnerability facts
- Affected
- github.com/projectdiscovery/nuclei/v2 < 2.9.9; github.com/projectdiscovery/nuclei < 2.9.9
- Fixed in
- 2.9.9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 1.14% chance of exploitation in 30 days (percentile 66, 2026-11-26)
- CWE
- CWE-22
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/projectdiscovery/nuclei/v2 | < 2.9.9 | 2.9.9 | osv |
| Go github.com/projectdiscovery/nuclei | < 2.9.9 | 2.9.9 | osv |
| projectdiscovery nuclei | < 2.9.9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-37896. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-37896.md Affected: github.com/projectdiscovery/nuclei/v2 < 2.9.9; github.com/projectdiscovery/nuclei < 2.9.9 Fixed in: 2.9.9 Steps: 1. Search this machine and project for github.com/projectdiscovery/nuclei/v2 (Go), github.com/projectdiscovery/nuclei (Go), projectdiscovery nuclei: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2023-37896 being exploited?
There is no confirmed exploitation: CVE-2023-37896 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.14% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-37896?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-37896?
github.com/projectdiscovery/nuclei/v2 < 2.9.9; github.com/projectdiscovery/nuclei < 2.9.9.
Is there a fix for CVE-2023-37896?
Yes. Fixed in 2.9.9. Upgrade github.com/projectdiscovery/nuclei/v2 to 2.9.9 or later. Upgrade github.com/projectdiscovery/nuclei to 2.9.9 or later.
How do I check if I'm affected by CVE-2023-37896?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.