Skip to content

CVE-2026-48785 Apptainer: Incorrect path matching for 'limit container paths' directive

MediumCVSS 4.8 EPSS 0.15%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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