CVE-2026-9506 PUBLISHED

Path Traversal Vulnerability in Bagisto

Assigner: CERT-In
Reserved: 25.05.2026 Published: 08.06.2026 Updated: 08.06.2026

This vulnerability exists in Bagisto due to improper validation of user-supplied input in the ImageCacheController component. An unauthenticated remote attacker could exploit this vulnerability by sending crafted path traversal sequences through the filename parameter to access arbitrary files outside the intended directory on the targeted system.

Successful exploitation of this vulnerability could allow an attacker to read arbitrary sensitive files on the targeted system.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 8.7

Product Status

Vendor Webkul
Product Bagisto
Versions Default: unaffected
  • Version version v2.4.1 is affected

Solutions

Upgrade Bagisto to the patched version v2.4.2 or later.

https://github.com/bagisto/bagisto/tree/v2.4.2

Credits

  • This vulnerability is reported by Stalin S. finder

References

Problem Types

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE

Impacts

  • CAPEC-126 Path Traversal