Summary
Fix HG-SA-2026-004: Configuration injection, leading to arbitrary and remote code execution, through malformed subrepository URLs in .hgsub and through paths given to hg clone and hg share. Fix HG-SA-2026-003: Writing through a symlink during a parallel update, bypassing symlink auditing. Fix HG-SA-2026-002: Integrity check bypass through in-memory cache poisoning when unbundling. Fix HG-SA-2026-001: Arbitrary code execution and writes outside of the working copy through .hg paths and symlinks exported by hg archive, hg cat, hg export and others, and accepted on exchange.
Fixed packages 6
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | mercurial | 0:5.7.1-1.amzn2023.0.5 |
| Amazon Linux · 2023 | mercurial-chg | 0:5.7.1-1.amzn2023.0.5 |
| Amazon Linux · 2023 | mercurial-chg-debuginfo | 0:5.7.1-1.amzn2023.0.5 |
| Amazon Linux · 2023 | mercurial-debuginfo | 0:5.7.1-1.amzn2023.0.5 |
| Amazon Linux · 2023 | mercurial-debugsource | 0:5.7.1-1.amzn2023.0.5 |
| Amazon Linux · 2023 | mercurial-hgk | 0:5.7.1-1.amzn2023.0.5 |