{"cve":"CVE-2026-44881","nvd":{"published":"2026-05-28T22:16:59.247","modified":"2026-07-21T10:10:00.103","status":"Analyzed","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.","cvss_v4":{"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","score":8.5},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9},"cwes":["CWE-59","CWE-200"],"references":["https://github.com/portainer/portainer/security/advisories/GHSA-rpgq-m5fp-32wr"],"products":["portainer:portainer"],"source":"nvd","synced_at":"2026-10-19T22:36:28.938604137+00:00"},"epss":{"cve":"CVE-2026-44881","score":0.0051,"percentile":0.43551,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rpgq-m5fp-32wr","url":"https://osv.dev/vulnerability/GHSA-rpgq-m5fp-32wr","summary":"Portainer Has an Arbitrary File Read via Git Symlink Injection in Stack Auto-Update","modified":"2026-06-25T23:11:37.029317240Z","packages":[{"ecosystem":"Go","name":"github.com/portainer/portainer","purl":"pkg:golang/github.com/portainer/portainer","ranges":[">=2.33.0 <2.33.8"],"fixed":["2.33.8"]},{"ecosystem":"Go","name":"github.com/portainer/portainer","purl":"pkg:golang/github.com/portainer/portainer","ranges":[">=2.39.0 <2.39.2"],"fixed":["2.39.2"]},{"ecosystem":"Go","name":"github.com/portainer/portainer","purl":"pkg:golang/github.com/portainer/portainer","ranges":[">=2.40.0 <2.41.0"],"fixed":["2.41.0"]}]},{"id":"GO-2026-5633","url":"https://osv.dev/vulnerability/GO-2026-5633","summary":"Portainer Has an Arbitrary File Read via Git Symlink Injection in Stack Auto-Update in github.com/portainer/portainer","modified":"2026-06-25T23:01:25.582068588Z","packages":[{"ecosystem":"Go","name":"github.com/portainer/portainer","purl":"pkg:golang/github.com/portainer/portainer","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}