
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-48785 is an incorrect path matching vulnerability in Apptainer's limit container paths directive that allows local users to bypass container execution restrictions under setuid mode. The flaw affects all Apptainer versions prior to 1.5.1 and was discovered by Dave Trudgian of Sylabs. It was published to the GitHub Advisory Database on June 26, 2026. The vulnerability carries a CVSS v3.1 base score of 4.8 (Moderate) (GitHub Advisory, Apptainer Advisory).
The root cause is improper path string matching (CWE-22 — Path Traversal) in the limit container paths directive within apptainer.conf. When a system administrator configures a restricted path such as /data/safe, Apptainer's matching logic incorrectly permits execution of containers from sibling directories with similar names (e.g., /data/safe-but-unsafe), because the path prefix check does not enforce a directory boundary separator. This flaw only manifests when Apptainer is running in setuid mode with the limit container paths directive actively configured; installations not using setuid mode or not using this directive are unaffected (GitHub Advisory, Apptainer Advisory).
Successful exploitation allows a local attacker with low privileges to run containers from directories that should be restricted by the administrator's limit container paths policy, effectively bypassing an intended security control. This can lead to low-impact confidentiality, integrity, and availability consequences within the scope of the affected system, as an attacker could execute unauthorized container workloads from unintended filesystem paths. The vulnerability does not enable remote exploitation or direct privilege escalation beyond the container execution boundary, but it undermines administrative access controls in shared HPC or multi-tenant environments where path restrictions are a key security measure (GitHub Advisory).
No public proof-of-concept exploit code or evidence of in-the-wild exploitation has been reported for CVE-2026-48785. The vulnerability requires local access, low privileges, and user interaction, limiting its exploitability. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is not publicly available at this time. Detection plugins have been published by Tenable Nessus (plugin IDs 320932, 320955, 322448) (GitHub Advisory).
/etc/apptainer/apptainer.conf for allow setuid = yes) with a limit container paths directive configured (e.g., limit container paths = /data/safe)./data/safe-but-unsafe)..sif file) into the sibling directory /data/safe-but-unsafe/malicious.sif.apptainer run /data/safe-but-unsafe/malicious.sif — due to the incorrect prefix matching, Apptainer's path check passes and the container executes despite being outside the intended allowed path..sif) in directories that are siblings of administrator-approved paths (e.g., /data/safe-but-unsafe/*.sif) where no legitimate container workloads are expected.limit container paths directive; review /var/log/apptainer/ or system audit logs for unexpected apptainer run or apptainer exec invocations.apptainer child processes with working directories outside configured allowed paths.The issue is patched in Apptainer version 1.5.1; administrators should upgrade immediately if using setuid mode with the limit container paths directive. As a workaround, installations that do not use setuid mode or do not configure limit container paths are not affected and require no action. Administrators who rely on limit container paths but cannot immediately upgrade should audit their directory structures to ensure no sibling directories with similar names exist alongside approved paths, and consider temporarily disabling setuid mode if operationally feasible. Note that if user namespaces are allowed for unrestricted use, the limit container paths directive does not prevent users from running arbitrary containers regardless of this fix (GitHub Advisory, Apptainer Advisory).
The vulnerability was responsibly disclosed to the Apptainer project by Dave Trudgian of Sylabs, and the advisory was published by the Apptainer maintainers on June 4, 2026. Downstream Linux distributions including Fedora, openSUSE, and SUSE have issued security updates addressing this CVE. No significant broader media coverage or notable social media discussion has been identified beyond standard security advisory channels.
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."