GLSA 202608-12: Portage: Multiple Vulnerabilities

Severity:high
Title:Portage: Multiple Vulnerabilities
Date:08/15/2026
Bugs: #978478, #979026
ID:202608-12

Synopsis

Multiple vulnerabilities have been found in Portage.

Background

Portage is the default Gentoo package management system.

Affected packages

Package Vulnerable Unaffected Architecture(s)
sys-apps/portage < 3.0.81.2 >= 3.0.81.2 All supported architectures

Description

Multiple vulnerabilities have been discovered in Portage. Please review the bugs referenced below for details. The first bug (bug 978478) allows a malicious ebuild (including a build system it uses indirectly) to write outside of the work directory. While malicious artifacts could be installed by a package itself, this is still unexpected if one only ran the configure phrase during development. The second bug (bug 979026) is regarding insufficient sandboxing in global scope. Untrusted ebuilds, even if not emerged, may have the opportunity to run code in global scope depending on whether the repository has metadata available. Additional sandboxing has been added.

Impact

Please review the referenced bugs for details.

Workaround

Avoid using untrusted repositories or ebuilds, even without installing them.

Resolution

All Portage users should upgrade to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose ">=sys-apps/portage-3.0.81.2"
        

In general, we recommend users add external repositories with caution. If using external repositories, it is good practice to mask all packages by default from that repository, and unmask only needed packages.

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202608-12.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!