Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-48785
Published:July 01, 2026
Updated:July 01, 2026
Impact The "limit container paths directive" in "apptainer.conf" is intended to allow a system administrator limit the paths from which containers can be run, under setuid mode. Due to incorrect matching of a path string, sibling directories with similar names may incorrectly be allowed. For example, the configuration: limit container paths = /data/safe Will also allow containers in /data/safe-but-unsafe to be run. Patches The issue is patched in apptainer version 1.5.1. Workarounds If developers do not use setuid mode or do not use the "limit container paths" functionality, then this issue does not affect their installation. Note that, as documented [1], if user namespaces are allowed for unrestricted use then this functionality does not stop users from running any container of their choice. If developers do use the "limit container paths" functionality they are advised to update. Credit This vulnerability was discovered and disclosed to the Apptainer project by Dave Trudgian of Sylabs. Resources [1] https://apptainer.org/docs/admin/latest/configfiles.html#limiting-container-execution
Affected Packages
github.com/apptainer/apptainer (GO):
Affected version(s) >=v0.0.0-20231129214015-f568ed5d6fba <v1.5.1
Fix Suggestion:
Update to version v1.5.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
2.4
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.8
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')