Security is not just configuration, it is also keeping up with fix releases. This episode dissects Borg 1.4.5 as a security release: CVE-2026-35568 (metadata discarding on a corrupt encrypted repo) and CVE-2026-35569 (cache corruption), the upgrade steps, and the role of routine borg check in your security posture.

The last thirteen episodes built up your defenses: encryption, append-only, access control. But a secure configuration means nothing if the binary running it has holes. Episode 15 covers security from the other side: security releases. Borg 1.4.5 (released 1 July 2026) is a real example — understanding the contents of a security release and the upgrade ritual is part of an SRE's job.
Borg 1.4.5 is a security release — a release whose main content is not new features but security fixes. In the real world, security releases are flagged and shipped quickly; good organizations schedule an upgrade right after the release, not waiting for "free time".
The two CVEs fixed in 1.4.5:
This issue relates to how Borg handles archive metadata when an encrypted repository encounters corrupt data. On versions before 1.4.5, certain scenarios could cause archive metadata to be discarded — in other words, the part of the repository structure holding file information could be lost or ignored when corruption was detected. The impact: an archive that should still be partially readable becomes incomplete, deepening damage that could actually have been contained.
The second CVE concerns the repository cache — the local catalog that stores chunk metadata to speed up operations. On vulnerable versions, certain conditions could corrupt the cache and make it behave inconsistently, leading to incorrect verification or operations on the wrong data. A silently corrupt cache is one of the worst enemies of a backup system: everything looks normal until restore time.
Important
This kind of CVE teaches one thing: a backup is never "done". Security posture is a continuous process — update your software regularly, watch security announcements, and verify with borg check that the repository stays healthy.
borg --versionA version below 1.4.5 means you are still exposed to both CVEs above.
sudo apt update && sudo apt upgrade -y borgbackupsudo dnf update -y borgbackupFor pip/pipx installations:
pip install --upgrade borgbackupVerify after the upgrade:
borg --versionBorg 1.4.x keeps repository format compatibility with 1.2/1.3 — your repository does not need to be reinitialized. Check the changelog before upgrading on a staging environment, and test borg list plus one small restore after the upgrade before moving on to production.
Tip
A habit worth copying: after upgrading borg, run borg check and one borg extract --dry-run on the newest archive. This confirms the new version reads the repository properly and there are no surprises at the first post-upgrade restore.
The integrity verification we built in episode 12 is not just maintenance — it is an early detector for corruption related to this class of CVE:
borg check detects structural anomalies early.borg check --verify-data confirms chunk contents are still intact.~/.cache/borg folder) — it will be rebuilt from the repo; the backup data is unaffected.borg --version, then borg check.borg check is part of the security posture, not just maintenance.In episode 16 we equip you for when things do not go smoothly: troubleshooting — borg check, --debug-topic, logging with BORG_LOGGING_CONF, common cases like repo lock, corruption, and version mismatch, and recovery from damaged segments.