# CVE-2023-37896: Nuclei Path Traversal vulnerability

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.14% (percentile 66, 2026-11-26)
- **CWE:** CWE-22
- **Aliases:** GHSA-2xx4-jj5v-6mff, GO-2023-1998
- **Published:** 2023-08-04T15:34:11.804Z
- **Modified:** 2026-09-10T03:50:08.588Z

## 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

## 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

- Go `github.com/projectdiscovery/nuclei/v2`: affected \< 2.9.9; fixed 2.9.9 (osv)
- Go `github.com/projectdiscovery/nuclei`: affected \< 2.9.9; fixed 2.9.9 (osv)
- projectdiscovery nuclei: \< 2.9.9 (cvelist)

## Mitigation

- Upgrade github.com/projectdiscovery/nuclei/v2 to 2.9.9 or later.
- Upgrade github.com/projectdiscovery/nuclei to 2.9.9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-2xx4-jj5v-6mff>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-37896>
- patch: <https://github.com/projectdiscovery/nuclei/pull/3927>
- other: <https://github.com/projectdiscovery/nuclei/releases/tag/v2.9.9>
- other: <https://github.com/projectdiscovery/nuclei>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-37896>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-2xx4-jj5v-6mff> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2023-1998> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-37896> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-37896>
