CVE-2026-48012

MEDIUMPre-NVD 4.34.3
EchelonGraph scoreLOW confidence

This medium-severity CVE scores 4.3 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit probability: 0.0%, top 91% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: cna:github_m, epss
4.3
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS: 0%CVSS: 4.3Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

Shopware SSO referer trust leading to an arbitrary redirect target

Description

This report describes an open redirect in Shopware's public SSO entry point at GET /api/oauth/sso/auth. When the endpoint is reached without the expected SSO session state, the application falls back to the request's Referer header and uses that value as the redirect destination. In the validated behavior, the server does not restrict that fallback target to same-origin URLs, does not require a relative path, and does not reject dangerous schemes such as javascript:. As a result, an unauthenticated request can turn this endpoint into a reusable redirect primitive whose destination is fully controlled by attacker-supplied request metadata.

The security problem is not limited to a harmless navigation mismatch. The endpoint sits under /api/oauth/, which gives the redirect a trustworthy application-controlled origin and makes it suitable for phishing chains, branded redirect abuse, and cases where client software automatically follows redirects issued by a trusted host. The attached evidence also shows that the response is not only an HTTP 302 with a user-controlled Location header. The HTML body contains a matching meta refresh tag and redirect link built from the same attacker-controlled value. In the validated proof, the endpoint redirects to https://attacker.example/poc when that URL is supplied through Referer, and it also reflects javascript:alert(1) into Location and the HTML redirect body without any scheme filtering. This report therefore stays conservative and claims an open redirect with arbitrary redirect targets, while noting that the lack of scheme restrictions makes the behavior materially worse than a same-scheme external redirect.

Steps To Reproduce

  • Start a local Shopware instance that exposes the vulnerable endpoint at http://127.0.0.1:8000/api/oauth/sso/auth. No login is required for the proof. The attached Python PoC already targets that base URL and is configured to send direct requests without following redirects automatically.
  • Run the attached PoC with python3 poc_sso_referer_open_redirect.py. The script sends three requests to GET /api/oauth/sso/auth and records the raw responses as evidence files. The first request omits the Referer header entirely. The second request supplies Referer: https://attacker.example/poc. The third request supplies Referer: javascript:alert(1).
  • Inspect the first recorded response in evidence/sso_redirect_no_referer.raw.txt. In the validated run, the endpoint returns 401 with the message Referrer not found. Cannot redirect. This shows that the code path being exercised is the unauthenticated fallback behavior that depends on Referer when the expected SSO state is missing.
  • Inspect evidence/sso_redirect_https_redirect.raw.txt. In the validated run, the endpoint returns 302 and sets Location: https://attacker.example/poc. The HTML body also contains a meta refresh tag and redirect link pointing to the same external URL. This demonstrates that the server accepts an attacker-controlled external target and emits it as a redirect destination.
  • Inspect evidence/sso_redirect_javascript_redirect.raw.txt. In the validated run, the endpoint again returns 302, but this time the response sets Location: javascript:alert(1). The HTML body mirrors the same javascript: target in both the meta refresh tag and the anchor. This demonstrates that the fallback redirect does not even enforce an http or https scheme restriction before constructing the response.
  • Compare the PoC summary in evidence/poc_sso_referer_open_redirect.output.txt with the raw responses. The validated run shows 401 when no Referer is present, 302 to https://attacker.example/poc when an external HTTPS URL is supplied, and 302 to javascript:alert(1) when a dangerous scheme is supplied. That behavior confirms the endpoint can be used as an open redirect with an arbitrary redirect target controlled through Referer.

Recommendations

The endpoint should stop using Referer as a fallback redirect target when the expected SSO state is missing. If the application cannot complete the SSO flow because the required session state does not exist, it should return a fixed error response or redirect only to a fixed internal page that is not influenced by request headers. Referer is not a trustworthy source of navigation intent and should not be treated as an authorization or routing signal for security-sensitive redirect logic.

If the product needs to preserve a return destination, that destination should be derived from a server-generated state value or validated against a strict allowlist. At minimum, the code should reject non-HTTP schemes, reject scheme-relative targets such as //host, and reject absolute URLs that are not same-origin with the current Shopware instance. A regression test should cover the exact cases proven here: no Referer, an external HTTPS Referer, and a javascript: Referer, with assertions that none of the attacker-controlled values can be emitted into Location or the HTML redirect body.

Impact

The demonstrated impact is that an unauthenticated attacker can cause a trusted Shopware endpoint to emit arbitrary redirect targets chosen through the request's Referer header. In the minimum case, that enables standard open redirect abuse for phishing, brand impersonation, and redirect chaining through a legitimate application origin. Because the redirect is served from /api/oauth/sso/auth, the resulting URL can look more trustworthy than a generic off-site redirect and may be more likely to be followed by users or client software that expects the endpoint to participate in an authentication flow.

The validated evidence also shows that the endpoint does not restrict the redirect target to ordinary web URLs. It reflects javascript:alert(1) directly into Location and into the HTML redirect page. This report keeps the claim conservative and classifies the issue as an open redirect with arbitrary redirect targets, but the acceptance of dangerous schemes makes the behavior more severe than a simple same-browser redirect to another HTTPS site and increases the risk of downstream abuse depending on client behavior.

Note on submission channel:

I initially attempted to submit this issue through Shopware’s official security reporting form. The form backend returned HTTP 400 for normal submissions, and when an attachment was included it explicitly rejected .md, .py, .zip files with the message File type not allowed. Because the official form was not functioning correctly for me, I am submitting this report privately through GitHub’s vulnerability reporting flow.

CVSS v3
4.3
EG Score
4.3(low)
EPSS
8.7%
KEV
Not listed

Published

June 4, 2026

Last Modified

June 4, 2026

Vendor Advisories for CVE-2026-48012(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Affected Packages

(2 across 1 ecosystem)
Packagist(2)
PackageVulnerable rangeFixed inDependents
shopware/corev6.7.10.0 ... v6.7.9.1 (18 versions)6.7.10.1
shopware/platformv6.7.10.0 ... v6.7.9.1 (18 versions)6.7.10.1

Data Freshness Timeline

(refreshed 3× in last 7d / 25× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-11 11:49 UTCEG score recompute
  2. 2026-07-08 09:34 UTCEG score recompute
  3. 2026-07-06 02:19 UTCEG score recompute
  4. 2026-07-03 22:12 UTCEG score recompute
  5. 2026-07-02 21:24 UTCEG score recompute
  6. 2026-07-01 20:44 UTCEG score recompute
  7. 2026-06-30 20:04 UTCEG score recompute
  8. 2026-06-29 09:58 UTCEG score recompute
  9. 2026-06-28 05:13 UTCEG score recompute
  10. 2026-06-27 04:34 UTCEG score recompute
  11. 2026-06-26 03:54 UTCEG score recompute
  12. 2026-06-25 03:15 UTCEG score recompute
  13. 2026-06-24 02:34 UTCEG score recompute
  14. 2026-06-23 01:54 UTCEG score recompute
  15. 2026-06-20 12:08 UTCEG score recompute
  16. 2026-06-19 06:26 UTCEG score recompute
  17. 2026-06-18 04:47 UTCEG score recompute
  18. 2026-06-17 04:07 UTCEG score recompute
  19. 2026-06-16 03:28 UTCEG score recompute
  20. 2026-06-15 02:46 UTCEG score recompute
  21. 2026-06-14 23:18 UTCEPSS rescore
  22. 2026-06-14 02:06 UTCEG score recompute
  23. 2026-06-13 23:00 UTCEPSS rescore
  24. 2026-06-13 01:26 UTCEG score recompute
  25. 2026-06-12 23:12 UTCEPSS rescore
Show 8 more
  1. 2026-06-12 00:47 UTCEG score recompute
  2. 2026-06-11 00:07 UTCEG score recompute
  3. 2026-06-09 23:27 UTCEG score recompute
  4. 2026-06-08 22:48 UTCEG score recompute
  5. 2026-06-07 22:08 UTCEG score recompute
  6. 2026-06-06 21:29 UTCEG score recompute
  7. 2026-06-05 20:49 UTCEG score recompute
  8. 2026-06-04 20:10 UTCEG score recompute

Frequently asked(5)

What is CVE-2026-48012?
CVE-2026-48012 is a medium vulnerability published on June 4, 2026. Shopware SSO referer trust leading to an arbitrary redirect target Description This report describes an open redirect in Shopware's public SSO entry point at GET /api/oauth/sso/auth. When the endpoint is reached without the expected SSO session state, the application falls back to the request's…
When was CVE-2026-48012 disclosed?
CVE-2026-48012 was first published in the National Vulnerability Database on June 4, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-48012 actively exploited?
CVE-2026-48012 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 8.7% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-48012?
CVE-2026-48012 has a CVSS v4.0 base score of 4.3 (CNA self-assessment; NVD's own analysis pending). The EG score is currently aggregating — additional source signals are being incorporated as they become available..
How do I remediate CVE-2026-48012?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-48012, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-48012

Explore →

Is Your Infrastructure Affected by CVE-2026-48012?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.