The debug_mode
function in web/web.py
in OnionShare through 1.3.1, when --debug
is enabled, uses the /tmp/onionshare_server.log
pathname for logging, which might allow local users to overwrite files or obtain sensitive information by using this pathname.