# CVE-2026-48785: Apptainer: Incorrect path matching for 'limit container paths' directive

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-06-26T19:20:33.000Z
- Modified: 2026-09-25T14:10:13.927Z
- Also known as: GHSA-cr2j-534f-mf3g, GO-2026-5805
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- apptainer apptainer: < 1.5.1
- github.com/apptainer/apptainer (Go): before 1.5.1

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`

## References

- <https://github.com/apptainer/apptainer/security/advisories/GHSA-cr2j-534f-mf3g> (advisory, web)
- <https://github.com/apptainer/apptainer/pull/3549>
- <https://github.com/apptainer/apptainer/commit/0ff35257420e0c6cb97dac11d305749c893e5214>
- <https://github.com/apptainer/apptainer/releases/tag/v1.5.1>
- <https://github.com/apptainer/apptainer> (package)

## Sources

- CVE List: [CVE-2026-48785](https://www.cve.org/CVERecord?id=CVE-2026-48785), CVE Terms of Use, modified 2026-09-15
- GitHub Advisory Database: [GHSA-cr2j-534f-mf3g](https://github.com/advisories/GHSA-cr2j-534f-mf3g), CC-BY-4.0, modified 2026-07-07
- Go Vulnerability Database: [GO-2026-5805](https://pkg.go.dev/vuln/GO-2026-5805), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-48785](https://nvd.nist.gov/vuln/detail/CVE-2026-48785), Public domain, modified 2026-09-25

---

Page: https://cve.day/CVE-2026-48785 · Whole record: https://cve.day/CVE-2026-48785.json · Rebuilt by cve.day 2026-11-25T22:59:38.613Z
