# CVE-2023-46497: EverShop directory traversal in folder creation

Source: https://junglewise.ai/threats/cve-2023-46497-evershop-directory-traversal-in-folder-creation  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-12-08. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2023-46497 · Severity: low · CVSS 3.1 · Published 2023-12-08

EverShop is a Node.js-based e-commerce platform that allows merchants to build online storefronts. A directory traversal vulnerability in the folder creation endpoint allows authenticated attackers to read sensitive files outside the intended directory structure, potentially exposing configuration files, source code, or other confidential data stored on the server.

Technologies: [EverShop](https://junglewise.ai/threats/technologies/evershop), [@evershop/evershop (npm)](https://junglewise.ai/threats/technologies/evershop-evershop). Vendors: [EverShop](https://junglewise.ai/threats/vendors/evershop), [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2023-46497 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-46497 being exploited in the wild.

**How severe is CVE-2023-46497?** Low severity, with a CVSS score of 3.1, published 8 December 2023.

**Which products and versions are affected?** EverShop before 1.0.0-rc.8; @evershop/evershop (npm) SEMVER:introduced=0,fixed=1.0.0-rc.8.

**Is there a fix for CVE-2023-46497?** Yes. @evershop/evershop (npm): upgrade to 1.0.0-rc.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2023-46497 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2023-46497?** Check whether you run EverShop or @evershop/evershop (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- @evershop/evershop (npm): upgrade to 1.0.0-rc.8 or later

  ```sh
  npm install @evershop/evershop@1.0.0-rc.8
  ```


## Technical details

The vulnerability exists in the createFolder.js endpoint's use of the mkdirSync function, which fails to properly validate user-supplied path input. An authenticated attacker (authentication is required) can craft a malicious request containing path traversal sequences (e.g., "../") to create directories outside the intended application directory and access sensitive files. The vulnerability allows disclosure of confidential information and potentially limited file system modification. This issue affects all EverShop versions before 1.0.0-rc.8, where the path validation was fixed.

## Affected products

- EverShop EverShop before 1.0.0-rc.8

## Identifiers

- CVE-2023-46497
- GHSA-7443-5962-wp4r

## Timeline

- 2023-12-08: disclosed: Vulnerability published
- 2023-09-27: patched: Fix merged in PR #338 to main branch

## References

- [https://github.com/evershopcommerce/evershop/pull/338](https://github.com/evershopcommerce/evershop/pull/338)

## Related threats

- [EverShop missing authorization in customer address API](https://junglewise.ai/threats/cve-2026-115323-evershop-1-2-2-before-2-2-1-contains-a-missing-authorization)
- [EverShop customer update authentication bypass](https://junglewise.ai/threats/cve-2026-72843-evershop-customer-update-authentication-bypass)
- [EverShop server-side request forgery in images API](https://junglewise.ai/threats/cve-2025-67427-evershop-server-side-request-forgery-in-images-api)
- [EverShop denial of service in image processing API](https://junglewise.ai/threats/cve-2025-67419-evershop-denial-of-service-in-image-processing-api)
- [EverShop 2.0.1 allows a remote unauthenticated attacker to upload arbitrary files and create directories via the…](https://junglewise.ai/threats/cve-2025-65844-evershop-2-0-1-allows-a-remote-unauthenticated-attacker-to-upload)
