Security context
High· 7.5GHSA-m34x-wgrh-g897 CVE-2018-6184CWE-22Published Jan 24, 2018

Directory traversal vulnerability in Next.js

Research this vulnerability

Research is free — Hunters explains how the bug works, the root-cause code pattern, how the fix addresses it, and how to test whether a target is affected, in chat. Investigate & write exploit is a paid run — the engine reads the advisory and fix commits, then builds and validates a working proof-of-concept exploit with reproduction steps.

Affected versions

1.0.0 → fixed in 4.2.3

Details

Next.js 4 before 4.2.3 has Directory Traversal under the `/_next` request namespace.

The fix

No fix commit could be resolved for this advisory (it may reference an issue tracker or a non-GitHub patch). See the references below.

References