# CVE-2023-46253: Remote code execution in Squidex

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.61% (percentile 76, 2026-11-26)
- **CWE:** CWE-22
- **Published:** 2023-11-07T18:56:21.631Z
- **Modified:** 2026-06-17T06:30:31.603Z

## Who should check

- Anyone running squidex \< 7.9.0

## Description

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).

## Affected and fixed versions

- squidex: \< 7.9.0 (cvelist)

## Mitigation

- Upgrade squidex to 7.9.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-46253. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-46253.md
Affected: squidex < 7.9.0
Fixed in: squidex 7.9.0

Steps:
1. Search this machine and project for squidex: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-46253 being exploited?

There is no confirmed exploitation: CVE-2023-46253 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.61% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-46253?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2023-46253?

squidex \< 7.9.0.

### Is there a fix for CVE-2023-46253?

Yes. Fixed in squidex 7.9.0. Upgrade squidex to 7.9.0 or later.

### How do I check if I'm affected by CVE-2023-46253?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/Squidex/squidex/security/advisories/GHSA-phqq-8g7v-3pg5>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-46253>

HTML: <https://flawdb.com/CVE-2023-46253> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-46253>
