Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-48010
Published:June 05, 2026
Updated:June 06, 2026
"UserController::upsertUser()" writes user data in "SYSTEM_SCOPE" and does not filter the "admin" field. A non-admin API user with "user:create" or "user:update" ACL permission can set "admin: true" on new or existing users, escalating to full admin access. The Problem In "src/Core/Framework/Api/Controller/UserController.php", line 210-234: public function upsertUser(?string $userId, Request $request, Context $context, ResponseFactoryInterface $factory): Response { $data = $request->request->all(); // raw request data, no field filtering // ... $events = $context->scope(Context::SYSTEM_SCOPE, fn (Context $context) => $this->userRepository->upsert([$data], $context) ); } "SYSTEM_SCOPE" bypasses "AclWriteValidator" entirely (line 52 of "AclWriteValidator::preValidate()" returns early for "SYSTEM_SCOPE"). The "admin" boolean field is accepted without restriction. Compare with "IntegrationController::upsertIntegration()" in the same codebase, which correctly checks: if ((!$source instanceof AdminApiSource) || (!$source->isAdmin() && isset($data['admin'])) ) { throw new PermissionDeniedException(); } "UserController" is missing this exact check. Impact Any API user with the low-privilege "user:create" permission can create accounts with full admin access, or with "user:update" can promote any existing user to admin. This is a direct privilege escalation. Suggested Fix Add the same "isAdmin()" check from "IntegrationController": $source = $context->getSource(); if ((!$source instanceof AdminApiSource) || (!$source->isAdmin() && isset($data['admin']))) { throw new PermissionDeniedException(); } Best regards, Keyvan Hardani
Affected Packages
https://github.com/shopware/shopware.git (GITHUB):
Affected version(s) >=v6.6.0.0 <v6.6.10.18
Fix Suggestion:
Update to version v6.6.10.18
https://github.com/shopware/shopware.git (GITHUB):
Affected version(s) >=v6.7.0.0 <v6.7.10.1
Fix Suggestion:
Update to version v6.7.10.1
shopware/platform (PHP):
Affected version(s) >=dev-acceptance-test-submit-a-review-backport-6.6.x <v6.6.10.18
Fix Suggestion:
Update to version v6.6.10.18
shopware/core (PHP):
Affected version(s) >=dev-tmp-a8bb4ae4f7f0e90697dc8bf7e92865771b615335 <v6.6.10.18
Fix Suggestion:
Update to version v6.6.10.18
shopware/platform (PHP):
Affected version(s) >=v6.7.0.0 <v6.7.10.1
Fix Suggestion:
Update to version v6.7.10.1
shopware/core (PHP):
Affected version(s) >=v6.7.0.0 <v6.7.10.1
Fix Suggestion:
Update to version v6.7.10.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.5
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Privilege Management