# GHSA-68wv-g3fw-pq7q: Shopware Broken ACL on Document retrieval to access other customers documents


- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 8 Apr 2025

## What is GHSA-68wv-g3fw-pq7q?

GHSA-68wv-g3fw-pq7q is a vulnerability in shopware/core, published on 8 Apr 2025. 

### Official description

### Impact
It's possible to guess the deepLinkCode of an Document to open documents of other customers

### Patches
Update to Shopware 6.6.10.3 or 6.5.8.17

### Workarounds
For older versions of 6.4, corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.

## Which versions are affected by GHSA-68wv-g3fw-pq7q?

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


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `shopware/core` | Packagist | All versions | 6.5.8.17 |
| `shopware/core` | Packagist | All versions | 6.5.8.17 |
| `shopware/core` | Packagist | From 6.6.0.0 | 6.6.10.3 |
| `shopware/core` | Packagist | From 6.6.0.0 | 6.6.10.3 |
| `shopware/core` | Packagist | From 6.7.0.0-rc1 | 6.7.0.0-rc2 |
| `shopware/core` | Packagist | From 6.7.0.0-rc1 | 6.7.0.0-rc2 |
| `shopware/platform` | Packagist | All versions | 6.5.8.17 |
| `shopware/platform` | Packagist | All versions | 6.5.8.17 |
| `shopware/platform` | Packagist | From 6.6.0.0 | 6.6.10.3 |
| `shopware/platform` | Packagist | From 6.6.0.0 | 6.6.10.3 |
| `shopware/platform` | Packagist | From 6.7.0.0-rc1 | 6.7.0.0-rc2 |
| `shopware/platform` | Packagist | From 6.7.0.0-rc1 | 6.7.0.0-rc2 |

## How do I fix GHSA-68wv-g3fw-pq7q?

Upgrade shopware/core to a fixed version for your release line: 6.5.8.17, 6.6.10.3 or 6.7.0.0-rc2.

## Is GHSA-68wv-g3fw-pq7q being exploited?

There is no known exploitation of GHSA-68wv-g3fw-pq7q in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-68wv-g3fw-pq7q and fix it if it is affected.

What it is: GHSA-68wv-g3fw-pq7q is a vulnerability in shopware/core, published on 8 Apr 2025. 
Exploitation: There is no known exploitation of GHSA-68wv-g3fw-pq7q in the wild and no public exploit code.

Affected packages and fixed versions:
- shopware/core (Packagist): affected all versions; fixed in 6.5.8.17
- shopware/core (Packagist): affected all versions; fixed in 6.5.8.17
- shopware/core (Packagist): affected from 6.6.0.0; fixed in 6.6.10.3
- shopware/core (Packagist): affected from 6.6.0.0; fixed in 6.6.10.3
- shopware/core (Packagist): affected from 6.7.0.0-rc1; fixed in 6.7.0.0-rc2
- shopware/core (Packagist): affected from 6.7.0.0-rc1; fixed in 6.7.0.0-rc2
- shopware/platform (Packagist): affected all versions; fixed in 6.5.8.17
- shopware/platform (Packagist): affected all versions; fixed in 6.5.8.17
- shopware/platform (Packagist): affected from 6.6.0.0; fixed in 6.6.10.3
- shopware/platform (Packagist): affected from 6.6.0.0; fixed in 6.6.10.3
- shopware/platform (Packagist): affected from 6.7.0.0-rc1; fixed in 6.7.0.0-rc2
- shopware/platform (Packagist): affected from 6.7.0.0-rc1; fixed in 6.7.0.0-rc2

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/GHSA-68wv-g3fw-pq7q/ (Markdown: https://insights.sbomify.com/GHSA-68wv-g3fw-pq7q/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-68wv-g3fw-pq7q

---
From sbomify Insights: https://insights.sbomify.com/GHSA-68wv-g3fw-pq7q/
Summaries are generated and may contain mistakes; the official description above is the record.
