lightNVR before 0.44.3 contains an authorization bypass vulnerability in go2rtc_proxy_authorize_request() that allows authenticated users to access restricted cameras by exploiting inconsistent src parameter parsing. Attackers can percent-encode a second src parameter name or exceed the 255-byte truncation so go2rtc resolves a different camera, obtaining unauthorized snapshots and HLS live streams.
https://github.com/opensensor/lightNVR/security/advisories/GHSA-pvw7-7j8c-qx96
https://github.com/opensensor/lightNVR/releases/tag/0.44.3
https://github.com/opensensor/lightNVR/commit/507bce1c0715acad2012db7fdb5214738e68e43f
https://github.com/opensensor/lightNVR/blob/0.44.2/src/web/request_response.c#L131-L160
https://github.com/opensensor/lightNVR/blob/0.44.2/src/web/api_handlers_go2rtc_proxy.c#L298-L315