Repository navigation
Security
Update now: the "Custom yt-dlp arguments" field could run commands on your server. The field handed whatever it received to yt-dlp's command line, and yt-dlp has options that run programs (--exec, --downloader), load code or configuration (--plugin-dirs, --config-location) and write anywhere (-o, --paths). HomeTube has no login of its own, so anyone who could open the page could run commands in the container, as the user the app runs as, with every volume you mounted. Every release since 0.3.0 (September 2025) is affected, and an instance reachable from outside your home network is the one most at risk.
The field now accepts a reviewed allowlist of network, throttling, format and metadata options, and refuses everything else. A refused argument is named in the download log, so a flag that stops working says so (#208, #210). If you relied on --exec or another refused option, YTDLP_UNSAFE_CUSTOM_ARGS=true restores the old behaviour. It is off by default, and with it on, anyone who can reach the page can run commands again.
Reported privately by @KoseceMehmet, and independently by @WillIWas123. Thank you both.
The README now also says it plainly: HomeTube has no authentication of its own. Keep it on a network you trust, or put it behind a reverse proxy that asks for a login (#212).
Fixed
- YouTube downloads failing with
a.addOnDisposeCallback is not a function(#211). yt-dlp 2026.10.26 could not solve YouTube's JavaScript challenge; this image ships yt-dlp 2026.11.23, which does. Pull the image rather than runningyt-dlp -Uinside the container: an in-place update is lost the next time the container is recreated. - The update panel offered an older version as an update (#188). It compared versions as text, so an instance running 2.13.3 next to a latest release of 2.13.2 was told an update was available.
- The Docker guides' commands failed as written. They named the image
ghcr.io/EgalitarianMonkey/hometube, which Docker refuses because a repository name must be lowercase (#213). They also offered two tags that were never published and a compose block that was not the sample file (#204), and a/bin/bashthe image does not have (#206). PORTdid nothing outside Docker, and the second local launcher launched nothing (#199).- The Streamlit config claimed CORS and XSRF protections that the published image turns off with command-line flags. The file now says which of its settings the image overrides (#203).
Under the hood
- The image builds again: a package conflict in the Alpine base had broken every build, the release and the daily yt-dlp refresh included (#207).
- Streamlit 1.66.1 → 1.67.0 (#198).
- Contributor setup and testing docs fixed (#190, #192, #197, #200), and the lockfile resynced (#191, #193).
Verified
The published image, pulled and run on a real homelab, driven through the page by a headless browser. The attack from the reports, --exec "touch /tmp/pwned-e2e" typed into the field, ran on the previous image ([Exec] Executing command: touch /tmp/pwned-e2e) and is refused on this one: named in the download log, no file created, while the --limit-rate 2M typed next to it is kept. "Me at the zoo" downloads with yt-dlp 2026.11.23: AV1 + Opus + subtitles + cover, the same 503,189 bytes as before.
What's Changed
🐛 Fixes
- fix(security): the custom yt-dlp arguments field was a pass-through to argv by @YannOrieult in #208
📚 Docs
- fix(setup): the documented Python floor and the conda environment contradicted pyproject by @YannOrieult in #197
- fix(launchers): PORT did nothing locally, and the second launcher launched nothing by @YannOrieult in #199
- docs(testing): the guides described a suite of 20 tests in 3 modules, and four of the files they name are in no clone by @YannOrieult in #200
- fix(docker): the docker guide described a container the project does not publish by @YannOrieult in #204
- fix(docker): the one command for getting a shell in the container names a shell the image does not have by @YannOrieult in #206
- test(usage): the allowlist's documentation promised an option the allowlist refuses by @YannOrieult in #210
🧹 Maintenance
- fix(deps): requirements-dev.txt shipped no test runner, and its generator dropped the 3.11 floor by @YannOrieult in #190
- chore(deps): bump the python-minor-patch group across 1 directory with 7 updates by @dependabot[bot] in #191
- chore(deps): resync uv.lock with requirements after #191, and take the releases since by @EgalitarianMonkey in #193
- chore(deps): bump streamlit from 1.66.1 to 1.67.0 in the python-minor-patch group across 1 directory by @dependabot[bot] in #198
Other changes
- fix(ui): the update panel compared versions by string equality by @YannOrieult in #188
- fix(tests): make test failed on a clean checkout for a tool no setup path installs by @YannOrieult in #192
- fix(config): the Streamlit config claimed two protections the published image overrides by @YannOrieult in #203
- fix(docker): the image stopped building, and it took every release path with it by @YannOrieult in #207
- docs(security): nothing in the README said HomeTube has no login of its own by @EgalitarianMonkey in #212
- fix(docs): the guides named the image in a case Docker refuses to pull by @EgalitarianMonkey in #213
- chore(release): 2.14.0 — the custom yt-dlp arguments field is an allowlist by @EgalitarianMonkey in #214
Full Changelog: v2.13.3...v2.14.0
HomeTube is built on Content, the engine behind it — or try it in your browser, no install.