{"answers":{"affected":"3 open source packages ship an affected version, including github.com/apptainer/apptainer.","exploited":"There is no known exploitation of CVE-2026-48785 in the wild and no public exploit code.","fix":"Upgrade github.com/apptainer/apptainer to 1.5.1 or later.","what":"CVE-2026-48785 is a medium-severity path traversal vulnerability in apptainer, published on 15 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-48785 and fix it if it is affected.\n\nWhat it is: CVE-2026-48785 is a medium-severity path traversal vulnerability in apptainer, published on 15 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-48785 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/apptainer/apptainer (Go): affected all versions; fixed in 1.5.1\n- github.com/apptainer/apptainer (Go): affected all versions; fixed in 1.5.1\n- github.com/apptainer/apptainer (Go): affected all versions; fixed in 1.5.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-48785/ (Markdown: https://insights.sbomify.com/CVE-2026-48785/index.md)","id":"CVE-2026-48785","markdown":"https://insights.sbomify.com/CVE-2026-48785/index.md","name":"CVE-2026-48785","record":{"aliases":["GHSA-cr2j-534f-mf3g","GO-2026-5805","UBUNTU-CVE-2026-48785","openSUSE-SU-2026:10993-1","openSUSE-SU-2026:20942-1"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Apptainer container platform","requires_auth":"low_privilege","summary":"Local users can bypass container path restrictions in setuid mode due to flawed prefix matching, allowing execution of unauthorized containers.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["Go","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Apptainer: Incorrect path matching for 'limit container paths' directive","id":"CVE-2026-48785","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":5,"n_references":4,"next":{"headline":"Fleet: Observer-class users can view team enroll secrets and credential-bearing configuration via target search endpoint","id":"CVE-2026-48786"},"packages":[{"ecosystem":"Go","fixed":["1.5.1"],"introduced":["0"],"last_affected":[],"package":"github.com/apptainer/apptainer","purl":null,"source":"GHSA-cr2j-534f-mf3g"},{"ecosystem":"Go","fixed":["1.5.1"],"introduced":["0"],"last_affected":[],"package":"github.com/apptainer/apptainer","purl":"pkg:golang/github.com/apptainer/apptainer","source":"GHSA-cr2j-534f-mf3g"},{"ecosystem":"Go","fixed":["1.5.1"],"introduced":["0"],"last_affected":[],"package":"github.com/apptainer/apptainer","purl":"pkg:golang/github.com/apptainer/apptainer","source":"GO-2026-5805"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["1.5.1-bp160.1.1"],"introduced":["0"],"last_affected":[],"package":"apptainer","purl":"pkg:rpm/opensuse/apptainer\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:20942-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.5.1-1.1"],"introduced":["0"],"last_affected":[],"package":"apptainer","purl":"pkg:rpm/opensuse/apptainer\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10993-1"}],"prev":{"headline":"Symfony: UrlGenerator Dot-Segment Encoding Skips Every Other Chained `../` or `./` → Generated URL Collapses Off-Route Under RFC 3986 Normalization","id":"CVE-2026-48784"},"products":["apptainer"],"published":"2026-09-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-15","vendors":["apptainer"]},"summary":"Local users can bypass container path restrictions in setuid mode due to flawed prefix matching, allowing execution of unauthorized containers.","url":"https://insights.sbomify.com/CVE-2026-48785/"}