|
|
Message-ID: <da97b319-5fd8-492f-8de1-02789ff08fb2@octobus.net> Date: Thu, 3 Dec 2026 16:00:28 +0100 From: Raphaël Gomès <raphael.gomes@...obus.net> To: oss-security@...ts.openwall.com Cc: Pierre-Yves David <pierre-yves.david@...obus.net> Subject: Mercurial 7.2.6 critical security release Hello all, As announced earlier this week, this release fixes several high impact vulnerabilities that can be combined with each other. Together, they allow arbitrary code execution on clients and remote code execution on servers. Most issues need data crafted by an attacker: a repository, a bundle or a clone bundle. You are exposed if you clone, pull, unbundle or apply patches from a source you do not fully trust, or if you run commands like `hg archive`, `hg cat` or `hg diff` on revisions coming from such a source. Servers that untrusted people can push to are exposed too: some server-side validation could be bypassed, and seemingly harmless read-only operations could execute arbitrary code. Unpatched servers can also relay malicious data to their users. Vulnerabilities: HG-SA-2026-001, arbitrary code execution via hg archive and others (all versions): changesets containing .hg/ paths or writing through symlinks could be exported and exchanged, leading to configuration injection or writes outside of the working copy. HG-SA-2026-002, integrity check bypass through cache poisoning (7.1 to 7.2.5): a crafted bundle could make Mercurial use non-validated content in the same process, for example during hg clone or hg pull -u. HG-SA-2026-003, writing through a symlink during a parallel update (2.6 to 7.2.5): a race in the symlink auditing of parallel workers could be reliably exploited by a malicious changeset. HG-SA-2026-004, configuration injection through a malformed .hgsub (all versions, Windows included): line breaks in subrepository URLs could inject configuration into repositories created in the background, from operations as simple as hg log --patch, without checking anything out. No new upstream releases are planned for older series, but we are providing backported patches to distributions on request. Mercurial has extremely rarely broken backwards compatibility, so upgrading should be painless. More details here: https://mercurial-scm.org/news/2026/0009-release-7.2.6 Thanks, Raphaël
Powered by blists - more mailing lists
Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.