Description
Cloud Metadata Disclosure occurs when a server retrieves and discloses sensitive information from cloud metadata services. This typically happens when user-controlled input is used to access internal metadata endpoints, potentially exposing credentials, tokens, or configuration details.
Recommendation
To prevent metadata exposure, block access to cloud metadata endpoints (such as 169.254.169.254) from untrusted inputs. Avoid using user-supplied data in server-side requests. Implement strict outbound request filtering, enforce authentication where possible, and use cloud provider protections such as IMDSv2 or equivalent.
References
Could your website be exposed too?
SmartScanner can check your website for Cloud Metadata Disclosure and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Path Disclosure in Robots.txt - Vulnerability
- Nginx Version Disclosure - Vulnerability
- PHP Version Disclosure - Vulnerability
- Server Version Disclosure - Vulnerability


