medium CVSS 6.2

CVE-2025-36154·Docker vulnerability

IBM Concert 1.0.0 through 2.1.0 stores sensitive information in cleartext during recursive docker builds which could be obtained by a local user.

Severity
medium
Software
Docker
Fixed in
2.2.0
Published
2025-12-24

Affected versions

From: 1.0.0

Until: 2.2.0

Fixed in: 2.2.0

How to fix this CVE

Docker versions 1.0.0 through 2.1.0 fail to properly isolate sensitive data during recursive builds, allowing local users with system access to retrieve credentials and secrets stored in build contexts. Upgrade Docker to version 2.2.0 or later to prevent unauthorized exposure of sensitive information during the build process. After patching, audit your build pipelines to ensure no credentials were cached in intermediate layers.

sudo dnf update docker-ce

Defensia detects this vulnerability

How to check if you are affected

  1. Run `docker --version` to display the currently installed Docker version and confirm if it falls within 1.0.0–2.1.0
  2. Execute `docker info | grep -i version` to cross-verify the daemon version running on your system
  3. Check for multi-stage builds in your Dockerfile using `grep -n FROM Dockerfile` to identify recursive build patterns that may have exposed secrets
  4. Verify the patch was applied by confirming `docker --version` now reports 2.2.0 or later

FAQ

What is CVE-2025-36154?

This vulnerability exists in Docker's build process where sensitive information (API keys, passwords, tokens) is stored in plaintext within build artifacts, allowing local system users to extract credentials from the build environment.

Is CVE-2025-36154 being actively exploited?

No, this CVE is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are currently available, though the local access requirement means it poses risk in multi-tenant or compromised environments.

What versions of Docker are affected by CVE-2025-36154?

Docker versions 1.0.0 through 2.1.0 are vulnerable; version 2.2.0 and later contain the fix.

How do I check if my server is vulnerable to CVE-2025-36154?

Run `docker --version` and compare the output against the affected range (1.0.0–2.1.0); if your version is within this range, your system is vulnerable.

Does Defensia detect CVE-2025-36154?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Docker is installed on a monitored server, CVE-2025-36154 will appear in your dashboard with remediation steps.

Related Docker CVEs

CVE-2026-44181CVSS 10Jupyter Enterprise Gateway launches remote Jupyter Notebook kernels across distributed clusters like Apache Spark, Kubernetes, and Docker Swarm. In versions 2.0.0rc2 and above, prior to 3.3.0, the environment variables (KERNEL_XXX) used during the rendering of the Kubernetes manifest are vulnerable to Server Side Template Injection (SSTI). By including Jinja2 template expressions it is possible to execution Python code and OS Commands in the Enterprise Gateway service. The code can use or steal the Kubernetes service account token, which can steal Kubernetes secrets and be used to fully compromise the Kubernetes cluster by scheduling a privileged pod or a pod with a hostPath volume mount. This issue has been fixed in version 3.3.0.
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.
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-44182CVSS 10Jupyter Enterprise Gateway launches remote Jupyter Notebook kernels across distributed clusters like Apache Spark, Kubernetes, and Docker Swarm. In versions prior to 3.3.0, the server interpolates untrusted environment variables (e.g., KERNEL_XXX) into Kubernetes manifests without YAML-aware escaping, enabling YAML injection attacks. Attackers can inject new fields, overwrite critical fields (e.g., duplicate securityContext keys, where the last one prevails), and inject document boundaries (--- for new documents, ... for end-of-document) to generate multiple resources, potentially creating arbitrary types, such as privileged pods. The Jinja2 template for the Kubernetes manifest contains several kernel_xxx variables, such as kernel_working_dir that are used when rendering the manifest and are all vectors for YAML injection. This issue has been fixed in version 3.3.0.

References

Track CVEs across your fleet automatically

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

Get started free