Skip to main content

Bagisto CVE-2026-9506

| EUVDEUVD-2026-35036 HIGH
Path Traversal (CWE-22)
2026-06-08 CERT-In GHSA-qhcg-rw5x-vg94
8.7
CVSS 4.0 · Vendor: CERT-In
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed Bagisto storefront
  2. Delivery
    Craft filename with ../ traversal
  3. Exploit
    Send GET to ImageCacheController
  4. Execution
    Server returns out-of-scope file
  5. Impact
    Harvest .env secrets and credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires only that a Bagisto v2.4.1 instance be network-reachable and serving the vulnerable ImageCacheController image endpoint, which is enabled in the default storefront configuration; no authentication, no user interaction, and no special privileges are needed (CVSS AV:N/AC:L/PR:N/UI:N). Exploitation is limited by what files the PHP/web-server process can read on disk - files outside that user's read scope (e.g., root-owned secrets) and deployments behind a WAF that normalizes '../' sequences will not be reachable, and impact is confined to disclosure since the vector lacks integrity or availability impact.

Impact

Risk is meaningful but bounded to confidentiality. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N) confirms a remote, unauthenticated, low-complexity attack with high confidentiality impact and no integrity or availability damage, yielding a score of 8.7. There is no EPSS score, no SSVC decision, and no CISA KEV listing supplied, and no public POC has been identified at the time of analysis - exploitation status is therefore not 'actively exploited' despite the high CVSS. The disclosure originates from CERT-In (CIVN-2026-0292) and is mirrored in ENISA EUVD-2026-35036, indicating government-CERT-grade validation rather than vendor-confirmed exploitation. Practical risk is elevated for internet-facing Bagisto storefronts because exfiltrating the Laravel .env file typically exposes APP_KEY, database credentials, and mail/payment API tokens, which can be pivoted to full compromise - so confidentiality-only impact understates downstream consequences.

Exploit ScenarioDerived

An attacker scans the internet for Bagisto storefronts, then issues an unauthenticated GET request to the ImageCacheController endpoint with a filename parameter such as '../../../../.env' or '../../../../etc/passwd'. The server returns the file contents, leaking the Laravel APP_KEY, database credentials, SMTP secrets, and payment gateway API keys, which the attacker uses to forge sessions, dump the customer database, or pivot deeper into the merchant's infrastructure.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 08, 2026

Arbitrary file read in Bagisto v2.4.1 allows unauthenticated remote attackers to retrieve sensitive files outside the web root by injecting path traversal sequences into the filename parameter of the ImageCacheController. The CVSS 4.0 base score of 8.7 reflects network-reachable, no-privilege, no-interaction exploitation with high confidentiality impact, and no public exploit identified at time of analysis.

RemediationAI

No vendor-released patch identified at time of analysis in the supplied data; operators should consult the CERT-In advisory (https://www.cert-in.org.in/s2cMainServlet?pageid=PUBVLNOTES01&VLCODE=CIVN-2026-0292) and the Bagisto GitHub repository for a fixed release beyond v2.4.1 and upgrade once published. As compensating controls, place a WAF rule or reverse-proxy filter that rejects requests to ImageCacheController routes containing '..', '%2e%2e', URL-encoded slashes, or absolute paths in the filename parameter (trade-off: may break legitimate image URLs that use unusual encoding); restrict the web-server user's filesystem permissions so it cannot read .env, config/, or storage/logs (trade-off: requires testing Laravel cache/log paths); and rotate APP_KEY, database, mail, and payment credentials proactively in case .env was already exposed.

Affected VersionsENISA

Bagisto version v2.4.1

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Bagisto is an open-source Laravel-based e-commerce platform developed by Webkul (CPE: cpe:2.3:a:webkul:bagisto). The flaw is rooted in CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, i.e., Path Traversal) within the ImageCacheController, a component that serves and caches product/media images. Because the controller takes a user-supplied filename and concatenates or resolves it against a base directory without canonicalizing or rejecting '../' sequences, attackers can break out of the intended image directory and reach any file readable by the PHP/web-server user (e.g., .env, config/database.php, storage logs, or system files like /etc/passwd).

Know when Bagisto gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CERT-In) PRIMARY 8.7 HIGH
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

Primary rating from Vendor (CERT-In) · only source for this CVE.

CVSS VectorVendor: CERT-In

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 08, 2026 - 10:22 NVD
8.7 (HIGH)

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Bagisto v2.4.1, a widely-deployed open-source e-commerce platform, contains an unauthenticated arbitrary file read vulnerability that allows attackers to extract sensitive files including database credentials, configuration secrets, and customer data outside the web root. Organizations running this version face immediate risk of data breach without requiring any attacker authentication or user interaction, directly threatening customer trust and regulatory compliance.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to ImageCacheController to trusted IP ranges only; (2) Deploy WAF rules to block path traversal attempts in filename parameters; (3) Apply filesystem hardening-restrict web server process privileges and segregate sensitive files outside web-accessible directories; (4) Enable request/response logging and establish monitoring alerts for suspicious file access patterns; (5) Review and disable image cache feature if not operationally critical until patched version is available; (6) Establish communication with Bagisto maintainers regarding patch ETA to inform remediation timeline.

Threat Intelligence Overview

EPSS Score
0.2%
Top 64% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2026-21448 CRITICAL POC
9.8 Jan 02

Bagisto eCommerce platform before 2.3.10 is vulnerable to server-side template injection (SSTI) through customer address

CVE-2026-21446 CRITICAL POC
9.8 Jan 02

Bagisto eCommerce platform (2.3 branch before 2.3.10) leaves installation API routes active after setup, allowing unauth

CVE-2026-21449 HIGH POC
8.8 Jan 02

Bagisto eCommerce platform versions before 2.3.10 suffer from server-side template injection through user-controllable f

CVE-2023-33570 HIGH POC
8.8 Jun 28

Bagisto v1.5.1 is vulnerable to Server-Side Template Injection (SSTI). Rated high severity (CVSS 8.8), this vulnerabilit

CVE-2019-16403 HIGH POC
8.8 Sep 18

In Webkul Bagisto before 0.1.5, the functionalities for customers to change their own values (such as address, review, o

CVE-2019-14933 HIGH POC
8.8 Aug 11

Bagisto 0.1.5 allows CSRF under /admin URIs. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable,

CVE-2026-21451 HIGH POC
8.4 Jan 02

Stored XSS in Bagisto's CMS page editor allows authenticated attackers to bypass input sanitization by crafting maliciou

CVE-2026-21447 HIGH POC
7.1 Jan 02

Bagisto is an open source laravel eCommerce platform. [CVSS 7.1 HIGH]

CVE-2025-62417 HIGH POC
7.1 Oct 16

CSV formula injection in Bagisto through 2.3.7 allows a user who can create or edit product data to store spreadsheet fo

CVE-2025-62416 MEDIUM POC
6.8 Oct 16

Server-side template injection in Bagisto 2.3.7 lets an authenticated backend user with product-creation privileges inje

CVE-2024-27499 MEDIUM POC
6.5 Mar 01

Bagisto v1.5.1 is vulnerable for Cross site scripting(XSS) via png file upload vulnerability in product review option. R

CVE-2026-21450 CRITICAL
9.8 Jan 02

Bagisto before 2.3.10 has a second server-side template injection vulnerability, this time via the type parameter. Like

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy