Time-of-check Time-of-use (TOCTOU) Race Condition in Contao - #VU165874
Published: November 11, 2026
Vulnerability details
The vulnerability allows a remote user to bypass private-network restrictions through server-side request forgery and disclose sensitive information.
The vulnerability exists due to a time-of-check time-of-use race condition in Contao's NoPrivateNetworkExceptRootPagesHttpClient when handling cached hosts without pinning the checked IP address. A remote user can manipulate hostname resolution between validation and connection to direct requests to private-network resources and potentially disclose sensitive information.