CVE-2025-65105Apptainer ineffective application of selinux and apparmor --security options
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.
What to do
Fixed builds are available from Alpine, Go: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | apptainer | Fix pending | UBUNTU-CVE-2025-65105 | |
| Ubuntu 26.04 | apptainer | Under investigation | UBUNTU-CVE-2025-65105 | |
| Ubuntu 25.10 | apptainer | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-65105 | |
| Alpine Linux 3.24 | apptainer | Fixed | 1.4.5-r0 | ALPINE-CVE-2025-65105 |
| Alpine Linux 3.23 | apptainer | Fixed | 1.4.5-r0 | ALPINE-CVE-2025-65105 |
| Go library | github.com/apptainer/apptainer | Fixed | 1.4.5 | GO-2025-4176 |
| Go library | github.com/opencontainers/runc | Fixed | 1.3.3 | GHSA-cgrx-mc8f-2prm |
| Go library | github.com/opencontainers/selinux | Fixed | 1.13.0 | GHSA-cgrx-mc8f-2prm |
| Go library | github.com/sylabs/singularity/v4 | Fixed | 4.1.11 | GHSA-wwrx-w7c9-rf87 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- apptainer: affected: < 1.4.5
References
- https://github.com/apptainer/apptainer/security/advisories/GHSA-j3rw-fx6g-q46j
- https://github.com/opencontainers/runc/security/advisories/GHSA-cgrx-mc8f-2prm
- https://github.com/sylabs/singularity/security/advisories/GHSA-wwrx-w7c9-rf87
- https://github.com/apptainer/apptainer/pull/3226
- https://github.com/apptainer/apptainer/commit/4313b42717e18a4add7dd7503528bc15af905981
- https://github.com/apptainer/apptainer/commit/82f17900a0c31bc769bf9b4612d271c7068d8bf2
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.