AI for Security Summit: Join Figma, Perplexity & Wiz. [Register]

CVE-2026-48785
Linux Debian vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Exploitation steps

  1. Identify target environment: Confirm the target system runs Apptainer in setuid mode (check /etc/apptainer/apptainer.conf for allow setuid = yes) with a limit container paths directive configured (e.g., limit container paths = /data/safe).
  2. Create a sibling directory: As a low-privileged local user, create or identify a directory whose name starts with the allowed path string but extends beyond it (e.g., /data/safe-but-unsafe).
  3. Place a malicious container image: Copy or build a container image (e.g., a .sif file) into the sibling directory /data/safe-but-unsafe/malicious.sif.
  4. Execute the container: Run 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.
  5. Achieve objective: The container runs with the permissions granted by the setuid Apptainer binary, allowing the attacker to execute workloads that should have been blocked by the administrator's path restriction policy (GitHub Advisory, Apptainer Advisory).

Indicators of compromise

  • File System: Presence of container image files (.sif) in directories that are siblings of administrator-approved paths (e.g., /data/safe-but-unsafe/*.sif) where no legitimate container workloads are expected.
  • Logs: Apptainer execution logs showing container runs from paths not explicitly listed in the limit container paths directive; review /var/log/apptainer/ or system audit logs for unexpected apptainer run or apptainer exec invocations.
  • Process: Unexpected container processes spawned by the setuid Apptainer binary from non-approved directory paths; monitor for apptainer child processes with working directories outside configured allowed paths.

Mitigation and workarounds

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).

Community reactions

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.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Affected

sid

apptainer

Affected

Alpine

Fixed

edge

apptainer: 1.5.1-r0

Fixed

SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-91990HIGH8.7
  • Linux Debian logoLinux Debian
  • python3-tornado
NoNoSep 15, 2026
CVE-2026-91992HIGH8.2
  • Linux Debian logoLinux Debian
  • python-tornado
NoNoSep 15, 2026
CVE-2026-91991MEDIUM6.3
  • Linux Debian logoLinux Debian
  • python-tornado
NoNoSep 15, 2026
CVE-2026-91986MEDIUM5.3
  • Linux Debian logoLinux Debian
  • rust-toolset:rhel8::rust-analyzer
NoNoSep 15, 2026
CVE-2026-48785MEDIUM4.8
  • Linux Debian logoLinux Debian
  • apptainer-sle15_7
NoYesSep 15, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management