Partial String Comparison in Apptainer - CVE-2026-48785

 

Partial String Comparison in Apptainer - CVE-2026-48785

Published: November 18, 2026


Vulnerability identifier: #VU167158
CSH Severity: Low
CVSS v4: 2.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-48785
CWE-ID: CWE-187
Exploitation vector: Local access
Exploit availability: No public exploit available

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

Apptainer
Fedora
apptainer

How to mitigate CVE-2026-48785

Install security update from vendor's website.

Apptainer - update to 1.5.1
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

External References

Related Security Bulletins