The vulnerability analysis is based on the security advisory GHSA-x698-5hjm-w2m5. The advisory clearly identifies a localhost restriction bypass in the 'pyload-ng' package. The root cause is a flawed authorization check in the local_check decorator located in src/pyload/webui/app/blueprints/cnl_blueprint.py. The function incorrectly validates access by checking either the remote IP address (remote_addr) or the HTTP Host header (http_host). An unauthenticated, remote attacker can simply set the Host header in their request to 127.0.0.1:9666 to satisfy the condition and bypass the security check. The advisory provides a proof-of-concept demonstrating how this bypass allows an attacker to access the /flash/add route, which is handled by the add function and protected by the vulnerable local_check decorator. This allows the attacker to create arbitrary packages, an action that should be restricted. No patch was available at the time of the advisory, so the vulnerable code is present in version 0.5.0b3.dev77 and earlier.