CVE-2026-48013: Shopware Core and Platform SSRF Vulnerability in Media External-Link Endpoint
Summary
CVE-2026-48013: Shopware: SSRF in Media External-Link Endpoint Bypasses IP Validation. Affects shopware/core versions >= 6.7.0.0, < 6.7.10.1. Fixed in 6.7.10.1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Shopware is an open-source eCommerce platform that provides a comprehensive solution for online stores. It allows users to manage products, orders, and customer data efficiently. The platform is built on a modular architecture, enabling developers to extend its functionality. However, a vulnerability has been identified in the Media External-Link endpoint, which can lead to Server-Side Request Forgery (SSRF) attacks, allowing unauthorized access to internal services.
Vulnerability Detail
The vulnerability arises from an inconsistency in how the Shopware MediaUploadService handles URLs. The 'external-link' endpoint allows authenticated admin users to make server-side HTTP HEAD requests to arbitrary internal IP addresses without proper IP validation. While the 'uploadFromURL' flow correctly validates URLs against private and reserved IP ranges, the 'linkURL' flow only checks the URL format. This oversight can lead to information disclosure, allowing attackers to probe internal services, scan networks, and potentially leak sensitive information.
How To Fix
Minimum fixed version
6.7.10.1
This is the first release that contains the fix.
composer require shopware/core:6.7.10.1
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, you can modify the MediaUploadService to include IP validation in the 'linkURL' flow. Here is a code snippet to illustrate the necessary changes:
// src/Core/Content/Media/Upload/MediaUploadService.php
// Add constructor dependency:
private readonly FileUrlValidatorInterface $fileUrlValidator;
// In getContentSizeFromValidExternalUrl(), add IP validation:
private function getContentSizeFromValidExternalUrl(string $url): int
{
$this->validateExternalUrl($url);
if (!$this->fileUrlValidator->isValid($url)) {
throw MediaException::illegalUrl($url);
}
$headers = $this->httpClient->request('HEAD', $url)->getHeaders();
if (!array_key_exists('content-length', $headers)) {
throw MediaException::fileNotFound($url);
}
return (int) $headers['content-length'][0];
}
Conclusion
In summary, CVE-2026-48013 is a significant SSRF vulnerability in the Shopware Core and Platform that can lead to serious information disclosure risks. It is crucial for users to update their installations to the patched version to mitigate these risks effectively.
See every vulnerability recorded for shopware/core →
FAQ
CVE-2026-48013 is a vulnerability in Shopware that allows authenticated admin users to perform SSRF attacks via the Media External-Link endpoint.
Any installation of Shopware Core or Platform versions prior to 6.7.10.1 is affected by this vulnerability.
The vulnerability can lead to information disclosure, allowing attackers to probe internal services, scan networks, and leak sensitive information.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
The CVSS score of this vulnerability is 4.1, indicating a moderate severity level.
References
Related vulnerabilities
Recent vulnerabilities recorded for shopware/core.