# CVE-2026-9506: Bagisto path traversal in ImageCacheController

Source: https://junglewise.ai/threats/cve-2026-9506-bagisto-path-traversal-in-imagecachecontroller  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-08. Updated: 2026-06-08  
License: CC BY 4.0 with a link back

CVE-2026-9506 · Severity: info · CVSS 8.7 · Published 2026-06-08

Bagisto, an open-source e-commerce platform, contains a security flaw in how it handles image requests. An unauthorized person can exploit this to access sensitive files on the server, such as database passwords or configuration settings. This could lead to a full compromise of the online store and its customer data.

Technologies: [Webkul Bagisto](https://junglewise.ai/threats/technologies/bagisto). Vendors: [Webkul](https://junglewise.ai/threats/vendors/webkul).

## Quick answers

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

**How severe is CVE-2026-9506?** Informational severity, with a CVSS score of 8.7, published 8 June 2026.

**Which products and versions are affected?** Webkul Bagisto v2.4.1.

**Is there a fix for CVE-2026-9506?** A patch was published on 2026-06-08: Patched in version v2.4.2 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-9506 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-9506?** Check whether you run Webkul Bagisto 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.

## Technical details

A path traversal vulnerability (CWE-22) exists in Bagisto v2.4.1 within the ImageCacheController component. The flaw is caused by improper validation of user-supplied input in the 'filename' parameter. An unauthenticated remote attacker can exploit this by sending specially crafted requests containing directory traversal sequences (e.g., ../) to bypass intended directory restrictions. Successful exploitation allows the attacker to read sensitive system files, including application configurations and environment variables. The issue is resolved in version v2.4.2.

## Affected products

- Webkul Bagisto v2.4.1

## Timeline

- 2026-06-08: disclosed
- 2026-06-08: advisory
- 2026-06-08: patched: Patched in version v2.4.2

## References

- [https://www.cert-in.org.in/s2cMainServlet?pageid=PUBVLNOTES01&VLCODE=CIVN-2026-0292](https://www.cert-in.org.in/s2cMainServlet?pageid=PUBVLNOTES01&VLCODE=CIVN-2026-0292)

## Related threats

- [Webkul Bagisto privilege escalation in user-management](https://junglewise.ai/threats/cve-2026-79411-webkul-bagisto-privilege-escalation-in-user-management)
- [Webkul Bagisto improper quantity validation in add-to-cart](https://junglewise.ai/threats/cve-2026-79410-webkul-bagisto-improper-quantity-validation-in-add-to-cart)
- [Webkul Bagisto information disclosure in add-to-cart API](https://junglewise.ai/threats/cve-2026-79409-webkul-bagisto-information-disclosure-in-add-to-cart-api)
- [Webkul Bagisto RMA state validation bypass](https://junglewise.ai/threats/cve-2026-19993-webkul-bagisto-rma-state-validation-bypass)
