Repository navigation
v0.5.2
Summary
Security patch release 0.5.2 for the supported 0.5 stable line. All 0.5.1 users should upgrade.
- eMudhra CA incident: the
0.5.1image trusts theemSign ECC Root CA - G3root, whose intermediate CA keys were compromised (USN-8944-1, GHSA-6q48-6c7w-9gw2, GHSA-hq85-5cpj-mr62). An attacker on the network path could intercept the bot's TLS connections to Docker Hub and InfluxDB (system trust store) and to Telegram and GitHub (certifi).0.5.2removes that trust:ca-certificates20260816ubuntu0.26.04.1in the runtime image;certifi2026.10.19;- uv
0.13.4for the image build.
- Build-time trust check: image builds now fail if uv, the system trust store, certifi or any other CA bundle in the image still trusts the root, if
ca-certificatesis older than the fixed package, or if TLS verification is disabled. A cached layer with the old trust store is never reused. - Dependencies:
fastapi0.156.4,pydantic-settings2.16.1,cachetools7.2.4, and a refresheduv.lock. - Release: project version bumped to
0.5.2, andconfig_version: 0.5.2added.
No bot behaviour, settings, image user, groups or entrypoint changed.
Upgrade notes
- Docker: pull
orenlab/pytmbot:0.5.2, or0.5/stableonce the release workflow has finished, and recreate the container. - Config version: set
config_version: "0.5.2"to match the running app version.0.5.1configs still load, and auto-migration handles the mismatch on startup. - Local development: uv
0.13.4or later is required (required-versioninpyproject.toml). - End of life:
0.5.1is end-of-life as of this release.
Full Changelog: v0.5.1...v0.5.2