CVE-2025-65105: GO-2025-4176 - Apptainer ineffectively applies selinux and apparmor --security options in github.com/apptainer/apptainer
CVE-2025-65105 · Severity: medium · CVSS 4.5 · Published 2025-12-02
Apptainer is an open source container platform. In Apptainer versions less than 1.4.5, a container can disable two of the forms of the little used --security option, in particular the forms --security=apparmor:<profile> and --security=selinux:<label> which otherwise put restrictions on operations that containers can do. The --security option has always been mentioned in Apptainer documentation as being a feature for the root user, although these forms do also work for unprivileged users on systems where the corresponding feature is enabled. Apparmor is enabled by default on Debian-based distributions and SElinux is enabled by default on RHEL-based distributions, but on SUSE it depends on the distribution version. This vulnerability is fixed in 1.4.5.
Yes. github.com/apptainer/apptainer (Go): upgrade to 1.4.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-65105?
Check whether you run github.com/apptainer/apptainer (Go) or Lfprojects Apptainer at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
github.com/apptainer/apptainer (Go): upgrade to 1.4.5 or later