{"id":"CVE-2026-47215","aliases":["GO-2026-5715"],"url":"https://o3.security/vulnerability/CVE-2026-47215","summary":"Singluarity: Incorrect path matching for 'limit container paths' directive","details":"### Impact\n\nThe `limit container paths` directive in `singularity.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.\n\nFor example, the configuration:\n\n```\nlimit container paths = /data/safe\n```\n\nWill also allow containers in `/data/safe-but-unsafe` to be run.\n\n\n### Patches\n\nThis issue is patched in SingularityCE 4.4.2 and SingularityPRO 4.3.9 / 4.1.14\n\n### Workarounds\n\nIf you do not use the `limit container paths` functionality, then this issue does not affect your installation.\n\nIf you do use the `limit container paths` functionality then you must update. Please also review the documented limitations when user namespaces are enabled [1].","published":"2026-06-04T17:38:21Z","modified":"2026-06-25T23:11:43.816610101Z","cvss":{"score":4.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Go","name":"github.com/sylabs/singularity/v4","fixedVersion":"4.4.2"},{"ecosystem":"Go","name":"github.com/sylabs/singularity","fixedVersion":null}],"fix":{"url":"https://github.com/sylabs/singularity/commit/c08791793e843d4c9c1f2fc1d9d12abef747378f","label":"sylabs/singularity@c087917"},"references":[{"type":"WEB","url":"https://github.com/sylabs/singularity/security/advisories/GHSA-wqcr-7rf3-f64m"},{"type":"WEB","url":"https://github.com/sylabs/singularity/commit/c08791793e843d4c9c1f2fc1d9d12abef747378f"},{"type":"WEB","url":"https://docs.sylabs.io/guides/latest/admin-guide/configfiles.html#limiting-container-execution"},{"type":"PACKAGE","url":"https://github.com/sylabs/singularity"},{"type":"WEB","url":"https://github.com/sylabs/singularity/releases/tag/v4.4.2"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-06-25T23:11:43.816610101Z"}}