Remote code execution in Squidex
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
Squidex is an open source headless CMS and content management hub. Affected versions are subject to an arbitrary file write vulnerability in the backup restore feature which allows an authenticated attacker to gain remote code execution (RCE). Squidex allows users with the `squidex.admin.restore` permission to create and restore backups. Part of these backups are the assets uploaded to an App. For each asset, the backup zip archive contains a `.asset` file with the actual content of the asset as well as a related `AssetCreatedEventV2` event, which is stored in a JSON file. Amongst other things, the JSON file contains the event type (`AssetCreatedEventV2`), the ID of the asset (`46c05041-9588-4179-b5eb-ddfcd9463e1e`), its filename (`test.txt`), and its file version (`0`). When a backup with this event is restored, the `BackupAssets.ReadAssetAsync` method is responsible for re-creating the asset. For this purpose, it determines the name of the `.asset` file in the zip archive, reads its content, and stores the content in the filestore. When the asset is stored in the filestore via the UploadAsync method, the assetId and fileVersion are passed as arguments. These are further passed to the method GetFileName, which determines the filename where the asset should be stored. The assetId is inserted into the filename without any sanitization and an attacker with squidex.admin.restore privileges to run arbitrary operating system commands on the underlying server (RCE).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA squidex (Squidex) Fixed in 7.9.0
Timeline
- 2026-10-02 Threatist record created from CVE-2023-46253
References
More Squidex vulnerabilities
- TI-2026-19941 Squidex has Server-Side Request Forgery (SSRF) Issue in Webhook Configuration CVSS 3.1CRITICAL 9.1
- TI-2023-00608 Cross-Site Request Forgery (CSRF) in squidex/squidex CVSS 3.1MEDIUM 6.5
- TI-2023-00609 Improper Handling of Additional Special Element in squidex/squidex CVSS 3.1MEDIUM 6.1
- TI-2023-25227 Stored Cross-site Scripting in Squidex CVSS 3.1MEDIUM 5.4
- TI-2023-03342 Improper Handling of Additional Special Element in squidex/squidex CVSS 3.1MEDIUM 4.3
- TI-2023-09957 Squidex before 7.4.0 was discovered to contain a squid.svg cross-site scripting (XSS) vulnerability. CVSS 3.1MEDIUM 6.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences