FrankenPHP: Docker images serve phpinfo() as the default index.php, leaking environment variables
FrankenPHP is a modern application server for PHP. Prior to 1.12.5, the official FrankenPHP Debian and Alpine Docker images include a default /app/public/index.php that executes phpinfo(). A derived image that does not overwrite this placeholder serves the diagnostics page in production and can disclose environment variables used for secrets, PHP configuration directives, loaded extensions, software versions, and system paths. Images built using the documented pattern with their own /app/public/index.php are not affected, and already derived images must be rebuilt or supplied with an application index to remove the exposed placeholder. This issue is fixed in version 1.12.5.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-85733
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 13:21 UTC · Revision 1
Source evidence
FrankenPHP: Docker images serve phpinfo() as the default index.php, leaking environment variables
core-osv · Original sourcePublished 13 Oct 2026, 16:23 UTC
FrankenPHP is a modern application server for PHP. Prior to 1.12.5, the official FrankenPHP Debian and Alpine Docker images include a default /app/public/index.php that executes phpinfo(). A derived image that does not overwrite this placeholder serves the diagnostics page in production and can disclose environment variables used for secrets, PHP configuration directives, loaded extensions, software versions, and system paths. Images built using the documented pattern with their own /app/public/index.php are not affected, and already derived images must be rebuilt or supplied with an application index to remove the exposed placeholder. This issue is fixed in version 1.12.5.
osv:CVE-2026-85733
Complete source record
{
"id": "64387e1d6042eb3dcd4fe404de0caa6f6a1801a2bf0ef8f5eb5094dfcf0d5c56",
"url": "https://osv.dev/vulnerability/CVE-2026-85733",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "FrankenPHP: Docker images serve phpinfo() as the default index.php, leaking environment variables",
"summary": "FrankenPHP is a modern application server for PHP. Prior to 1.12.5, the official FrankenPHP Debian and Alpine Docker images include a default /app/public/index.php that executes phpinfo(). A derived image that does not overwrite this placeholder serves the diagnostics page in production and can disclose environment variables used for secrets, PHP configuration directives, loaded extensions, software versions, and system paths. Images built using the documented pattern with their own /app/public/index.php are not affected, and already derived images must be rebuilt or supplied with an application index to remove the exposed placeholder. This issue is fixed in version 1.12.5.",
"evidence": "osv:CVE-2026-85733",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-85733",
"aliases": [
"CVE-2026-85733",
"GHSA-cj57-c655-p798"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/php/frankenphp",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "e41b848eb9f7517088a77f2836cee68da1be234b"
},
{
"fixed": "17940ff2ee188a1e48aabd10c095df72b42539e0"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.12.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "17940ff2ee188a1e48aabd10c095df72b42539e0"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v1.12.4",
"caddy/v1.12.4",
"v1.12.3",
"caddy/v1.12.3",
"v1.12.2",
"caddy/v1.12.2",
"v1.12.1",
"caddy/v1.12.1",
"v1.12.0",
"caddy/v1.12.0",
"v1.11.3",
"caddy/v1.11.3",
"v1.11.2",
"caddy/v1.11.2",
"v1.11.1",
"caddy/v1.11.1",
"v1.11.0",
"caddy/v1.11.0",
"v1.10.1",
"caddy/v1.10.1",
"v1.10.0",
"caddy/v1.10.0",
"v1.9.1",
"caddy/v1.9.1",
"v1.9.0",
"caddy/v1.9.0",
"v1.8.0",
"caddy/v1.8.0",
"v1.7.0",
"caddy/v1.7.0",
"v1.6.2",
"caddy/v1.6.2",
"v1.6.1",
"caddy/v1.6.1",
"v1.6.0",
"caddy/v1.6.0",
"v1.5.0",
"caddy/v1.5.0",
"v1.4.4",
"caddy/v1.4.4",
"v1.4.3",
"caddy/v1.4.3",
"v1.4.2",
"caddy/v1.4.2",
"v1.4.1",
"caddy/v1.4.1",
"v1.4.0",
"caddy/v1.4.0",
"v1.3.6",
"caddy/v1.3.6",
"v1.3.5",
"caddy/v1.3.5",
"v1.3.4",
"caddy/v1.3.4",
"v1.3.3",
"caddy/v1.3.3",
"v1.3.2",
"caddy/v1.3.2",
"v1.3.1",
"caddy/v1.3.1",
"v1.3.0",
"caddy/v1.3.0",
"v1.2.5",
"caddy/v1.2.5",
"v1.2.4",
"caddy/v1.2.4",
"v1.2.3",
"caddy/v1.2.3",
"v1.2.2",
"caddy/v1.2.2",
"v1.2.1",
"caddy/v1.2.1",
"v1.2.0",
"caddy/v1.2.0",
"v1.1.5",
"caddy/v1.1.5",
"v1.1.4",
"caddy/v1.1.4",
"v1.1.3",
"caddy/v1.1.3",
"v1.1.2",
"caddy/v1.1.2",
"v1.1.1",
"caddy/v1.1.1",
"v1.1.0",
"caddy/v1.1.0",
"v1.0.3",
"caddy/v1.0.3",
"v1.0.2",
"caddy/v1.0.2",
"v1.0.1",
"caddy/v1.0.1",
"v1.0.0",
"caddy/v1.0.0",
"v1.0.0-rc.4",
"caddy/v1.0.0-rc.4",
"v1.0.0-rc.3",
"caddy/v1.0.0-rc.3",
"v1.0.0-rc.2",
"caddy/v1.0.0-rc.2",
"v1.0.0-beta.2",
"caddy/v1.0.0-beta.2",
"v1.0.0-beta.1",
"caddy/v1.0.0-beta.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85733.json"
}
}
],
"modified": "2026-10-28T02:30:50.702221687Z",
"provider": "osv",
"references": [
"https://github.com/php/frankenphp/releases/tag/caddy/v1.12.5",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85733.json",
"https://github.com/php/frankenphp/security/advisories/GHSA-cj57-c655-p798",
"https://nvd.nist.gov/vuln/detail/CVE-2026-85733",
"https://github.com/php/frankenphp/commit/17940ff2ee188a1e48aabd10c095df72b42539e0",
"https://github.com/php/frankenphp/pull/2524"
],
"provider_metadata": {
"cwe_ids": [
"CWE-200"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85733.json"
}
},
"related_cves": [
{
"value": "CVE-2026-85733",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 519432,
"published_at": "2026-10-13T16:23:07.177+00:00"
}