The cloud misconfigurations that cause real breaches
Most cloud incidents aren't exotic exploits — they're misconfigurations. The usual suspects, why they keep happening, and the disciplines that prevent them.
By Ravi Menon · 10 Oct 2026 · 14 min read
Read the post-mortem of almost any major cloud breach and you'll find the same shape: not a novel zero-day, but an open storage bucket, an over-permissioned role, or a secret committed to a repo. Cloud platforms are secure by default in most respects — the breaches come from how organisations configure them under pressure to ship. The good news is that this makes cloud security tractable: a handful of disciplines prevent the overwhelming majority of real incidents.
Why misconfiguration is the dominant cloud risk
Cloud moves fast and everything is an API call away. A single engineer can, in seconds, make a bucket public, attach an admin policy, or spin up a database with no firewall. There's no physical friction and often no review. Multiply that across hundreds of engineers and thousands of resources and drift is constant — things quietly become insecure over time. Effective cloud security is less about exotic defences and more about preventing, detecting and reverting that drift.
Identity is the new perimeter
In the cloud, the network boundary is porous; identity (IAM) is what actually controls access, so it's where attackers focus and where you should too.
- Least privilege on every role. Avoid wildcard permissions (
*) and standing administrative access. Scope roles to exactly what a workload needs. Over-permissioned roles turn a minor compromise into a total one. - Short-lived, federated credentials over long-lived access keys. Long-lived keys leak — in repos, in logs, in laptops — and stay valid for years. Federated, temporary credentials expire on their own.
- Find the escalation paths. Like Active Directory, cloud IAM is a graph: a role that can modify policies or assume another role can escalate to admin. Map these paths and remove the ones you can't justify. Alert on unused permissions and privilege-granting actions.
Lock down storage
Public object storage is the classic headline breach. Default to private, enforce it at the organisation level with a policy that prevents public buckets from being created, and continuously scan for drift. The goal is that making a bucket public should require a deliberate, reviewed exception — not a default a tired engineer can toggle by accident.
Protect secrets
- Use a managed secrets store (the platform's secrets manager or a dedicated vault) — never environment files baked into images, never credentials in code.
- Never commit secrets to source. Scan repositories and CI/CD logs for leaks, and rotate anything that's ever been exposed (assume a committed secret is compromised, even after you delete the commit).
- Rotate regularly and prefer identities over static secrets wherever the platform supports it.
Segment the network and protect the metadata endpoint
Even with identity as the primary control, defence in depth matters. Default-deny egress so a compromised workload can't exfiltrate freely. Segment workloads so one compromise doesn't become ten. And specifically restrict access to the instance metadata endpoint — a frequent SSRF target that can hand an attacker a workload's cloud credentials.
Make posture continuous
The hard truth: you can fix every misconfiguration today and new ones will drift back tomorrow. Point-in-time audits aren't enough. Invest in:
- Continuous posture management that flags insecure configurations as they appear.
- Guardrails as policy-as-code that prevent the worst misconfigurations at deploy time, so the secure path is the easy path.
- Infrastructure as code reviewed like application code, so configuration changes go through the same scrutiny.
Where to start
Three disciplines prevent most cloud breaches: least-privilege IAM, enforced-private storage with drift detection, and secrets in a managed store, never in code. Get those right and continuous, and you've closed the doors attackers actually walk through.
These concepts anchor the Cloud Security path — start from Infrastructure VAPT and study the SSRF knowledge-base entry to understand the metadata-endpoint risk.