# CVE-2026-48013: Shopware: SSRF in Media External-Link Endpoint Bypasses IP Validation

> Authenticated admin users can bypass IP validation to perform server-side requests to internal networks or cloud metadata endpoints.

- **Severity:** Medium 4.1 (`CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 23 Jul 2026
- **Updated:** 23 Jul 2026
- **Also known as:** GHSA-gq96-5pfx-f4vc

## What is CVE-2026-48013?

CVE-2026-48013 is a medium-severity server-side request forgery vulnerability in shopware platform, published on 23 Jul 2026. An attacker needs administrator access to exploit it, with no action from the victim.

### Official description

Shopware is an open commerce platform. Prior to 6.6.10.18 and 6.7.10.1, the `/api/_action/media/external-link` endpoint allows authenticated admin users to make server-side HTTP HEAD requests to arbitrary internal IP addresses. While the parallel `uploadFromURL` flow validates target IPs against private/reserved ranges via `FileUrlValidator`, the `linkURL` flow only performs a URL format check (regex for `http://` or `https://` prefix), allowing SSRF to internal network services and cloud metadata endpoints. This issue is fixed in versions 6.6.10.18 and 6.7.10.1.

Weakness: CWE-918 (Server-Side Request Forgery)

## Which versions are affected by CVE-2026-48013?

4 open source packages ship an affected version, including shopware/platform and shopware/core.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `shopware/platform` | Packagist | From 6.7.0.0 | 6.7.10.1 |
| `shopware/platform` | Packagist | From 6.7.0.0 | 6.7.10.1 |
| `shopware/core` | Packagist | From 6.7.0.0 | 6.7.10.1 |
| `shopware/core` | Packagist | From 6.7.0.0 | 6.7.10.1 |

## How do I fix CVE-2026-48013?

Upgrade shopware/platform to 6.7.10.1 or later.

## Is CVE-2026-48013 being exploited?

There is no known exploitation of CVE-2026-48013 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-48013 and fix it if it is affected.

What it is: CVE-2026-48013 is a medium-severity server-side request forgery vulnerability in shopware platform, published on 23 Jul 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-48013 in the wild and no public exploit code.

Affected packages and fixed versions:
- shopware/platform (Packagist): affected from 6.7.0.0; fixed in 6.7.10.1
- shopware/platform (Packagist): affected from 6.7.0.0; fixed in 6.7.10.1
- shopware/core (Packagist): affected from 6.7.0.0; fixed in 6.7.10.1
- shopware/core (Packagist): affected from 6.7.0.0; fixed in 6.7.10.1

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-48013/ (Markdown: https://insights.sbomify.com/CVE-2026-48013/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-48013
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-48013
- OSV: https://osv.dev/vulnerability/CVE-2026-48013

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-48013/
Summaries are generated and may contain mistakes; the official description above is the record.
