CVE-2025-53534RatPanel can perform remote command execution without authorization
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.
What to do
Fixed builds are available from Go: see the table below for the fixed version per release.
Go has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Go library | github.com/TheTNB/panel | Fix pending | GO-2025-3844 | |
| Go library | github.com/TheTNB/panel/v2 | Fix pending | GO-2025-3844 | |
| Go library | github.com/tnb-labs/panel | Fixed | 0.0.0-20250707071915-4985eb2e1f38 | GO-2025-3844 |
| Go library | github.com/tnborg/panel | Fixed | 0.0.0-20250707071915-4985eb2e1f38 | GHSA-fm3m-jrgm-5ppg |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- tnb-labs panel: affected: >= 2.3.19, < 2.5.6
References
- https://github.com/tnborg/panel/security/advisories/GHSA-fm3m-jrgm-5ppg
- https://github.com/tnborg/panel/commit/ed5c74c7534230ba685273504af4c1e1e3598ff1
- https://github.com/tnborg/panel/releases/tag/v2.5.6
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.