# CVE-2025-56752: Auth bypass in n/a

> Remote attackers can bypass authentication on Ruijie RG-ES switches via crafted HTTP requests to gain administrative control and alter settings.

- **Severity:** Critical 9.4 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 3 Sep 2025
- **Updated:** 3 Sep 2025
- **Also known as:** GHSA-5m6q-c52m-c8v4

## What is CVE-2025-56752?

CVE-2025-56752 is a critical authentication bypass vulnerability in n/a, published on 3 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

A vulnerability in the Ruijie RG-ES series switch firmware ESW_1.0(1)B1P39 enables remote attackers to fully bypass authentication mechanisms, providing them with unrestricted access to alter administrative settings and potentially seize control of affected devices via crafted HTTP POST request to /user.cgi.

Weakness: CWE-287 (Improper Authentication)

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

It affects 20 products.


Products: Ruijie Rg-Es205gc-P Firmware, Ruijie Rg-Es205gc Firmware, Ruijie Rg-Es206gc-P Firmware, Ruijie Rg-Es206gs-P Firmware, Ruijie Rg-Es206mg-P Firmware, Ruijie Rg-Es208gc Firmware, Ruijie Rg-Es209gc-P Firmware, Ruijie Rg-Es209mg-P Firmware, Ruijie Rg-Es210gc-Lp Firmware, Ruijie Rg-Es210gs-P Firmware, Ruijie Rg-Es216gc-V2 Firmware, Ruijie Rg-Es216gc Firmware, Ruijie Rg-Es218gc-P Firmware, Ruijie Rg-Es220gs-P Firmware, Ruijie Rg-Es224gc-V2 Firmware, Ruijie Rg-Es224gc Firmware, Ruijie Rg-Es226gc-P Firmware, Ruijie Rg-Es228gs-P Firmware, Ruijie Rg-Nis2100-4gt2sfp-Hp Firmware, Ruijie Rg-Nis2100-8gt2sfp-Hp Firmware.

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

No fix has been published for CVE-2025-56752 yet. Limit exposure of the affected software until one is available.

## Is CVE-2025-56752 being exploited?

There is no known exploitation of CVE-2025-56752 in the wild and no public exploit code.

## Fix prompt for AI coding agents

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

What it is: CVE-2025-56752 is a critical authentication bypass vulnerability in n/a, published on 3 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2025-56752 in the wild and no public exploit code.

Affected product: n/a. 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-56752/ (Markdown: https://insights.sbomify.com/CVE-2025-56752/index.md)
```

## Sources

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

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