Partial String Comparison in Apptainer - CVE-2026-48785
Published: November 18, 2026
Vulnerability details
The vulnerability allows a local user to bypass container execution path restrictions.
The vulnerability exists due to incomplete path comparison in Apptainer's limit container paths directive when validating container locations in setuid mode. A local user can run a container from a similarly named sibling directory, such as /data/safe-but-unsafe when /data/safe is allowed, to bypass the configured restriction.
Affected software
Fedora
apptainer
How to mitigate CVE-2026-48785
apptainer - addressed in versions 1.5.1-1.el8, 1.5.1-1.el9, 1.5.1-1.el10_2, 1.5.1-1.fc44