{"items":[{"id":"NVI-00018418","kind":"vulnerability","title":"Portainer Has an Arbitrary File Read via Git Symlink Injection in Stack Auto-Update","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-rpgq-m5fp-32wr","CVE-2026-44881"],"plain_summary":"GitHub lists this reviewed advisory for github.com/portainer/portainer, github.com/portainer/portainer, github.com/portainer/portainer. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-205d59ba69b2f2596fbfd04e7b75bf3a"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-06-09T10:25:23.000Z","value":"9.9 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-205d59ba69b2f2596fbfd04e7b75bf3a"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-205d59ba69b2f2596fbfd04e7b75bf3a","url":"https://github.com/advisories/GHSA-rpgq-m5fp-32wr","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-rpgq-m5fp-32wr","publisher":"GitHub Advisory Database","observed_at":"2026-11-06T20:58:31.464Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-205d59ba69b2f2596fbfd04e7b75bf3a"],"technology":"github.com/portainer/portainer","known_exclusions":[],"conditions_summary":"## Summary\nPortainer 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 — including `docker-compose.yml`, which Portainer treats as the stack entry point — is created as a symlink without validation.\n\nPortainer'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 (for example `/etc/passwd` or a mounted Kubernetes service account token) 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.\n\nThe issue is amplified by Git-stack auto-update: an attacker can create a stack from a legitimate repository, pass initi","public_affected_ranges":[">= 2.33.0, < 2.33.8"]},{"certainty":"source_listed","source_ids":["sr-205d59ba69b2f2596fbfd04e7b75bf3a"],"technology":"github.com/portainer/portainer","known_exclusions":[],"conditions_summary":"## Summary\nPortainer 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 — including `docker-compose.yml`, which Portainer treats as the stack entry point — is created as a symlink without validation.\n\nPortainer'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 (for example `/etc/passwd` or a mounted Kubernetes service account token) 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.\n\nThe issue is amplified by Git-stack auto-update: an attacker can create a stack from a legitimate repository, pass initi","public_affected_ranges":[">= 2.39.0, < 2.39.2"]},{"certainty":"source_listed","source_ids":["sr-205d59ba69b2f2596fbfd04e7b75bf3a"],"technology":"github.com/portainer/portainer","known_exclusions":[],"conditions_summary":"## Summary\nPortainer 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 — including `docker-compose.yml`, which Portainer treats as the stack entry point — is created as a symlink without validation.\n\nPortainer'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 (for example `/etc/passwd` or a mounted Kubernetes service account token) 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.\n\nThe issue is amplified by Git-stack auto-update: an attacker can create a stack from a legitimate repository, pass initi","public_affected_ranges":[">= 2.40.0, < 2.41.0"]}],"null_published_at":"2026-11-07T07:07:39.834Z","source_updated_at":"2026-06-09T10:25:23.000Z","source_disclosed_at":"2026-05-14T16:23:56.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-06T20:58:31.464Z"}],"next_cursor":null,"snapshot_revision":"42594"}