CVE-2025-65105 Apptainer ineffective application of selinux and apparmor --security options

Medium 4.5 Published Updated

Attackers can bypass AppArmor and SELinux security restrictions in Apptainer containers, allowing unauthorized operations despite intended security profiles.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-65105?

CVE-2025-65105 is a medium-severity vulnerability in apptainer, published on 2 Dec 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-706, CWE-61

Which versions are affected by CVE-2025-65105?

3 open source packages ship an affected version, including github.com/apptainer/apptainer. It affects 1 product.

PackageAffectedFixed in
github.com/apptainer/apptainer GoAll versions1.4.5
github.com/apptainer/apptainer GoAll versions1.4.5
github.com/apptainer/apptainer GoAll versions1.4.5

Products include Lfprojects Apptainer.

How do I fix CVE-2025-65105?

Upgrade github.com/apptainer/apptainer to 1.4.5 or later.

Is CVE-2025-65105 being exploited?

There is no known exploitation of CVE-2025-65105 in the wild and no public exploit code.

Sources

Also known as GHSA-j3rw-fx6g-q46j, GO-2025-4176, UBUNTU-CVE-2025-65105.

Is CVE-2025-65105 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free