Cloud Misconfiguration Is Quietly Behind More Data Breaches Than Most People Realize
July 21, 2026 • César Daniel Barreto

When people picture a data breach, they usually picture a hacker. Someone cracking a password, sneaking malware past antivirus software, or tricking an employee into clicking a phishing link. All of that still happens. But a growing share of the largest breaches in recent years didn’t involve anyone breaking in at all. An already-open door, a cloud storage bucket set to public instead of private, a database left reachable from the open internet, an access permission that was supposed to be temporary but was never removed.
Security teams have a name for this category of problem: misconfiguration. It doesn’t require a sophisticated attacker. It doesn’t require a zero-day vulnerability. Just a setting that was wrong, left unnoticed until someone or something finds it.
What misconfiguration actually looks like
Cloud infrastructure gives every engineer at a company the ability to spin up servers, storage, and databases in minutes, without asking anyone’s permission first. That speed is the entire appeal of the cloud, and it’s also where the risk lives. A storage bucket created for a quick internal project gets set to public because that was the fastest option at the time, and nobody remembers to lock it down once the project goes live. A database spun up for testing gets left running with default credentials because it was never meant to stick around this long. A firewall rule opened to make debugging easier during an incident never gets closed once the incident is resolved.
None of this is a single dramatic mistake. These are small, reasonable-sounding shortcuts, taken under time pressure, that quietly accumulate. A company might have hundreds of engineers touching cloud infrastructure across dozens of environments, and every one of those shortcuts is a decision made by a different person, at a different time, usually without anyone else reviewing it. Security teams can’t manually check every setting across every environment every day. Attackers, and increasingly automated scanning tools built specifically to find exposed cloud resources, can.
Why does this keep happening despite years of warnings
Misconfiguration isn’t a new topic in security circles. It has shown up in breach reports for years. The reason it persists isn’t a lack of awareness. Most cloud environments are still built and changed by hand, through consoles and one-off scripts, rather than by a system that enforces security rules automatically.
When infrastructure is built via a web interface, there’s no consistent checkpoint to ask whether this particular database should really be reachable from the public internet, or whether this storage bucket should be public rather than private. Every change depends on the person making it remembering the rule and applying it correctly, every single time, under whatever deadline pressure they happen to be facing that day. That works fine most of the time. It only takes one missed check to create an opening.
The problem gets worse as companies grow. A small team can informally track what exists and who has access to what. Past a certain size, that informal tracking breaks down entirely, and most companies don’t notice until an audit, an incident, or a security researcher’s disclosure forces the question.
The shift toward automatic enforcement
The response taking hold among security-conscious engineering teams is to stop treating infrastructure security as something individual people are responsible for remembering, and start treating it as something enforced automatically — the same way a spell checker catches a typo before anyone reads it.
The idea is simple: define the infrastructure in code instead of building it by hand. An engineer doesn’t click through a console to spin up a database — instead, that database gets written into a configuration file spelling out exactly how it should look: encrypted or not, which network it lives on, who’s allowed near it. Before any of that gets applied, it runs through a set of automated checks — people usually call this policy as code — that measure it against what the company actually requires. One rule might just refuse to let a public storage bucket exist at all. Another might block an unencrypted database from ever deploying, no matter what the person who wrote the configuration meant to do.
The second half of this approach matters just as much: continuously checking that the infrastructure actually running in production still matches what was approved. This is usually called drift detection, and it exists because configurations don’t always stay put. Someone makes a manual emergency change at two in the morning during an incident. A setting gets adjusted directly in the console because waiting for the normal review process felt too slow. Drift detection catches the moment reality stops matching the approved configuration — whether that gap was created by a rushed fix, a mistake, or something more deliberate — and flags it before it turns into the kind of unnoticed opening that shows up in a breach report a year later.
Platforms built specifically for this kind of infrastructure governance, Spacelift among them, apply exactly this model: every infrastructure change is checked against security policy automatically before it goes live, and the live environment is continuously compared against what was actually approved, so a gap gets caught within hours rather than discovered during a post-incident review.
Why this belongs on a security team’s radar, not just an engineering one
Misconfiguration prevention is often treated as an engineering concern, something for the cloud infrastructure team to sort out on its own. That framing undersells how much it now overlaps with core security practice. A misconfigured cloud resource isn’t a lesser version of a breach, it’s often the actual mechanism behind one, no different, functionally, from an unpatched server or a password that leaked. The difference is just where it came from: built in-house, not exploited from outside.
Plenty of security teams already run vulnerability scans, watch for phishing, keep an eye on endpoints. Now there’s a new question getting added to that routine: at any given moment, could this company actually prove how its cloud infrastructure is set up — and show that every change went through review instead of getting made quietly by hand? The ones who can answer yes usually catch misconfiguration in hours. The ones who can’t usually find out the way everyone else does: after the fact, in a breach disclosure.
The attackers scanning the internet for exposed cloud resources aren’t going to stop looking. The realistic goal isn’t eliminating every possible mistake a person under deadline pressure might make. It’s making sure that when the mistake happens, something automatic catches it before an attacker does.

César Daniel Barreto
César Daniel Barreto is an esteemed cybersecurity writer and expert, known for his in-depth knowledge and ability to simplify complex cyber security topics. With extensive experience in network security and data protection, he regularly contributes insightful articles and analysis on the latest cybersecurity trends, educating both professionals and the public.