{"id":"GHSA-wqcr-7rf3-f64m","revision":"5a0194d5bd794833bb9071131f2488d0","records":[{"revision":"5a0194d5bd794833bb9071131f2488d0","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-wqcr-7rf3-f64m","aliases":["CVE-2026-47215","GO-2026-5715"],"title":"Singluarity: Incorrect path matching for 'limit container paths' directive","description":"### 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].","state":0,"publishedAt":"2026-06-04T17:38:21+00:00","modifiedAt":"2026-06-25T23:11:43.8166101+00:00","affected":[{"ecosystem":"Go","name":"github.com/sylabs/singularity/v4","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"4.4.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/sylabs/singularity","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"3.1.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/sylabs/singularity/security/advisories/GHSA-wqcr-7rf3-f64m","https://github.com/sylabs/singularity/commit/c08791793e843d4c9c1f2fc1d9d12abef747378f","https://docs.sylabs.io/guides/latest/admin-guide/configfiles.html#limiting-container-execution","https://github.com/sylabs/singularity","https://github.com/sylabs/singularity/releases/tag/v4.4.2"],"sourceUrl":"https://github.com/advisories/GHSA-wqcr-7rf3-f64m","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-wqcr-7rf3-f64m","identifiers":["GHSA-wqcr-7rf3-f64m","CVE-2026-47215","GO-2026-5715"]},"retained":false,"historicalAffected":[]}],"coverage":[]}