{"id":"CVE-2025-53534","published":"2025-08-05T20:58:56Z","modified":"2025-08-06T19:21:42Z","title":"RatPanel can perform remote command execution without authorization","vendor":"tnb-labs","product":"panel","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00743,"percentile":0.55627,"provenance":"source"},"cwes":[{"id":"CWE-305","name":"Authentication Bypass by Primary Weakness"}],"references":[{"url":"https://github.com/tnborg/panel/security/advisories/GHSA-fm3m-jrgm-5ppg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tnborg/panel/commit/ed5c74c7534230ba685273504af4c1e1e3598ff1","tags":["x_refsource_MISC"]},{"url":"https://github.com/tnborg/panel/releases/tag/v2.5.6","tags":["x_refsource_MISC"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":11.13},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"tnb-labs","affectedVersions":[{"vendor":"tnb-labs","product":"panel","versions":[">= 2.3.19, < 2.5.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-08-06T19:20:45.629155Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/tnborg/panel","vulnerableRanges":[">=2.3.19, <2.5.6",">=0.0.0-20241111062800-91ecd04c2700, <0.0.0-20250707071915-4985eb2e1f38"],"patched":["2.5.6","0.0.0-20250707071915-4985eb2e1f38"],"from":["GHSA-fm3m-jrgm-5ppg"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/TheTNB/panel","vulnerableRanges":[">=0.0.0-20241111062800-91ecd04c2700"],"patched":[],"from":["GO-2025-3844"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/TheTNB/panel/v2","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3844"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/tnb-labs/panel","vulnerableRanges":["<0.0.0-20250707071915-4985eb2e1f38"],"patched":["0.0.0-20250707071915-4985eb2e1f38"],"from":["GO-2025-3844"],"provenance":"source"}],"summary":{"text":"RatPanel, a server operation and maintenance management panel from tnb-labs, contains a flaw in its URL path handling: its CleanPath middleware, taken from the go-chi/chi package, does not process r.URL.Path, so request paths can be misinterpreted. An attacker with network access who obtains the panel's backend login path, through weak default paths or brute-force cracking, can run system commands or take over managed hosts without logging in, and no user interaction is needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:09Z"},"euvd":{"id":"EUVD-2025-23654","exploited":false,"provenance":"source"}}