{"answers":{"affected":"7 open source packages ship an affected version, including github.com/portainer/portainer. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-44881 in the wild and no public exploit code.","fix":"Upgrade github.com/portainer/portainer to a fixed version for your release line: 2.33.8, 2.39.2 or 2.41.0.","what":"CVE-2026-44881 is a high-severity path traversal vulnerability in portainer, published on 28 May 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-44881 and fix it if it is affected.\n\nWhat it is: CVE-2026-44881 is a high-severity path traversal vulnerability in portainer, published on 28 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-44881 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/portainer/portainer (Go): affected all versions; no fix listed\n- github.com/portainer/portainer (Go): affected from 2.33.0; fixed in 2.33.8\n- github.com/portainer/portainer (Go): affected from 2.33.0; fixed in 2.33.8\n- github.com/portainer/portainer (Go): affected from 2.39.0; fixed in 2.39.2\n- github.com/portainer/portainer (Go): affected from 2.39.0; fixed in 2.39.2\n- github.com/portainer/portainer (Go): affected from 2.40.0; fixed in 2.41.0\n- github.com/portainer/portainer (Go): affected from 2.40.0; fixed in 2.41.0\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-44881/ (Markdown: https://insights.sbomify.com/CVE-2026-44881/index.md)","id":"CVE-2026-44881","markdown":"https://insights.sbomify.com/CVE-2026-44881/index.md","name":"CVE-2026-44881","record":{"aliases":["GHSA-rpgq-m5fp-32wr","GO-2026-5633"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Portainer container management","requires_auth":"low_privilege","summary":"Authenticated users can read arbitrary files on the host by creating a Git-backed stack with a symlinked entry point.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"portainer","vendor":"portainer"}],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Portainer Community Edition is a lightweight service delivery platform for containerized applications that can be used to manage Docker, Swarm, Kubernetes and ACI environments. From 2.33.0 to before 2.33.8, 2.39.2, and 2.41.0, Portainer supports deploying stacks from Git repositories. When a Git-backed stack is created or updated, Portainer clones the repository using go-git v5, which translates Git blob entries with mode 0o120000 (symlink) into real OS symlinks on the host filesystem via os.Symlink. The only entry blocked from becoming a symlink is .gitmodules; every other path is created as a symlink without validation. Portainer's GET /api/stacks/{id}/file endpoint then reads the stack entry point with os.ReadFile, which follows OS symlinks transparently. A repository containing docker-compose.yml as a symlink to an arbitrary filesystem path causes the symlink target's contents to be returned verbatim in the HTTP response. Any authenticated user with rights to create or update a Git-backed stack — the default configuration in Portainer CE — can read arbitrary files accessible to the Portainer process. This vulnerability is fixed in 2.33.8, 2.39.2, and 2.41.0.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":"2026-06-16","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-06-16T09:32:26Z","kind":"github_poc","ref":"https://github.com/0xdak/CVE-2026-44881_exploit","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Portainer: Arbitrary File Read via Git Symlink Injection in Stack Auto-Update","id":"CVE-2026-44881","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":7,"n_references":1,"next":{"headline":"Portainer: Kubernetes middleware continues after token validation failure, bypassing endpoint authorization","id":"CVE-2026-44882"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/portainer/portainer","purl":"pkg:golang/github.com/portainer/portainer","source":"GO-2026-5633"},{"ecosystem":"Go","fixed":["2.33.8"],"introduced":["2.33.0"],"last_affected":[],"package":"github.com/portainer/portainer","purl":null,"source":"GHSA-rpgq-m5fp-32wr"},{"ecosystem":"Go","fixed":["2.33.8"],"introduced":["2.33.0"],"last_affected":[],"package":"github.com/portainer/portainer","purl":"pkg:golang/github.com/portainer/portainer","source":"GHSA-rpgq-m5fp-32wr"},{"ecosystem":"Go","fixed":["2.39.2"],"introduced":["2.39.0"],"last_affected":[],"package":"github.com/portainer/portainer","purl":null,"source":"GHSA-rpgq-m5fp-32wr"},{"ecosystem":"Go","fixed":["2.39.2"],"introduced":["2.39.0"],"last_affected":[],"package":"github.com/portainer/portainer","purl":"pkg:golang/github.com/portainer/portainer","source":"GHSA-rpgq-m5fp-32wr"},{"ecosystem":"Go","fixed":["2.41.0"],"introduced":["2.40.0"],"last_affected":[],"package":"github.com/portainer/portainer","purl":null,"source":"GHSA-rpgq-m5fp-32wr"},{"ecosystem":"Go","fixed":["2.41.0"],"introduced":["2.40.0"],"last_affected":[],"package":"github.com/portainer/portainer","purl":"pkg:golang/github.com/portainer/portainer","source":"GHSA-rpgq-m5fp-32wr"}],"prev":{"headline":"Low-Privilege Authenticated Buffer Overflow Vulnerabilities lead to Remote Code Execution in AOS-CX","id":"CVE-2026-44880"},"products":["portainer"],"published":"2026-05-28","related":[{"cvss_score":9.9,"headline":"Missing authorization in n/a","id":"CVE-2019-16872","kev_date_added":null,"published":"2019-11-07"},{"cvss_score":9.8,"headline":"Missing authorization in n/a","id":"CVE-2022-24961","kev_date_added":null,"published":"2022-02-11"},{"cvss_score":9.8,"headline":"Missing authorization in n/a","id":"CVE-2020-24264","kev_date_added":null,"published":"2021-03-16"},{"cvss_score":9.8,"headline":"Information disclosure in n/a","id":"CVE-2018-19466","kev_date_added":null,"published":"2019-03-27"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2018-19367","kev_date_added":null,"published":"2018-11-20"},{"cvss_score":9.8,"headline":"Server-side request forgery in n/a","id":"CVE-2018-12678","kev_date_added":null,"published":"2018-06-22"},{"cvss_score":9.4,"headline":"Portainer: Missing authorization on Docker plugin endpoints allows host RCE","id":"CVE-2026-44848","kev_date_added":null,"published":"2026-05-28"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-29","vendors":["portainer"]},"summary":"Authenticated users can read arbitrary files on the host by creating a Git-backed stack with a symlinked entry point.","url":"https://insights.sbomify.com/CVE-2026-44881/"}