# CVE-2025-65105: GO-2025-4176 - Apptainer ineffectively applies selinux and apparmor --security options in github.com/apptainer/apptainer

Source: https://junglewise.ai/threats/cve-2025-65105-apptainer-ineffectively-applies-selinux-and-apparmor-security  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-12-02  
License: CC BY 4.0 with a link back

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.

Technologies: [github.com/apptainer/apptainer (Go)](https://junglewise.ai/threats/technologies/github-com-apptainer-apptainer). Vendors: [Go](https://junglewise.ai/threats/vendors/go), [Lfprojects](https://junglewise.ai/threats/vendors/lfprojects).

## Quick answers

**Is CVE-2025-65105 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-65105 being exploited in the wild.

**How severe is CVE-2025-65105?** Medium severity, with a CVSS score of 4.5, published 2 December 2025.

**Which products and versions are affected?** github.com/apptainer/apptainer (Go) SEMVER:introduced=0,fixed=1.4.5.

**Is there a fix for CVE-2025-65105?** 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

  ```sh
  go get github.com/apptainer/apptainer@v1.4.5
  ```


## Affected products

- github.com/apptainer/apptainer (Go) SEMVER:introduced=0,fixed=1.4.5
- Lfprojects Apptainer

## Identifiers

- CVE-2025-65105
- GHSA-j3rw-fx6g-q46j
- GO-2025-4176

## Related threats

- [Apptainer incorrect path matching in limit container paths directive](https://junglewise.ai/threats/cve-2026-48785-apptainer-incorrect-path-matching-in-limit-container-paths)
- [GO-2023-1965 - Ineffective privileges drop when requesting container network in github.com/apptainer/apptainer](https://junglewise.ai/threats/cve-2023-38496-ineffective-privileges-drop-when-requesting-container-network)
- [GO-2023-1738 - Unpatched extfs vulnerabilities are exploitable through suid-mode Apptainer in github.com/apptainer/apptainer](https://junglewise.ai/threats/cve-2023-30549-unpatched-extfs-vulnerabilities-are-exploitable-through-suid-mode)
