CVE-2026-48008: Shopware Privilege Escalation Vulnerability

MODERATE
Advisory Identifier: GHSA-gv8p-48fr-4fxg
CVSS 6.5
CWE-862
Published
Advisory Summary

CVE-2026-48008 is a MODERATE (CVSS 6.5) privilege escalation vulnerability (CWE-862: Missing Authorization) affecting Shopware libraries in the Packagist ecosystem. The issue involves privilege escalation via sync api integration admin flag bypass. Remediation is available by upgrading affected packages to version 6.7.10.1, 6.6.10.18.

CVE-2026-48008 at a Glance

CVE Identifier CVE-2026-48008
GHSA Identifier GHSA-gv8p-48fr-4fxg
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-862: Missing Authorization
Affected Product Shopware
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 6.5

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

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

How to Fix CVE-2026-48008

To remediate this vulnerability, upgrade all affected Shopware 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/platform fixed: 6.7.10.1
Upgrade shopware/platform to 6.7.10.1
shopware/platform fixed: 6.6.10.18
Upgrade shopware/platform to 6.6.10.18
shopware/core fixed: 6.7.10.1
Upgrade shopware/core to 6.7.10.1
shopware/core fixed: 6.6.10.18
Upgrade shopware/core to 6.6.10.18
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/platform

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-48008, inspect your project dependencies for Shopware:

inspect dependencies for shopware/platform

Analyze the terminal output to locate any version of Shopware in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.7.10.1), 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-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Shopware, 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 A non-admin API user with `integration:create` ACL privilege can escalate to full administrator by creating an integration with `admin: true` through the Sync API (`POST /api/_action/sync`). The regular integration endpoint (`POST /api/integration`) correctly blocks this, but the Sync API bypasses the controller-level check by writing directly through the DAL EntityWriter. The `integration` entity definition lacks `WriteProtection`, and the `admin` field has no field-level restriction flag. **OWASP:** A01:2021 — Broken Access Control ## Root Cause `IntegrationController::upsertIntegration()` checks `$source->isAdmin()` before allowing the `admin` field to be set. However, `SyncController::sync()` routes writes through `SyncService → EntityWriter`, which only applies: 1. `AclWriteValidator` — checks entity-level ACL (`integration:create` is sufficient) 2. `EntityProtectionValidator` — checks `WriteProtection` on entity definitions, but `IntegrationDefinition` has none The `admin` field in `IntegrationDefinition` is a plain `BoolField` with no `WriteProtection` or special flag. The Sync API writes it without restriction. **Vulnerable code path:** - `src/Core/Framework/Api/Controller/SyncController.php` → `SyncService` → `EntityWriter::upsert()` - **Missing protection:** `src/Core/Framework/Integration/IntegrationDefinition.php` — `admin` field has no `WriteProtection(Context::SYSTEM_SCOPE)` **Working protection (bypassed):** - `src/Core/Framework/Integration/IntegrationController.php:46-56` — `isAdmin()` check only applies to the dedicated controller endpoint ## Impact - **Complete admin API access** — the escalated integration has full read/write on every entity: users, customers, orders, system configuration, integrations, plugins - **PII exfiltration** — read all customer records (names, emails, addresses, order history) - **Persistent backdoor** — the admin integration survives password changes and user deactivation ## Remediation Add `WriteProtection(Context::SYSTEM_SCOPE)` to `IntegrationDefinition`, matching how `UserDefinition` and `AclRoleDefinition` are already protected: ```php // src/Core/Framework/Integration/IntegrationDefinition.php (new BoolField('admin', 'admin')) ->addFlags(new WriteProtection(Context::SYSTEM_SCOPE)), ```

CVE-2026-48008 Affected Shopware Versions

4 component(s)
Fixed Versions:
6.7.10.16.6.10.18
Product / Package Ecosystem Affected Versions Fixed Version
shopware/platform
Packagist
≥ 6.7.0.0
< 6.7.10.1
6.7.10.1
shopware/platform
Packagist
< 6.6.10.18
6.6.10.18
shopware/core
Packagist
≥ 6.7.0.0
< 6.7.10.1
6.7.10.1
shopware/core
Packagist
< 6.6.10.18
6.6.10.18

References

Frequently Asked Questions

What is CVE-2026-48008?
CVE-2026-48008 is a security vulnerability in Shopware involving Privilege Escalation via Sync API Integration Admin Flag Bypass under CWE-862: Missing Authorization.
Which Shopware versions are affected?
Affected versions include releases prior to 6.7.10.1, 6.6.10.18 across affected packages: shopware/platform, shopware/core.
What version fixes CVE-2026-48008?
Upgrading to 6.7.10.1, 6.6.10.18 (or the latest patched release for your respective branch) resolves the vulnerability.
Is shopware/platform affected?
Yes, shopware/platform is affected in releases prior to 6.7.10.1, 6.6.10.18. Upgrade your dependency to 6.7.10.1, 6.6.10.18 or later.
Is shopware/core affected?
Yes, shopware/core is affected in releases prior to 6.7.10.1, 6.6.10.18. Upgrade your dependency to 6.7.10.1, 6.6.10.18 or later.
What is the CVSS score of CVE-2026-48008?
CVE-2026-48008 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2026-48008?
CVE-2026-48008 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Packagist dependencies for CVE-2026-48008?
Run the dependency tree command: 'inspect dependencies for shopware/platform'. 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-gv8p-48fr-4fxg",
  "modified" : "2026-06-04T19:23:33Z",
  "published" : "2026-06-04T19:23:33Z",
  "aliases" : [ "CVE-2026-48008" ],
  "summary" : "Shopware: Privilege Escalation via Sync API Integration Admin Flag Bypass",
  "details" : "## Summary\n\nA non-admin API user with `integration:create` ACL privilege can escalate to full administrator by creating an integration with `admin: true` through the Sync API (`POST /api/_action/sync`). The regular integration endpoint (`POST /api/integration`) correctly blocks this, but the Sync API bypasses the controller-level check by writing directly through the DAL EntityWriter. The `integration` entity definition lacks `WriteProtection`, and the `admin` field has no field-level restriction flag.\n\n**OWASP:** A01:2021 — Broken Access Control\n\n## Root Cause\n\n`IntegrationController::upsertIntegration()` checks `$source->isAdmin()` before allowing the `admin` field to be set. However, `SyncController::sync()` routes writes through `SyncService → EntityWriter`, which only applies:\n\n1. `AclWriteValidator` — checks entity-level ACL (`integration:create` is sufficient)\n2. `EntityProtectionValidator` — checks `WriteProtection` on entity definitions, but `IntegrationDefinition` has none\n\nThe `admin` field in `IntegrationDefinition` is a plain `BoolField` with no `WriteProtection` or special flag. The Sync API writes it without restriction.\n\n**Vulnerable code path:**\n- `src/Core/Framework/Api/Controller/SyncController.php` → `SyncService` → `EntityWriter::upsert()`\n- **Missing protection:** `src/Core/Framework/Integration/IntegrationDefinition.php` — `admin` field has no `WriteProtection(Context::SYSTEM_SCOPE)`\n\n**Working protection (bypassed):**\n- `src/Core/Framework/Integration/IntegrationController.php:46-56` — `isAdmin()` check only applies to the dedicated controller endpoint\n\n## Impact\n\n- **Complete admin API access** — the escalated integration has full read/write on every entity: users, customers, orders, system configuration, integrations, plugins\n- **PII exfiltration** — read all customer records (names, emails, addresses, order history)\n- **Persistent backdoor** — the admin integration survives password changes and user deactivation\n\n## Remediation\n\nAdd `WriteProtection(Context::SYSTEM_SCOPE)` to `IntegrationDefinition`, matching how `UserDefinition` and `AclRoleDefinition` are already protected:\n\n```php\n// src/Core/Framework/Integration/IntegrationDefinition.php\n(new BoolField('admin', 'admin'))\n    ->addFlags(new WriteProtection(Context::SYSTEM_SCOPE)),\n```",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "shopware/platform"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.7.0.0"
      }, {
        "fixed" : "6.7.10.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "shopware/platform"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.6.10.18"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "shopware/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.7.0.0"
      }, {
        "fixed" : "6.7.10.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "shopware/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.6.10.18"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/shopware/shopware/security/advisories/GHSA-gv8p-48fr-4fxg"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/shopware/shopware"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/shopware/shopware/releases/tag/v6.6.10.18"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/shopware/shopware/releases/tag/v6.7.10.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-04T19:23:33Z",
    "nvd_published_at" : null
  }
}