Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-105137 Overview
CVE-2026-105137 affects Laradock versions up to 20.4, a Docker-based PHP development environment. The vulnerability resides in an unknown function within the workspace/Dockerfile of the Build Process component. The flaw allows attackers to influence code downloads performed without integrity verification, mapped to [CWE-494] Download of Code Without Integrity Check. The attack can be launched remotely, but requires high attack complexity and user interaction, making exploitation difficult in practice. A public exploit has been published. The vendor was contacted prior to disclosure and did not respond.
Critical Impact
Attackers who successfully influence the build process can inject unverified code into Laradock container images, potentially leading to compromised development or production workloads.
Affected Products
- Laradock versions up to and including 20.4
- Component: workspace/Dockerfile Build Process
- Docker-based PHP development environments using affected Laradock versions
Discovery Timeline
- 2026-10-04 - CVE-2026-105137 published to NVD
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-105137
Vulnerability Analysis
The vulnerability stems from Laradock's build process retrieving external code or binaries over the network without verifying integrity. During docker build operations against workspace/Dockerfile, resources are fetched and incorporated into the resulting image. Without checksum validation or signature verification, any attacker able to intercept or substitute the response can deliver malicious payloads. The compromised image then propagates downstream to developer workstations and container runtimes. Successful exploitation yields limited confidentiality, integrity, and availability impact, consistent with the vulnerability's low severity classification.
Root Cause
The root cause is the omission of integrity checks on code downloaded during image construction. Dockerfile instructions that pull remote artifacts over HTTP, or without verifying published cryptographic hashes, satisfy the pattern described by [CWE-494]. If upstream delivery is tampered with through man-in-the-middle positioning or compromised infrastructure, the build consumes attacker-controlled content.
Attack Vector
Exploitation requires a network path to intercept the download and user interaction to trigger the build. An attacker must position themselves to serve substituted content, for example through DNS poisoning, upstream mirror compromise, or an on-path network attack. When a developer runs the Laradock build, the modified payload is embedded into the workspace container. The attack is remote but rated high complexity due to these preconditions.
No verified exploit code is published for inclusion here. A proof-of-concept referenced by the advisory is available at the GitHub RCE PoC Repository. Refer to the VulDB CVE-2026-105137 Description for additional technical context.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-105137
Indicators of Compromise
- Outbound HTTP (non-TLS) requests from build hosts to unexpected domains during docker build execution of Laradock workspace images.
- Container images whose layer digests do not match previously known-good builds of the same Laradock version.
- Unexpected binaries, scripts, or cron entries present in the workspace container after image build.
Detection Strategies
- Inspect workspace/Dockerfile for ADD, RUN wget, or RUN curl statements that fetch remote resources without accompanying checksum validation.
- Compare built image hashes against a baseline and alert on drift for the Laradock workspace image.
- Enable Docker BuildKit provenance attestations and review the SBOM for unknown or unsigned dependencies.
Monitoring Recommendations
- Monitor CI/CD runners and developer endpoints for anomalous network destinations contacted during container builds.
- Log and alert on container runtime processes spawned from the Laradock workspace image that deviate from the expected PHP toolchain.
- Track Laradock repository updates and apply integrity checks when new Dockerfile revisions are pulled.
How to Mitigate CVE-2026-105137
Immediate Actions Required
- Audit workspace/Dockerfile and any included scripts for downloads lacking checksum or signature verification.
- Rebuild and redistribute any Laradock workspace images produced from untrusted networks until the Dockerfile is hardened.
- Restrict container build operations to networks with egress filtering and TLS inspection where feasible.
Patch Information
No vendor patch is referenced in the available advisory data. The Laradock maintainers did not respond to the coordinated disclosure according to the VulDB Vulnerability #413353 entry. Until an upstream fix is published, maintain forked Dockerfiles with integrity controls applied locally.
Workarounds
- Replace plain HTTP downloads with HTTPS endpoints and pin to published SHA-256 checksums using RUN echo "<sha> <file>" | sha256sum -c - patterns.
- Use GPG signature verification for packages where upstream signing keys are available.
- Vendor critical build dependencies into a trusted internal artifact repository and reference them from the Dockerfile instead of upstream URLs.
# Configuration example: enforce checksum validation on downloaded artifacts
ARG TOOL_URL=https://example.com/tool.tar.gz
ARG TOOL_SHA256=<expected_sha256_here>
RUN curl -fsSL "$TOOL_URL" -o /tmp/tool.tar.gz \
&& echo "$TOOL_SHA256 /tmp/tool.tar.gz" | sha256sum -c - \
&& tar -xzf /tmp/tool.tar.gz -C /opt \
&& rm /tmp/tool.tar.gz
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

