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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| tnb-labs | panel | >= 2.3.19, < 2.5.6 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | govulncheck-vulndb | 0.0.20250814T182633-150000.1.98.1 | SUSE-SU-2025:02912-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20250811T192933-1.1 | openSUSE-SU-2025:15434-1 |
| openSUSE Leap 15.6 | govulncheck-vulndb | 0.0.20250814T182633-150000.1.98.1 | SUSE-SU-2025:02912-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/TheTNB/panel | >= 0.0.0-20241111062800-91ecd04c2700 | — | GO-2025-3844 |
| Go | github.com/TheTNB/panel/v2 | all versions | — | GO-2025-3844 |
| Go | github.com/tnb-labs/panel | < 0.0.0-20250707071915-4985eb2e1f38 | 0.0.0-20250707071915-4985eb2e1f38 | GO-2025-3844 |
| Go | github.com/tnborg/panel | >= 2.3.19, < 2.5.6 | 2.5.6 | GHSA-fm3m-jrgm-5ppg |
| Go | github.com/tnborg/panel | >= 0.0.0-20241111062800-91ecd04c2700, < 0.0.0-20250707071915-4985eb2e1f38 | 0.0.0-20250707071915-4985eb2e1f38 | GHSA-fm3m-jrgm-5ppg |
Advisories 2
- openSUSE-SU-2025:15434-1 govulncheck-vulndb-0.0.20250811T192933-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:02912-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Mar 23, 2026