CVE-2026-136917: Part-DB before 2.20.6 Open Redirect via _redirect and redirect_back Parameters
Part-DB (Part-DB-server) before 2.20.6 contains an open redirect vulnerability in several controllers that pass user-supplied redirect or redirectback parameters to redirect() without validating local paths. Attackers can craft links to endpoints like /tools/batchedaedit using scheme-relative or protocol-relative values that bypass the nelmiosecurity guard, sending authenticated victims to attacker-controlled phishing sites.
Affected Software
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Users of Part-DB-server versions before 2.20.6 are exposed when an authenticated user can be persuaded to follow a crafted link to an affected endpoint. The impact is primarily phishing redirection to an attacker-controlled site.
What does an attacker need to exploit it?
The attacker does not need authentication, but needs user interaction: an authenticated victim must open a crafted URL containing a scheme-relative or protocol-relative _redirect or redirect_back value. Affected controllers then redirect the victim to the attacker-controlled destination.
Which parameters and endpoints should be reviewed for exposure?
Review controllers that pass _redirect or redirect_back parameters directly to redirect() without enforcing local paths. The reported affected endpoints include /tools/batch_eda_edit, and the issue affects several controllers.
How can this be remediated?
Upgrade Part-DB-server to version 2.20.6 or later. The fix should ensure redirect destinations are validated as local paths rather than accepting scheme-relative or protocol-relative values.