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

Goal: 1000 CNY · Raised: 1310 CNY

100%

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

AI Predicted 8.6 Difficulty: Easy EPSS 0.06% · P18

Affected Version Matrix 3

VendorProductVersion RangeStatus
portainerportainer>= 2.33.0, < 2.33.8affected
>= 2.39.0, < 2.39.2affected
>= 2.40.0, < 2.41.0affected
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
portainerportainer >= 2.33.0, < 2.33.8 -

II. Public POCs for CVE-2026-44881

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

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-448508.5 HIGHPortainer: Bind-mount restriction bypass via HostConfig.Mounts
CVE-2026-448828.1 HIGHPortainer: Kubernetes middleware continues after token validation failure, bypassing endpo
CVE-2026-448855.5 MEDIUMPortainer: Path traversal in backup archive extraction allows arbitrary file write
CVE-2026-33590Insecure default permissions in Portainer CE
CVE-2026-44884Portainer: Missing authorization on custom template file endpoint exposes template content
CVE-2026-44848Portainer: Missing authorization on Docker plugin endpoints allows host RCE
CVE-2026-44883Portainer: JWT accepted in URL query leaks tokens to logs and referers
CVE-2026-44849Portainer: Endpoint security bypass via Swarm service create/update

IV. Related Vulnerabilities

V. Comments for CVE-2026-44881

No comments yet


Leave a comment