# CVE-2025-53534: RatPanel can perform remote command execution without authorization

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

- **Severity:** HIGH 7.7
- **CVSS:** 7.7 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.09% (percentile 65, 2026-11-26)
- **CWE:** CWE-305
- **Aliases:** GHSA-fm3m-jrgm-5ppg, GO-2025-3844
- **Published:** 2025-08-04T20:46:32.000Z
- **Modified:** 2026-06-17T09:38:24.123Z

## Who should check

- Projects that depend on Go package github.com/tnborg/panel (\>= 2.3.19, \< 2.5.6)
- Projects that depend on Go package github.com/TheTNB/panel (\>= 0.0.0-20241111062800-91ecd04c2700)
- Projects that depend on Go package github.com/TheTNB/panel/v2
- Projects that depend on Go package github.com/tnb-labs/panel (\< 0.0.0-20250707071915-4985eb2e1f38)
- Anyone running tnb-labs panel \>= 2.3.19, \< 2.5.6

## Description

RatPanel is a server operation and maintenance management panel. In versions 2.3.19 through 2.5.5, when an attacker obtains the backend login path of RatPanel (including but not limited to weak default paths, brute-force cracking, etc.), they can execute system commands or take over hosts managed by the panel without logging in. In addition to this remote code execution (RCE) vulnerability, the flawed code also leads to unauthorized access. RatPanel uses the CleanPath middleware provided by github.com/go-chi/chi package to clean URLs, but but the middleware does not process r.URL.Path, which can cause the paths to be misinterpreted. This is fixed in version 2.5.6.

## Affected and fixed versions

- Go `github.com/tnborg/panel`: affected \>= 2.3.19, \< 2.5.6; fixed 2.5.6, 0.0.0-20250707071915-4985eb2e1f38 (osv)
- Go `github.com/TheTNB/panel`: affected \>= 0.0.0-20241111062800-91ecd04c2700; fixed no fix listed yet (osv)
- Go `github.com/TheTNB/panel/v2`: affected see advisory; fixed no fix listed yet (osv)
- Go `github.com/tnb-labs/panel`: affected \< 0.0.0-20250707071915-4985eb2e1f38; fixed 0.0.0-20250707071915-4985eb2e1f38 (osv)
- tnb-labs panel: \>= 2.3.19, \< 2.5.6 (cvelist)

## Mitigation

- Upgrade github.com/tnborg/panel to one of 2.5.6, 0.0.0-20250707071915-4985eb2e1f38 (or later in the same release line).
- Upgrade github.com/tnb-labs/panel to 0.0.0-20250707071915-4985eb2e1f38 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-53534.md
Affected: github.com/tnborg/panel >= 2.3.19, < 2.5.6; github.com/TheTNB/panel >= 0.0.0-20241111062800-91ecd04c2700; github.com/TheTNB/panel/v2; github.com/tnb-labs/panel < 0.0.0-20250707071915-4985eb2e1f38
Fixed in: 2.5.6, 0.0.0-20250707071915-4985eb2e1f38

Steps:
1. Search this machine and project for github.com/tnborg/panel (Go), github.com/TheTNB/panel (Go), github.com/TheTNB/panel/v2 (Go), github.com/tnb-labs/panel (Go), tnb-labs panel: 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-2025-53534 being exploited?

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

### How serious is CVE-2025-53534?

High: CVSS 7.7 (v4.0, scored by CNA). Remote, login needed.

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

github.com/tnborg/panel \>= 2.3.19, \< 2.5.6; github.com/TheTNB/panel \>= 0.0.0-20241111062800-91ecd04c2700; github.com/TheTNB/panel/v2; github.com/tnb-labs/panel \< 0.0.0-20250707071915-4985eb2e1f38.

### Is there a fix for CVE-2025-53534?

Yes. Fixed in 2.5.6, 0.0.0-20250707071915-4985eb2e1f38. Upgrade github.com/tnborg/panel to one of 2.5.6, 0.0.0-20250707071915-4985eb2e1f38 (or later in the same release line). Upgrade github.com/tnb-labs/panel to 0.0.0-20250707071915-4985eb2e1f38 or later.

### How do I check if I'm affected by CVE-2025-53534?

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/tnborg/panel/security/advisories/GHSA-fm3m-jrgm-5ppg>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-53534>
- patch: <https://github.com/tnborg/panel/commit/ed5c74c7534230ba685273504af4c1e1e3598ff1>
- patch: <https://github.com/tnborg/panel/commit/4985eb2e1f388ecd6faf331941c13cb97368ec1d>
- patch: <https://github.com/tnborg/panel/commit/91ecd04c270061429f9df5ec19cd6b96a9f595f2>
- other: <https://github.com/tnborg/panel/releases/tag/v2.5.6>
- other: <https://github.com/tnborg/panel>

## 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-2025-53534>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-fm3m-jrgm-5ppg> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2025-3844> (license: <https://creativecommons.org/licenses/by/4.0/>)

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