# CVE-2025-30406: Gladinet CentreStack and Triofox Use of Hard-coded Cryptographic Key

> Attackers can achieve remote code execution via deserialization due to a hardcoded machineKey in Gladinet CentreStack.

- **Severity:** Critical 9.0 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`)
- **Exploited in the wild:** Yes, since 8 Apr 2025 (CISA KEV)
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 3 Apr 2025
- **Updated:** 21 Oct 2025
- **Also known as:** GHSA-hgp9-3v5v-223j

## What is CVE-2025-30406?

CVE-2025-30406 is a critical unsafe deserialization vulnerability in Gladinet CentreStack, published on 3 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Gladinet CentreStack through 16.1.10296.56315 (fixed in 16.4.10315.56368) has a deserialization vulnerability due to the CentreStack portal's hardcoded machineKey use, as exploited in the wild in March 2025. This enables threat actors (who know the machineKey) to serialize a payload for server-side deserialization to achieve remote code execution. NOTE: a CentreStack admin can manually delete the machineKey defined in portal\web.config.

Weakness: CWE-798 (Use of Hard-coded Credentials), CWE-321 (Use of Hard-coded Cryptographic Key)

## Which versions are affected by CVE-2025-30406?

It affects 1 product.


Products: Gladinet Centrestack.

## How do I fix CVE-2025-30406?

No fix has been published for CVE-2025-30406 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 29 Apr 2025.

## Is CVE-2025-30406 being exploited?

Yes. Attackers have exploited CVE-2025-30406 in the wild since at least 8 Apr 2025.

Public exploit code:

- CVE-2025-30406 ViewState Exploit PoC (github_poc): https://github.com/mchklt/CVE-2025-30406
- Exploit for CVE-2025-30406 (github_poc): https://github.com/W01fh4cker/CVE-2025-30406
- Gladinet CentreStack/Triofox ASP.NET ViewState Deserialization (metasploit)
- Gladinet CentreStack < 16.4.10315.56368 Use of Hard-coded Key Leads to Unauthenticated RCE (nuclei): http/cves/2025/CVE-2025-30406.yaml

## Other vulnerabilities in Gladinet CentreStack

- [CVE-2025-11371](https://insights.sbomify.com/CVE-2025-11371/): Gladinet CentreStack and Triofox Files or Directories Accessible to External Parties (high 7.5, exploited in the wild)
- [CVE-2025-14611](https://insights.sbomify.com/CVE-2025-14611/): Gladinet CentreStack and Triofox Hard Coded Cryptographic (high 7.1, exploited in the wild)
- [CVE-2023-26829](https://insights.sbomify.com/CVE-2023-26829/): Auth bypass in n/a (critical 9.8)
- [CVE-2023-26830](https://insights.sbomify.com/CVE-2023-26830/): File upload in n/a (high 7.2)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2025-30406 and fix it if it is affected.

What it is: CVE-2025-30406 is a critical unsafe deserialization vulnerability in Gladinet CentreStack, published on 3 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: Yes. Attackers have exploited CVE-2025-30406 in the wild since at least 8 Apr 2025.

Affected product: Gladinet CentreStack. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2025-30406/ (Markdown: https://insights.sbomify.com/CVE-2025-30406/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2025-30406
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-30406
- OSV: https://osv.dev/vulnerability/CVE-2025-30406

---
From sbomify Insights: https://insights.sbomify.com/CVE-2025-30406/
Summaries are generated and may contain mistakes; the official description above is the record.
