Repository navigation
v0.21.0
Security release.
Upgrading: after pulling, re-run setup.bat (Windows) or ./setup.sh (Linux/macOS). The new Gradio 6 and the raised dependency floors are installed only by setup.
Security
- Gradio 6.30. The old
<6cap is gone. - Dependency floors raised past known CVEs: gradio, starlette, transformers, accelerate, pillow, python-dotenv.
- Blocks DNS rebinding. Before this, a hostile web page could read your local files, including
.env, through the running UI. The UI now accepts only127.0.0.1andlocalhostas the host. .envcan never be served. Gradio 6 run history, which keeps a copy of every input and output, is off.- Images: only PNG, JPEG, WebP, BMP and TIFF are decoded. The risky decoders (EPS/Ghostscript, JPEG2000 and others) are disabled.
- Known open item: Pillow 12.3 still has CVEs that are fixed only in Pillow 13. Gradio 6.30 does not allow Pillow 13 yet, so most of the exposure is closed by the decoder limit above.
Fixes
- Quick build Finish and
cli buildnow use your saved Custom endpoint captioner. Before this, they failed with "no endpoint URL".cli buildchecks the captioner before it starts generating. - ③ Caption no longer fails with
'NoneType' object has no attribute 'strip'on Gradio 6. - Bold text such as "API" no longer draws in mixed fonts.
Full Changelog: v0.20.1...v0.21.0