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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.5
- **CVSS:** 4.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.39% (percentile 24, 2026-11-26)
- **CWE:** CWE-61, CWE-706
- **Aliases:** GHSA-j3rw-fx6g-q46j, GO-2025-4176
- **Published:** 2025-12-02T17:49:17.312Z
- **Modified:** 2026-10-18T18:10:00.100Z

## Who should check

- Projects that depend on Go package github.com/apptainer/apptainer (\< 1.4.5)
- Anyone running apptainer \< 1.4.5

## 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.

## Affected and fixed versions

- Go `github.com/apptainer/apptainer`: affected \< 1.4.5; fixed 1.4.5 (osv)
- apptainer: \< 1.4.5 (cvelist)

## Mitigation

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

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-65105. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-65105.md
Affected: github.com/apptainer/apptainer < 1.4.5
Fixed in: 1.4.5

Steps:
1. Search this machine and project for github.com/apptainer/apptainer (Go), apptainer: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-65105 being exploited?

There is no confirmed exploitation: CVE-2025-65105 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.39% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-65105?

Medium: CVSS 4.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2025-65105?

github.com/apptainer/apptainer \< 1.4.5.

### Is there a fix for CVE-2025-65105?

Yes. Fixed in 1.4.5. Upgrade github.com/apptainer/apptainer to 1.4.5 or later.

### How do I check if I'm affected by CVE-2025-65105?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/apptainer/apptainer/security/advisories/GHSA-j3rw-fx6g-q46j>
- vendor: <https://github.com/opencontainers/runc/security/advisories/GHSA-cgrx-mc8f-2prm>
- vendor: <https://github.com/sylabs/singularity/security/advisories/GHSA-wwrx-w7c9-rf87>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-65105>
- patch: <https://github.com/apptainer/apptainer/pull/3226>
- patch: <https://github.com/apptainer/apptainer/commit/4313b42717e18a4add7dd7503528bc15af905981>
- patch: <https://github.com/apptainer/apptainer/commit/82f17900a0c31bc769bf9b4612d271c7068d8bf2>
- other: <https://github.com/apptainer/apptainer>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-65105>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-j3rw-fx6g-q46j> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2025-4176> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-65105> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-65105>
