critical CVSS 9.9

CVE-2026-44881·Docker vulnerability

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.

Severity
critical
Software
Docker
Fixed in
2.39.2
Published
2026-05-28

Affected versions

From: 2.34.0

Until: 2.39.2

Fixed in: 2.39.2

How to fix this CVE

Docker users should upgrade to version 2.39.2 or later to patch a critical symlink traversal vulnerability in Portainer that allows authenticated users to read arbitrary files from the host system. This vulnerability affects Docker deployments that use Portainer Community Edition for managing Git-backed stacks. Immediate patching is strongly recommended due to the high severity (CVSS 9.9) and the ease with which authenticated attackers can exploit this flaw to access sensitive files.

sudo dnf update docker-ce

Defensia detects this vulnerability

What an exploitation attempt looks like

Sample log line indicative of exploitation attempts:

GET /api/stacks/[0-9]+/file HTTP/1.1.*with symlink targets pointing to /etc/passwd|/etc/shadow|/root/.ssh|/proc/self/environ|/var/log|sensitive paths

WAF mitigation (if patching is not yet possible)

Add this rule to your WAF to block exploitation attempts while you schedule the patch.

Implement WAF rules to block GET requests to /api/stacks/*/file endpoints that originate from non-administrative source IPs, enforce strict authentication token validation, and monitor for repeated requests to the same endpoint with different stack IDs as indicators of reconnaissance activity.

How to check if you are affected

  1. Check installed Docker version: docker --version and docker version
  2. Verify Portainer version if deployed: Check the Portainer web UI footer or run docker ps | grep portainer to identify the container version
  3. Search Portainer logs for suspicious GET /api/stacks/{id}/file requests: docker logs <portainer-container-id> | grep '/api/stacks' | grep 'GET'
  4. Confirm the patch by verifying Docker and Portainer versions match 2.39.2 or later: docker inspect <portainer-container-id> | grep 'Image' or check the release notes

Indicators of compromise

  • Symlink entries in Git repository docker-compose.yml files pointing to /etc/passwd, /etc/shadow, or other sensitive system paths
  • Suspicious GET requests to /api/stacks/{id}/file endpoint returning unexpected file content (non-YAML/JSON responses)
  • Git repositories cloned by Portainer containing 0o120000 mode entries in .git/objects

FAQ

What is CVE-2026-44881?

CVE-2026-44881 is a critical symlink traversal vulnerability in Portainer Community Edition that allows authenticated users to bypass file access restrictions by creating Git-backed stacks containing symlinks to arbitrary filesystem paths, enabling unauthorized file reads from the host system.

Is CVE-2026-44881 being actively exploited?

No, CVE-2026-44881 is not currently listed on the CISA KEV catalog as actively exploited, and no public exploits are known to be in circulation.

What versions of Docker are affected by CVE-2026-44881?

Portainer Community Edition versions 2.33.0 through 2.39.1 are vulnerable. Docker itself is not directly affected; the vulnerability exists in Portainer's stack deployment logic.

How do I check if my server is vulnerable to CVE-2026-44881?

Run 'docker ps | grep portainer' to identify Portainer containers, then inspect the image tag or check the Portainer UI dashboard footer to confirm the version. If it is below 2.39.2, 2.33.8, or 2.41.0, your system is vulnerable.

Does Defensia detect CVE-2026-44881?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Docker and Portainer are deployed on a monitored server, CVE-2026-44881 will appear in your dashboard with remediation steps.

Related Docker CVEs

CVE-2026-57572CVSS 10Crawl4AI is an open-source LLM-friendly web crawler and scraper. Prior to 0.9.0, the Docker API server accepted request-supplied browser_config.extra_args, which flowed into Chromium's launch arguments. An attacker could inject Chromium switches that replace a child-process launch command together with --no-zygote, causing Chromium to fork or exec an attacker-controlled command as the container's runtime user. The Docker API is unauthenticated by default, so a single request yields arbitrary command execution. This issue is fixed in version 0.9.0.
CVE-2026-26216CVSS 10Crawl4AI versions prior to 0.8.0 contain a remote code execution vulnerability in the Docker API deployment. The /crawl endpoint accepts a hooks parameter containing Python code that is executed using exec(). The __import__ builtin was included in the allowed builtins, allowing unauthenticated remote attackers to import arbitrary modules and execute system commands. Successful exploitation allows full server compromise, including arbitrary command execution, file read and write access, sensitive data exfiltration, and lateral movement within internal networks.
CVE-2026-44329CVSS 10free5GC is an open-source implementation of the 5G core network. Prior to 4.2.2, free5GC's SMF mounts the UPI management route group without OAuth2/bearer-token authorization middleware. A network attacker who can reach SMF on the SBI can hit UPI endpoints with no Authorization header at all, and the requests reach the SMF business handlers. In the running Docker lab this was directly demonstrated for read (GET /upi/v1/upNodesLinks), write (POST /upi/v1/upNodesLinks with attacker-controlled UP-node and link payload), and delete (DELETE /upi/v1/upNodesLinks/{nodeID}) operations. This vulnerability is fixed in 4.2.2.
CVE-2026-42298CVSS 10Postiz is an AI social media scheduling tool. Prior to commit da44801, a "Pwn Request" vulnerability in the Build and Publish PR Docker Image workflow (.github/workflows/pr-docker-build.yml) allows any unauthenticated user to execute arbitrary code during the Docker build process and exfiltrate a highly privileged GITHUB_TOKEN (write-all permissions). This can be achieved simply by opening a Pull Request from a fork with a maliciously modified Dockerfile.dev. This issue has been patched via commit da44801.
CVE-2026-40281CVSS 10Gotenberg is a Docker-powered stateless API for PDF files. In versions 8.30.1 and earlier, the metadata write endpoint validates metadata keys for control characters but leaves metadata values unsanitized. A newline character in a metadata value splits the ExifTool stdin line into two separate arguments, allowing injection of arbitrary ExifTool pseudo-tags such as -FileName, -Directory, -SymLink, and -HardLink. This is a bypass of the incomplete key-sanitization fix introduced in v8.30.1. An unauthenticated attacker can rename or move any PDF being processed to an arbitrary path in the container filesystem, overwrite arbitrary files, or create symlinks and hard links at arbitrary paths.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-44881. Free for 1 server.

Get started free