# CVE-2024-27917: Shopware's session is persistent in Cache for 404 pages

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/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.61%, higher than 50% of CVEs (2026-12-01)
- Published: 2024-03-06T15:06:54.000Z
- Modified: 2026-06-17T07:20:35.900Z
- Also known as: GHSA-c2f9-4jmm-v45m
- Weaknesses: CWE-524
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Shopware is an open commerce platform based on Symfony Framework and Vue. The Symfony Session Handler pops the Session Cookie and assigns it to the Response. Since Shopware 6.5.8.0, the 404 pages are cached to improve the performance of 404 pages. So the cached Response which contains a Session Cookie when the Browser accessing the 404 page, has no cookies yet. The Symfony Session Handler is in use, when no explicit Session configuration has been done. When Redis is in use for Sessions using the PHP Redis extension, this exploiting code is not used. Shopware version 6.5.8.7 contains a patch for this issue. As a workaround, use Redis for Sessions, as this does not trigger the exploit code.

(As written by CVE List.)

## Affected

- shopware shopware: >= 6.5.8.0, < 6.5.8.7; from 6.5.8.0 before 6.5.8.7
- shopware/storefront (Packagist): from 6.5.8.0 before 6.5.8.7
- shopware/platform (Packagist): from 6.5.8.0 before 6.5.8.7

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/shopware/shopware/security/advisories/GHSA-c2f9-4jmm-v45m> (mitigation, vendor-advisory, web)
- <https://github.com/shopware/shopware/commit/7d9cb03225efca5f97e69b800d8747598dd15ce3> (patch, web)
- <https://github.com/shopware/storefront/commit/3477e4a425d3c54b4bfae82d703fe3838dc21d3e> (patch, web)
- <https://github.com/shopware/shopware/releases/tag/v6.5.8.7> (release-notes, web)
- <https://github.com/shopware/shopware> (package)

## Sources

- CVE List: [CVE-2024-27917](https://www.cve.org/CVERecord?id=CVE-2024-27917), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-c2f9-4jmm-v45m](https://github.com/advisories/GHSA-c2f9-4jmm-v45m), CC-BY-4.0, modified 2026-02-22
- NVD: [CVE-2024-27917](https://nvd.nist.gov/vuln/detail/CVE-2024-27917), Public domain, modified 2026-06-17

---

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