Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-44881— Portainer: Arbitrary File Read via Git Symlink Injection in Stack Auto-Update

Quick assessment

Affected
portainer portainer
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Portainer是Portainer开源的一款用于管理Docker环境和Docker主机的轻量级用户管理界面。 Portainer Community Edition 2.33.0版本至2.33.8之前版本、2.39.2之前版本和2.41.0之前版本存在信息泄露漏洞,该漏洞源于Git仓库栈创建或更新时,go-git v5将模式为0o120000的Git blob条目转换为真实OS符号链接,且仅阻止.gitmodules条目,导致GET /api/stacks/{id}/file端点可读取任意文件系统路径

AI Predicted 8.6 Difficulty: Easy EPSS 0.58% · P46

Affected Version Matrix 3

VendorProduct Version RangeStatus
portainer portainer >= 2.33.0, < 2.33.8 affected
>= 2.39.0, < 2.39.2 affected
>= 2.40.0, < 2.41.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-44881

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Portainer: Arbitrary File Read via Git Symlink Injection in Stack Auto-Update
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
Source: CVE Program / CVE List V5
Vulnerability Title
Portainer 信息泄露漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Portainer是Portainer开源的一款用于管理Docker环境和Docker主机的轻量级用户管理界面。 Portainer Community Edition 2.33.0版本至2.33.8之前版本、2.39.2之前版本和2.41.0之前版本存在信息泄露漏洞,该漏洞源于Git仓库栈创建或更新时,go-git v5将模式为0o120000的Git blob条目转换为真实OS符号链接,且仅阻止.gitmodules条目,导致GET /api/stacks/{id}/file端点可读取任意文件系统路径
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
portainer portainer >= 2.33.0, < 2.33.8 -

II. Public POCs for CVE-2026-44881

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
default-local-qwen3.6 · 12477 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-44881

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-44881 (1)

Same Patch Batch · portainer · 2026-05-28 · 9 CVEs total

CVE-2026-44850 8.5 HIGH Portainer: Bind-mount restriction bypass via HostConfig.Mounts
CVE-2026-44882 8.1 HIGH Portainer: Kubernetes middleware continues after token validation failure, bypassing endpo
CVE-2026-44885 5.5 MEDIUM Portainer: Path traversal in backup archive extraction allows arbitrary file write
CVE-2026-33590 Insecure default permissions in Portainer CE
CVE-2026-44884 Portainer: Missing authorization on custom template file endpoint exposes template content
CVE-2026-44848 Portainer: Missing authorization on Docker plugin endpoints allows host RCE
CVE-2026-44883 Portainer: JWT accepted in URL query leaks tokens to logs and referers
CVE-2026-44849 Portainer: Endpoint security bypass via Swarm service create/update

IV. Related Vulnerabilities

V. Comments for CVE-2026-44881

No comments yet


Leave a comment