ALAS2027-2026-518


Amazon Linux 2027 Preview Security Advisory: ALAS2027-2026-518
Advisory Released Date: 2026-12-04
Advisory Updated Date: 2026-12-04
Severity: Important

Issue Overview:

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.


Affected Packages:

mercurial


Issue Correction:
Run dnf update mercurial --releasever 2027.0.20261204 or dnf update --advisory ALAS2027-2026-518 --releasever 2027.0.20261204 to update your system.
More information on how to update your system can be found on this page: Amazon Linux 2027 documentation

New Packages:
aarch64:
    mercurial-chg-debuginfo-7.2.6-1.amzn2027.0.1.aarch64
    mercurial-chg-7.2.6-1.amzn2027.0.1.aarch64
    mercurial-debuginfo-7.2.6-1.amzn2027.0.1.aarch64
    mercurial-hgk-7.2.6-1.amzn2027.0.1.aarch64
    mercurial-debugsource-7.2.6-1.amzn2027.0.1.aarch64
    mercurial-7.2.6-1.amzn2027.0.1.aarch64

src:
    mercurial-7.2.6-1.amzn2027.0.1.src

x86_64:
    mercurial-debugsource-7.2.6-1.amzn2027.0.1.x86_64
    mercurial-debuginfo-7.2.6-1.amzn2027.0.1.x86_64
    mercurial-hgk-7.2.6-1.amzn2027.0.1.x86_64
    mercurial-chg-debuginfo-7.2.6-1.amzn2027.0.1.x86_64
    mercurial-chg-7.2.6-1.amzn2027.0.1.x86_64
    mercurial-7.2.6-1.amzn2027.0.1.x86_64