CVE-2026-48785 Apptainer: Incorrect path matching for 'limit container paths' directive
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
6 packages: 2 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/apptainer(Debian 14) | = 1.4.0-2; = 1.4.0-3; = 1.4.0-4; = 1.4.0-5 +9 more | No fix listed | No fix yet |
| ubuntu/apptainer(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/apptainer(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/apptainer(Alpine v3.24) | < 1.5.1-r0 | 1.5.1-r0 | Fixed |
| apptainer(Go) | < 1.5.1 | 1.5.1 | Fixed |
| apptainer | = < 1.5.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apptainer | = < 1.5.1 | No fix listed |
| apptainer(Go) | < 1.5.1 | 1.5.1 |
| debian/apptainer(Debian:14) | All versions | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.0-2 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.0-3 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.0-4 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.0-5 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.0-6 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.0-7 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.2-1 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.2-2 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.4-1 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.4-2 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.5-1 | No fix listed |
| debian/apptainer(Debian:14) | = 1.4.5-2 | No fix listed |
| alpine/apptainer(Alpine:v3.24) | < 1.5.1-r0 | 1.5.1-r0 |
| ubuntu/apptainer(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/apptainer(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/apptainer/apptainer/security/advisories/GHSA-cr2j-534f-mf3g vendor-advisory
- https://github.com/apptainer/apptainer/pull/3549
- https://github.com/apptainer/apptainer/commit/0ff35257420e0c6cb97dac11d305749c893e5214
- https://github.com/apptainer/apptainer/releases/tag/v1.5.1
- github.com product
- github.com
- security-tracker.debian.org vendor-advisory
- security.alpinelinux.org vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-78889 third-party-advisory