What’s Vulnerable › Vulnerabilities
CVE-2026-48785: Apptainer: Incorrect path matching for 'limit container paths' directive
- Severity: medium (CVSS 4.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-15 · updated 2026-09-25
- Weakness: CWE-22
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.
Affected products
- apptainer: before 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
Get alerted when CVE-2026-48785 or the next vulnerability affects your stack