# CVE-2024-42354: Shopware vulnerable to Improper Access Control with ManyToMany associations in store-api

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2024-08-08T14:42:58.000Z
- Modified: 2026-06-17T07:49:18.903Z
- Also known as: GHSA-hhcq-ph6w-494g
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Shopware is an open commerce platform. The store-API works with regular entities and not expose all fields for the public API; fields need to be marked as ApiAware in the EntityDefinition. So only ApiAware fields of the EntityDefinition will be encoded to the final JSON. Prior to versions 6.6.5.1 and 6.5.8.13, the processing of the Criteria did not considered ManyToMany associations and so they were not considered properly and the protections didn't get used. This issue cannot be reproduced with the default entities by Shopware, but can be triggered with extensions. Update to Shopware 6.6.5.1 or 6.5.8.13 to receive a patch. For older versions of 6.2, 6.3,  and 6.4, corresponding security measures are also available via a plugin.

(As written by CVE List.)

## Affected

- shopware shopware: <= 6.5.8.12; >= 6.6.0.0, <= 6.6.5.0; before 6.5.8.13; from 6.6.0.0 before 6.6.5.1
- shopware/core (Packagist): before 6.5.8.13; from 6.6.0.0 before 6.6.5.1
- shopware/platform (Packagist): before 6.5.8.13; from 6.6.0.0 before 6.6.5.1

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/shopware/shopware/security/advisories/GHSA-hhcq-ph6w-494g> (vendor-advisory, web)
- <https://github.com/shopware/core/commit/a784aa1cec0624e36e0ee4d41aeebaed40e0442f> (patch, web)
- <https://github.com/shopware/core/commit/d35ee2eda5c995faeb08b3dad127eab65c64e2a2> (patch, web)
- <https://github.com/shopware/shopware/commit/8504ba7e56e53add6a1d5b9d45015e3d899cd0ac> (patch, web)
- <https://github.com/shopware/shopware/commit/ad83d38809df457efef21c37ce0996430334bf01> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-42354> (advisory)
- <https://github.com/shopware/shopware> (package)

## Sources

- CVE List: [CVE-2024-42354](https://www.cve.org/CVERecord?id=CVE-2024-42354), CVE Terms of Use, modified 2024-08-08
- GitHub Advisory Database: [GHSA-hhcq-ph6w-494g](https://github.com/advisories/GHSA-hhcq-ph6w-494g), CC-BY-4.0, modified 2024-08-12
- NVD: [CVE-2024-42354](https://nvd.nist.gov/vuln/detail/CVE-2024-42354), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-42354 · Whole record: https://cve.day/CVE-2024-42354.json · Rebuilt by cve.day 2026-11-25T22:58:44.146Z
