{"id":"CVE-2026-48785","published":"2026-09-15T17:19:24Z","modified":"2026-09-15T17:38:10Z","title":"Apptainer: Incorrect path matching for 'limit container paths' directive","vendor":"apptainer","product":"apptainer","tier":"tail","description":{"text":"Apptainer is an open source container platform. Prior to version 1.5.1, Image.AuthorizedPath applies plain string-prefix matching to the limit container paths directive in apptainer.conf, so an allowed path such as /data/safe also authorizes a sibling path such as /data/safe-but-unsafe. A local user can consequently run a container from a directory outside the administrator's intended allowlist when Apptainer operates in setuid mode. Installations that do not use setuid mode or do not configure limit container paths are not affected, and unrestricted user namespaces already allow users to run containers of their choice. This issue is fixed in version 1.5.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0015,"percentile":0.02142,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/apptainer/apptainer/security/advisories/GHSA-cr2j-534f-mf3g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/apptainer/apptainer/pull/3549","tags":["x_refsource_MISC"]},{"url":"https://github.com/apptainer/apptainer/commit/0ff35257420e0c6cb97dac11d305749c893e5214","tags":["x_refsource_MISC"]},{"url":"https://github.com/apptainer/apptainer/releases/tag/v1.5.1","tags":["x_refsource_MISC"]}],"priority":{"score":3.8,"factors":[{"name":"EPSS percentile","points":0.43},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"apptainer","affectedVersions":[{"vendor":"apptainer","product":"apptainer","versions":["< 1.5.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-15T17:38:03.190026Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/apptainer/apptainer","vulnerableRanges":["<1.5.1"],"patched":["1.5.1"],"from":["GHSA-cr2j-534f-mf3g","GO-2026-5805"],"provenance":"source"}],"summary":{"text":"Apptainer's \"limit container paths\" directive in apptainer.conf uses plain string-prefix matching in Image.AuthorizedPath, so an allowed path such as /data/safe also authorizes sibling paths like /data/safe-but-unsafe when Apptainer runs in setuid mode. A local user with a low-privilege account can exploit this, with user interaction required, to run containers from directories outside the administrator's intended allowlist; installations without setuid mode or without limit container paths configured are not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:54Z"},"euvd":{"id":"EUVD-2026-78889","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-30549","published":"2023-04-25","fixed":"1.1.8","kev":false},{"cve":"CVE-2023-38496","published":"2023-07-25","fixed":"1.2.1","kev":false},{"cve":"CVE-2025-65105","published":"2025-12-02","fixed":"1.4.5","kev":false,"link":{"from":"CVE-2025-65105","to":"CVE-2026-48785","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/apptainer/apptainer","fromFixed":"1.4.5","toFixed":"1.5.1","daysApart":287}]}},{"cve":"CVE-2026-48785","published":"2026-09-15","fixed":"1.5.1","kev":false}],"package":"Go:github.com/apptainer/apptainer"}}