Distro advisory · AmazonLinux 2027
Important priority package update for mercurial
AmazonLinux 2027
What it fixes
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.
Manual fix · AmazonLinux 2027
sudo yum updateinfo info ALAS2027-2026-518sudo yum upgrade --advisory=ALAS2027-2026-518rpm -q mercurialSources