CVE-2026-48785
MEDIUM 4.8CVSS 3.1Apptainer has incorrect path matching for 'limit container paths' directive
Apptainer is an open source container platform. Prior to version 1.5.1, Image.AuthorizedPath applies plain string-prefix matching to the limit container paths directive in apptainer.conf, so an allowed path such as /data/safe also authorizes a sibling path such as /data/safe-but-unsafe. A local user can consequently run a container from a directory outside the administrator's intended allowlist when Apptainer operates in setuid mode. Installations that do not use setuid mode or do not configure limit container paths are not affected, and unrestricted user namespaces already allow users to run containers of their choice. This issue is fixed in version 1.5.1.
- Published
- 15 Sep 2026
- Last modified
- 25 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-22
- Also known as
- GHSA-cr2j-534f-mf3gGO-2026-5805
- Sources
- NVDJSONOSV GHSA-cr2j-534f-mf3gJSONOSV GO-2026-5805JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/apptainer/apptainer | < 1.5.1 | 1.5.1 |
References
- https://github.com/apptainer/apptainer/commit/0ff35257420e0c6cb97dac11d305749c893e5214
- https://github.com/apptainer/apptainer/pull/3549
- https://github.com/apptainer/apptainer/releases/tag/v1.5.1
- https://github.com/apptainer/apptainer/security/advisories/GHSA-cr2j-534f-mf3g · WEB, ADVISORY
- https://github.com/apptainer/apptainer · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 15 Sep 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 26 Jun 2026)