GHSA-2w46-vq8h-98vh: Shopware/core Shopware 6's Password Recovery Link Vulnerability

MODERATE
CVSS 5.0
CWE-640
Published
Advisory Summary

GHSA-2w46-vq8h-98vh is a MODERATE (CVSS 5.0) shopware 6's password recovery link vulnerability (CWE-640: Weak Password Recovery Mechanism for Forgotten Password) affecting Shopware/core libraries in the Packagist ecosystem. The issue involves shopware 6's password recovery link does not expire after email change. Remediation is available by upgrading affected packages to version 6.6.10.9, 6.7.4.1.

GHSA-2w46-vq8h-98vh at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-2w46-vq8h-98vh
Severity MODERATE
CVSS v3.1 Base Score 5.0
CWE Classification CWE-640: Weak Password Recovery Mechanism for Forgotten Password
Affected Product Shopware/core
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:L).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability Low (A:L)

How to Fix GHSA-2w46-vq8h-98vh

To remediate this vulnerability, upgrade all affected Shopware/core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

shopware/core fixed: 6.6.10.9
Upgrade shopware/core to 6.6.10.9
shopware/core fixed: 6.7.4.1
Upgrade shopware/core to 6.7.4.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for shopware/core

How to Check if You Are Affected

To determine whether your application is affected by GHSA-2w46-vq8h-98vh, inspect your project dependencies for Shopware/core:

inspect dependencies for shopware/core

Analyze the terminal output to locate any version of Shopware/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.6.10.9), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-640: Weak Password Recovery Mechanism for Forgotten Password, where the product contains a mechanism for users to recover or change their passwords without knowing the original password, but the mechanism is weak. In Shopware/core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary When a customer changes their email address after requesting a password reset, the old password reset link (tied to the previous email) remains valid. An attacker with access to the old email inbox is potentially able to reset the customer’s password even after the user changes their email address. ### PoC 1. Log in to a Shopware account. 2. Request a password reset for your current email address. 3. Copy the password reset link but do not open it. 4. Log back into your account.n 5. Navigate to Account Settings → Email and change your email address. 6. Use the previously copied reset link (from before the email change). 7. The system allows password change using the old link. ### Impact Reproduced on Stable 6.6.10.7 and trunk.

GHSA-2w46-vq8h-98vh Affected Shopware/core Versions

2 component(s)
Fixed Versions:
6.6.10.96.7.4.1
Product / Package Ecosystem Affected Versions Fixed Version
shopware/core
Packagist
< 6.6.10.9
6.6.10.9
shopware/core
Packagist
≥ 6.7.0.0
< 6.7.4.1
6.7.4.1

References

Frequently Asked Questions

What is GHSA-2w46-vq8h-98vh?
GHSA-2w46-vq8h-98vh is a security vulnerability in Shopware/core involving Shopware 6's password recovery link does not expire after email change under CWE-640: Weak Password Recovery Mechanism for Forgotten Password.
Which Shopware/core versions are affected?
Affected versions include releases prior to 6.6.10.9, 6.7.4.1 across affected packages: shopware/core.
What version fixes GHSA-2w46-vq8h-98vh?
Upgrading to 6.6.10.9, 6.7.4.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is shopware/core affected?
Yes, shopware/core is affected in releases prior to 6.6.10.9, 6.7.4.1. Upgrade your dependency to 6.6.10.9, 6.7.4.1 or later.
What is the CVSS score of GHSA-2w46-vq8h-98vh?
GHSA-2w46-vq8h-98vh has a CVSS v3.1 base score of 5.0 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:L.
What CWE is associated with GHSA-2w46-vq8h-98vh?
GHSA-2w46-vq8h-98vh is classified under CWE-640: Weak Password Recovery Mechanism for Forgotten Password (The product contains a mechanism for users to recover or change their passwords without knowing the original password, but the mechanism is weak.).
How can I check Packagist dependencies for GHSA-2w46-vq8h-98vh?
Run the dependency tree command: 'inspect dependencies for shopware/core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2w46-vq8h-98vh",
  "modified" : "2025-11-14T20:42:24Z",
  "published" : "2025-11-14T20:42:24Z",
  "aliases" : [ ],
  "summary" : "Shopware 6's password recovery link does not expire after email change",
  "details" : "### Summary\nWhen a customer changes their email address after requesting a password reset, the old password reset link (tied to the previous email) remains valid. An attacker with access to the old email inbox is potentially able to reset the customer’s password even after the user changes their email address.\n\n### PoC\n\n1. Log in to a Shopware account.\n2. Request a password reset for your current email address.\n3. Copy the password reset link but do not open it.\n4. Log back into your account.n\n5. Navigate to Account Settings → Email and change your email address.\n6. Use the previously copied reset link (from before the email change).\n7. The system allows password change using the old link.\n\n### Impact\nReproduced on Stable 6.6.10.7 and trunk.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "shopware/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.6.10.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "shopware/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.7.0.0"
      }, {
        "fixed" : "6.7.4.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/shopware/shopware/security/advisories/GHSA-2w46-vq8h-98vh"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/shopware/shopware/commit/1338dd9a11e361639704bf8f09b6878552eb8c13"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/shopware/shopware/commit/2fb94855696a90045b81c503d216ba7df8e64e52"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/shopware/shopware"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/shopware/shopware/releases/tag/v6.6.10.9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/shopware/shopware/releases/tag/v6.7.0.0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/shopware/shopware/releases/tag/v6.7.4.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-640" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-11-14T20:42:24Z",
    "nvd_published_at" : null
  }
}