CVE-2026-48013: Shopware Core and Platform SSRF Vulnerability in Media External-Link Endpoint

shopware/core Updated 04 Jun 2026

Summary

04/06/2026
Yes i
Moderate
4.1

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

Related vulnerabilities

Recent vulnerabilities recorded for shopware/core.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback