Skip to content

CLI server: Reject colon in Windows request paths - #26014

Open
imattas wants to merge 1 commit into
php:masterfrom
imattas:fix/cli-windows-ads-path
Open

imattas wants to merge 1 commit into
php:masterfrom
imattas:fix/cli-windows-ads-path

Conversation

@imattas

@imattas imattas commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Reject colon characters in the CLI server request target on Windows. NTFS interprets colon-suffixed paths as alternate data streams, which could make a PHP source file fall through to static-file serving.\n\nFinding: sapi.cli.windows-ads-source-disclosure\n\nValidation: static source and diff review; Windows runtime tests not run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant