{"id":"CVE-2026-48011","aliases":["CVE-2026-48011","GHSA-7w52-7jvm-m9vw"],"related":[],"kind":"vulnerability","state":"published","title":"Shopware: Timing-attack on admin panel allowing enumeration of administrator usernames","summary":"Shopware is an open commerce platform. Prior to versions 6.6.10.18 and 6.7.10.1, an attacker is able to enumerate the usernames of administrator users by performing a timing attack. Versions 6.6.10.18 and 6.7.10.1 fix the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Shopware is an open commerce platform. Prior to versions 6.6.10.18 and 6.7.10.1, an attacker is able to enumerate the usernames of administrator users by performing a timing attack. Versions 6.6.10.18 and 6.7.10.1 fix the issue.","source":"cvelist"},{"lang":"en","text":"### Summary\nThere is a Proof of Concept which is able to enumerate the usernames of administrator users. This was possible by performing a timing attack.\n\n### Details\nThe faulty code exists in [`src/Core/Framework/Api/OAuth/UserRepository.php`](https://github.com/shopware/shopware/blob/trunk/src/Core/Framework/Api/OAuth/UserRepository.php):\n```\npublic function getUserEntityByUserCredentials(\n        string $username,\n        #[\\SensitiveParameter]\n        string $password,\n        string $grantType,\n        ClientEntityInterface $clientEntity\n    ): ?UserEntityInterface {\n        if ($this->loginConfigService->getConfig()?->useDefault === false) {\n            // never allow login via password if the default login is disabled (e.g. using SSO only)\n            return null;\n        }\n\n        $builder = $this->connection->createQueryBuilder();\n        $user = $builder->select('user.id', 'user.password')\n            ->from('user')\n            ->where('username = :username')\n            ->setParameter('username', $username)\n            ->fetchAssociative();\n\n        // PATH 1: EARLY RETURN WHEN USERNAME IS NOT FOUND\n        if (!$user) {\n            return null;\n        }\n\n        // PATH 2: VERIFY PASSWORD IF USER IS FOUND\n        if (!password_verify($password, (string) $user['password'])) {\n            return null;\n        }\n\n        return new User(Uuid::fromBytesToHex($user['id']));\n    }\n```\n\nSubroutine `getUserEntityByUserCredentials()` is called when an auth request is send to `api/oauth/token`. If the given username is not found an early return is done (PATH 1). Only if the user is found we verify the password using `password_verify`.\n\nPHP method `password_verify` by default uses hashing algorithm Argon2id which by design is intentionally 'slow' by introducing a timing cost to an attempt to bruteforce hashes more costly.\n\nSince `password_verify` has a notable executable time, PATH 2 where an user is found and verified will be slower on average then PATH 1 where we do an early return for non-existing users.\n\n### Proposed fix\nBefore doing the early return, `password_verify` a dummy hash.\n\n### Impact\n1. More targeted dictionary/bruteforce attacks.\n2. Spear phishing / eases social engineering.\n3. Credential stuffing from other data leaks.\n\n### Authors\nNiel Duysters (@NielDuysters) and Thomas Brankaer (@tbrankaer)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Shopware es una plataforma de comercio abierta. Previo a las versiones 6.6.10.18 y 6.7.10.1, un atacante puede enumerar los nombres de usuario de los usuarios administradores al realizar un ataque de temporización. Las versiones 6.6.10.18 y 6.7.10.1 corrigen el problema.","source":"nvd"}],"published":"2026-06-04T19:31:17.000Z","modified":"2026-09-10T03:50:48.818Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"rating":"LOW"}],"cwes":["CWE-208"],"affected":[{"ranges":[{"version":">= 6.7.0.0, < 6.7.10.1","status":"affected"},{"version":"< 6.6.10.18","status":"affected"}],"vendor":"shopware","product":"shopware","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"6.7.0.0","status":"affected","fixed":"6.7.10.1"}],"ecosystem":"Packagist","package":"shopware/platform","purl":"pkg:composer/shopware/platform","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.6.10.18"}],"ecosystem":"Packagist","package":"shopware/platform","purl":"pkg:composer/shopware/platform","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.7.0.0","status":"affected","fixed":"6.7.10.1"}],"ecosystem":"Packagist","package":"shopware/core","purl":"pkg:composer/shopware/core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.6.10.18"}],"ecosystem":"Packagist","package":"shopware/core","purl":"pkg:composer/shopware/core","source":"ghsa"}],"references":[{"url":"https://github.com/shopware/shopware/security/advisories/GHSA-7w52-7jvm-m9vw","tags":["exploit","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/shopware/shopware/releases/tag/v6.6.10.18","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/shopware/shopware/releases/tag/v6.7.10.1","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48011","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/shopware/shopware","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-06-11T14:26:27.848Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48011","url":"https://www.cve.org/CVERecord?id=CVE-2026-48011","licence":"CVE Terms of Use","modified":"2026-06-11T14:26:36.286Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7w52-7jvm-m9vw","url":"https://github.com/advisories/GHSA-7w52-7jvm-m9vw","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:48.818Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48011","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48011","licence":"Public domain","modified":"2026-07-23T09:10:00.113Z"}],"updatedAt":"2026-11-25T22:59:24.384Z","epss":{"score":0.00223,"percentile":0.13769,"date":"2026-12-01T12:00:22.000Z"}}