InfraRunBook
    Back to articles

    CVE-2026-128027: FrankenPHP stale base images, Brotli out-of-bounds write and header spoofing - affected versions and fix

    CVE Advisories
    Published: Nov 13, 2026
    Updated: Nov 13, 2026

    Three FrankenPHP CVEs were published together. They cover Docker images built on unpatched Alpine, PHP and Go base layers (CVSS 9.3), a Brotli out-of-bounds write in the static binaries (CVSS 9.2), and an authentication bypass that spoofs trusted headers using header names written with dots (CVSS 9.1). Upgrading to FrankenPHP 1.13.4 or later and re-pulling your images fixes all three.

    CVE-2026-128027: FrankenPHP stale base images, Brotli out-of-bounds write and header spoofing - affected versions and fix

    At a glance

    • CVE ID(s): CVE-2026-128027 (base image fixes not propagated), CVE-2026-128014 (out-of-bounds write in bundled Brotli decoder), CVE-2026-128023 (authentication bypass through header names written with dots).
    • Severity:
      • CVE-2026-128027: CVSS 4.0 9.3 Critical (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N); CVSS 3.1 9.8 Critical (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
      • CVE-2026-128014: CVSS 4.0 9.2 Critical (CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N); CVSS 3.1 8.1 High (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H). The vendor advisory rates it High 8.1.
      • CVE-2026-128023: CVSS 4.0 9.1 Critical (CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N); CVSS 3.1 7.4 High (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N).
    • Vendor / product: php / FrankenPHP. This covers the Docker images (dunglas/frankenphp), the standalone static binaries and the Go module github.com/dunglas/frankenphp.
    • Affected versions:
      • CVE-2026-128027: Docker images before 1.1.11.
      • CVE-2026-128014: standalone static binaries 1.8.0 before 1.13.2 (1.8.0 to 1.13.1).
      • CVE-2026-128023: all versions before 1.13.0.
    • Fixed / patched versions:
      • CVE-2026-128027: 1.1.11. The fix was a CI/CD change made on February 4, 2026. You must re-pull your tag to get the rebuilt image.
      • CVE-2026-128014: 1.13.2 for static binaries, which bundle Brotli 1.2.1. Docker images and Windows builds ship a patched Brotli starting with 1.13.4.
      • CVE-2026-128023: 1.13.0.
    • Exploited in the wild: No known exploitation. None of the three is listed in CISA KEV.
    • Attack vector: All three are network attacks. None needs authentication or user interaction. CVE-2026-128014 has high attack complexity and only applies if the application passes untrusted data to brotli_uncompress_add(). CVE-2026-128023 requires the application to trust certain headers in $_SERVER.
    • Published by: VulnCheck (CNA) on 2026-11-13. The vendor GitHub advisories came out earlier: February 5, 2026 (base images) and October 26, 2026 (Brotli).
    • Official advisory: GHSA-x9p2-77v6-6vhf, GHSA-p746-jj3f-94p8, GHSA-qcrp-8483-f2f2.

    What is this vulnerability?

    FrankenPHP is a PHP application server built on Caddy. Three separate problems were published as CVEs on the same day. Each one affects a different part of the product.

    CVE-2026-128027: stale base images

    FrankenPHP Docker images were rebuilt only when a new base image tag appeared. Alpine, the official PHP images and Go usually ship security fixes by overwriting an existing tag. Those overwrites did not start a FrankenPHP rebuild, so images kept the old, vulnerable system libraries. This happened even if you pulled the latest FrankenPHP tag.

    The vendor gives libcrypto3 as an example. It is affected by CVE-2025-15467 (remote code execution), which was fixed in Alpine 3.20.9, 3.21.6, 3.22.3 and 3.23.3. The vendor fix is a daily CI job. It compares base image digests with the upstream registries and rebuilds and re-pushes images when anything changes.

    The CVE record lists CWE-1395 (Dependency on Vulnerable Third-Party Component). The GitHub advisory lists CWE-787 and says "No known CVE". VulnCheck assigned the CVE later.

    CVE-2026-128014: Brotli out-of-bounds write in static binaries

    The standalone static binaries from 1.8.0 to 1.13.1 include the PHP brotli extension. It is statically linked with Brotli 1.2.0, whose decoder has an out-of-bounds write (CVE-2026-111497). An application that passes attacker-controlled data to brotli_uncompress_add() can be crashed by one unauthenticated request, and the crash takes down the whole FrankenPHP process. Memory disclosure or code execution may be possible, but the vendor did not demonstrate either against FrankenPHP.

    CVE-2026-128023: header spoofing through header names with dots

    PHP rewrites dots in header names to underscores when it fills $_SERVER. Before 1.13.0, an attacker could send a header name written with dots, such as X.Authenticated.User or X.Forwarded.For. PHP stores it under the same $_SERVER key as the trusted header. As a result, an attacker can spoof the user identity, client IP or scheme that the application thinks a trusted proxy set.

    How does it affect you?

    • Stale images (CVE-2026-128027): You may be running known-vulnerable system libraries even though your FrankenPHP version looks current. If a remote code execution flaw in a library like libcrypto3 can be reached, an attacker can run code in the container. Treat this as Critical.
    • Brotli (CVE-2026-128014): The realistic impact is denial of service. One request can kill the whole process, not just one worker. You are only exposed if your code calls brotli_uncompress_add() on untrusted input, for example incremental decompression of uploads, request bodies, queue messages or fetched content. Loading the extension alone is not exploitable. Caddy's br response encoding only uses the encoder and is not affected.
    • Header spoofing (CVE-2026-128023): If your app reads identity, client IP or scheme from headers set by an upstream proxy or SSO gateway, an attacker can impersonate users, get around IP-based allow lists or rate limits, and corrupt audit logs. Apps that do not trust these headers are not affected in practice.

    None of the three is known to be exploited. The stale-image issue points to vulnerabilities that are already public, which lowers the bar for attackers.

    Who is affected?

    • Docker users: Anyone running dunglas/frankenphp images (or images built FROM them) older than 1.1.11, or not re-pulled since February 4, 2026. Your own derived images stay stale until you rebuild them with a fresh base pull.
    • Static binary users: Anyone running FrankenPHP 1.8.0 to 1.13.1 standalone binaries whose app sends untrusted data to brotli_uncompress_add().
    • Docker and Windows users on Brotli: Docker images don't load the brotli extension by default. However, PHP's curl extension decodes Brotli responses (CURLOPT_ENCODING) with the system library. Docker images ship a patched Brotli starting with 1.13.4. Windows builds ship Brotli 1.2.1 starting with 1.13.4, including the brotlidec.dll that curl uses.
    • All deployments before 1.13.0: Affected by the header spoofing issue if the application trusts proxy- or gateway-supplied headers.

    How to check if you are vulnerable

    1. Find the FrankenPHP version on every host and container. Use the version output of the binary or the image tag you deployed.
    2. For Docker, check when the image was built and whether its digest matches the registry. A recent version tag is not enough. What matters is whether the base layers were rebuilt after February 4, 2026.
    docker images --digests dunglas/frankenphp
    docker image inspect --format '{{.Created}}' dunglas/frankenphp:latest
    docker exec <container> cat /etc/alpine-release
    1. On Alpine-based images, compare the release with the patched releases named by the vendor: 3.20.9, 3.21.6, 3.22.3 and 3.23.3. Run a container image scanner against running images to catch stale libraries such as libcrypto3.
    2. Search your codebase for Brotli decompression calls:
    grep -rn "brotli_uncompress" /path/to/app
    1. Review where your app reads identity, client IP or scheme from $_SERVER, for example authenticated-user headers set by an SSO proxy or HTTP_X_FORWARDED_FOR. If you are below 1.13.0 and rely on these, you are exposed.

    How to fix and recover

    1. Upgrade FrankenPHP to 1.13.4 or later. That release is above every fixed version listed here, and it ships a patched Brotli in Docker images and Windows builds. At minimum you need 1.13.0 (headers), 1.13.2 for static binaries (Brotli) and 1.1.11 for images (base layers).
    2. Re-pull and rebuild images. The vendor advises pulling the latest version of your specific tag. If you build your own image, use --pull so you get the patched base layers:
    docker pull dunglas/frankenphp:latest
    docker build --pull -t my-app .
    1. Redeploy and confirm that running containers use the new image digest, not a cached one.
    2. Check the result: confirm the version, the image build date and the Alpine release again. Rescan the images.
    3. If compromise is possible: You may have run stale images that exposed remote code execution flaws, or trusted spoofable headers. In that case, rotate the TLS private keys, API tokens, database credentials and session secrets that were available in the container. Review access and authentication logs, and redeploy from known-good configuration and images.

    Workarounds and mitigations

    • Stale images: Force fresh base layers with docker pull and docker build --pull. Add an image rebuild and scan to your own CI schedule so you don't depend only on upstream rebuilds.
    • Brotli: The vendor workaround is to not pass untrusted data to brotli_uncompress_add() or brotli_uncompress().
    • Header spoofing: There is no vendor workaround in the source material. As general hardening, configure your front proxy to drop client-supplied headers that use dots in place of trusted header names. Make the proxy the only source of identity and forwarding headers.

    What to monitor

    • Unexpected FrankenPHP process exits or segmentation faults (SIGSEGV), and restart loops in your orchestrator.
    • Requests whose header names contain dots and resemble authentication or forwarding headers.
    • Authentication events where the user identity or client IP doesn't match the session or network path.
    • Image digest drift between running containers and the registry, and new findings from scheduled image scans.
    • Unusual outbound connections or new processes inside FrankenPHP containers.

    References

    Frequently Asked Questions

    Is upgrading the FrankenPHP version enough to fix CVE-2026-128027?

    No. The fix was a CI change that rebuilds images when base layers change. You must re-pull your image tag, and rebuild derived images with docker build --pull, to get the patched Alpine, PHP and Go layers.

    Are any of these FrankenPHP CVEs exploited in the wild?

    No. None of CVE-2026-128027, CVE-2026-128014 or CVE-2026-128023 is listed in CISA KEV, and no exploitation is known.

    Am I affected by the Brotli issue if I only use Caddy's br compression?

    No. Caddy's br response encoding only uses the encoder, which is not affected. The risk comes from passing untrusted data to brotli_uncompress_add(). Loading the extension alone is not exploitable.

    Which version fixes all three issues?

    FrankenPHP 1.13.4 or later. It is above every fixed version (1.1.11, 1.13.0, 1.13.2), and it ships a patched Brotli in Docker images and Windows builds. Re-pull the images after upgrading.

    Who is at risk from the header spoofing bypass?

    Applications on versions before 1.13.0 that trust identity, client IP or scheme headers set by an upstream proxy or SSO gateway, read through $_SERVER.

    Related Articles

    CVE-2026-123903: VMware vCenter Server authentication bypass - affected versions and fix

    CVE-2026-123903 is a critical (CVSS 9.8) authentication bypass in the VMware Directory Service used by VMware vCenter Server. Broadcom lists fixed releases for vCenter 9.1, 9.0 and 8.0, VMware Cloud Foundation 5.x and the Telco Cloud products.

    CVE-2026-123910, CVE-2026-123911, CVE-2026-123912: VMware ESX critical I/O filter and XHCI flaws - affected versions and fix

    Broadcom disclosed three critical VMware ESX flaws: two in the I/O filter service (CVSS 9.8, network-reachable, no authentication) and one in the XHCI USB controller (CVSS 9.3). Fixed builds are available for ESX 9.1, 9.0 and 8.0, VCF 5.x and Telco Cloud Platform.

    CVE-2026-136412: OpenResty stream-lua-nginx-module use-after-free via receiveuntil() - affected versions and fix

    CVE-2026-136412 is a use-after-free in OpenResty stream-lua-nginx-module before 0.0.20rc4. A garbage-collected receiveuntil() iterator can leave a stale pointer that crashes or corrupts the nginx worker. Upgrade to 0.0.20rc4 or later.

    CVE-2026-123172: SolarWinds Serv-U privilege escalation to root on Linux - affected versions and fix

    CVE-2026-123172 is a privilege escalation flaw in SolarWinds Serv-U 2026.3 and earlier. It can lead to root on Linux installs, and the risk is lower on Windows. SolarWinds fixed it in Serv-U 2026.4.

    CVE-2026-82321 and 7 more: SolarWinds Serv-U privilege escalation flaws - affected 2026.3 and below, fixed in 2026.4

    SolarWinds disclosed eight privilege escalation flaws in Serv-U 2026.3 and earlier. Each lets a domain administrator or higher gain more access. SolarWinds fixed all eight in Serv-U 2026.4. No exploitation is known.

    CVE-2026-134624: N-able MailAssure (SpamExperts) SSRF in relay LDAP sync check - affected versions and fix

    CVE-2026-134624 is a server-side request forgery flaw in N-able MailAssure (SpamExperts) before 20261121.1943. An authenticated API user can make the server probe internal hosts and ports and send crafted data to internal services. It is listed in CISA KEV.