CVE-2026-54242: CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition in statamic cms
Statamic is a Laravel and Git powered content management system (CMS). Prior to 5.73.24 and 6.20.1, the Glide image proxy's URL validation in src/Imaging/RemoteUrlValidator.php and src/Imaging/GuzzleAdapter.php could be bypassed using DNS rebinding. The remote hostname was validated as publicly routable, but resolved again when the image was actually fetched, so an attacker controlling the hostname's DNS could rebind it to an internal address after validation and cause the server to make HTTP requests to internal addresses, including loopback, private network, and cloud metadata endpoints. This affects sites that pass user-supplied URLs to Glide. This issue is fixed in versions 5.73.24 and 6.20.1.
AI Analysis
Technical Summary
Statamic CMS uses Glide image proxy functionality that validates remote URLs to ensure they are publicly routable before fetching images. However, in versions before 5.73.24 and 6.20.1, the validation process is vulnerable to a TOCTOU race condition where the hostname is resolved twice: once during validation and again during the actual fetch. An attacker controlling the DNS for the hostname can rebind it to an internal IP address after validation, causing the server to request internal resources. This vulnerability affects sites that pass user-supplied URLs to Glide and can lead to unauthorized internal network access. The vulnerability is identified as CVE-2026-54242 and is associated with CWE-367 (TOCTOU) and CWE-918 (Server-Side Request Forgery).
Potential Impact
An attacker can exploit this vulnerability to bypass URL validation and cause the server to make HTTP requests to internal network addresses, including loopback, private network, and cloud metadata endpoints. This can lead to unauthorized access to internal services and sensitive information leakage. The CVSS score is 4.9 (medium severity), reflecting limited but notable confidentiality and integrity impacts without availability impact.
Mitigation Recommendations
This vulnerability is fixed in Statamic CMS versions 5.73.24 and 6.20.1. Users should upgrade to these versions or later to remediate the issue. No other mitigation or temporary workaround is indicated in the available data.
CVE-2026-54242: CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition in statamic cms
Description
Statamic is a Laravel and Git powered content management system (CMS). Prior to 5.73.24 and 6.20.1, the Glide image proxy's URL validation in src/Imaging/RemoteUrlValidator.php and src/Imaging/GuzzleAdapter.php could be bypassed using DNS rebinding. The remote hostname was validated as publicly routable, but resolved again when the image was actually fetched, so an attacker controlling the hostname's DNS could rebind it to an internal address after validation and cause the server to make HTTP requests to internal addresses, including loopback, private network, and cloud metadata endpoints. This affects sites that pass user-supplied URLs to Glide. This issue is fixed in versions 5.73.24 and 6.20.1.
CVSS v3.1
Score 4.9medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Statamic CMS uses Glide image proxy functionality that validates remote URLs to ensure they are publicly routable before fetching images. However, in versions before 5.73.24 and 6.20.1, the validation process is vulnerable to a TOCTOU race condition where the hostname is resolved twice: once during validation and again during the actual fetch. An attacker controlling the DNS for the hostname can rebind it to an internal IP address after validation, causing the server to request internal resources. This vulnerability affects sites that pass user-supplied URLs to Glide and can lead to unauthorized internal network access. The vulnerability is identified as CVE-2026-54242 and is associated with CWE-367 (TOCTOU) and CWE-918 (Server-Side Request Forgery).
Potential Impact
An attacker can exploit this vulnerability to bypass URL validation and cause the server to make HTTP requests to internal network addresses, including loopback, private network, and cloud metadata endpoints. This can lead to unauthorized access to internal services and sensitive information leakage. The CVSS score is 4.9 (medium severity), reflecting limited but notable confidentiality and integrity impacts without availability impact.
Mitigation Recommendations
This vulnerability is fixed in Statamic CMS versions 5.73.24 and 6.20.1. Users should upgrade to these versions or later to remediate the issue. No other mitigation or temporary workaround is indicated in the available data.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-12T16:25:43.084Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5b5ea72d1edb114c7fafc6
Added to database: 07/18/2026, 11:08:23 UTC
Last enriched: 07/25/2026, 22:49:00 UTC
Last updated: 09/01/2026, 10:52:09 UTC
Views: 82
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.