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
- Find the FrankenPHP version on every host and container. Use the version output of the binary or the image tag you deployed.
- 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- 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.
- Search your codebase for Brotli decompression calls:
grep -rn "brotli_uncompress" /path/to/app- 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
- 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).
- 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 .- Redeploy and confirm that running containers use the new image digest, not a cached one.
- Check the result: confirm the version, the image build date and the Alpine release again. Rescan the images.
- 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
- GHSA-x9p2-77v6-6vhf - Delayed propagation of security fixes in upstream base images
- VulnCheck - CVE-2026-128027
- GHSA-p746-jj3f-94p8 - Static binaries bundle a vulnerable Brotli version
- VulnCheck - CVE-2026-128014
- GHSA-qcrp-8483-f2f2 - Header name aliasing authentication bypass
- VulnCheck - CVE-2026-128023
