Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› Database Breach
Cyber Security

Database Breach

← Back to Glossary
By NHI Mgmt Group Updated November 3, 2026 Domain: Cyber Security

Database breach is unauthorised access to, disclosure of, or theft from a database. It usually involves compromised database credentials, exploited injection flaws, misconfigured access controls, or exposed backups, and can affect records stored in relational, NoSQL, or cloud databases.

What Makes a Database Breach Dangerous

A database breach is dangerous because databases usually hold concentrated, queryable, and often highly reusable data, so one intrusion can expose many records at once. The breach may start with stolen database credentials, but the security impact usually comes from the attacker’s ability to read, copy, alter, or export information at scale.

That risk is not limited to classic SQL databases. NoSQL stores, managed cloud databases, analytics platforms, and exposed backups can all become breach paths when access controls are weak or when a database is reachable from the internet with little friction.

Common Breach Paths and Access Failures

Most database breaches follow a small set of failure patterns: injection flaws that let an attacker issue unintended queries, compromised credentials that bypass normal login checks, misconfigured permissions that expose tables or collections, and backup or snapshot exposure that reveals data outside the live application path. Each of these can create direct access to records even when the application itself appears intact.

In practice, the database is often not the only weak point. Weak separation between environments, overbroad service access, or unreviewed administrative paths can turn a single credential or configuration mistake into broad data exposure. NHIMG’s MongoBleed breach is a clear example of how exposed databases can leak sensitive data at scale, and the Firebase misconfiguration exposure 2024 shows how missing access controls can turn a cloud database into a public disclosure event.

Exposure, Discovery, and Blast Radius

To understand exposure, organisations need to know which databases exist, where they run, how they are reached, and what data they contain. Asset inventory matters because breaches often affect databases that teams forgot were still live, while internet exposure matters because open endpoints and weak network placement expand the attack surface immediately.

The blast radius also depends on what the database stores and how broadly it is shared. A breach may reveal customer records, operational data, tokens, or backup sets that can be reused long after the initial access is discovered. NHIMG’s Database Breach Response Playbook focuses on exactly this scoping problem, including how to determine which rows were read and which access paths were involved.

Remediation, Detection, and Post-Breach Review

Effective response begins with containment, then moves to evidence preservation and scope analysis. If the breach involved a live query path, attackers may have used valid credentials, injection, or a compromised service identity, so the organisation must review logs, access history, and backup access to understand what was reached and whether the attacker remained active after the first disclosure.

After containment, the post-breach review should answer two questions: what data left the database, and what other systems may now be at risk because the same secrets, sessions, or keys were exposed alongside it. When a database breach exposes credentials or API keys, the incident becomes broader than a data incident, because those secrets can unlock additional services and create follow-on compromise. The Database Breach Response Playbook is useful here because it ties technical scoping to breach notification and audit-log review.

Risk and Threat Considerations

Database breaches are high-impact because the same access path that reveals records can also support stealthy exfiltration, repeated queries, or destructive changes if the attacker keeps access. The most dangerous cases are those where a valid credential, exposed backup, or injection flaw gives quiet access to large stores of sensitive data without triggering obvious application failure.

Failure mechanism: Attackers commonly exploit weak authentication, broken authorization, SQL injection, or exposed storage to obtain broad read access, then use that access to enumerate, export, or tamper with records before defenders notice the pattern.

Impact: A successful breach can expose regulated personal data, secrets, financial records, or operational information, and it can also create secondary compromise if tokens, keys, or administrative credentials were stored in the database or nearby backups.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP API Security Top 10 addresses the attack and risk surface, while NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5AC-6 — Least PrivilegeDatabase breaches often follow excessive database permissions.
IA-5 — Authenticator ManagementCompromised database credentials are a common breach path.
AU-6 — Audit Record Review, Analysis, and ReportingBreach scoping depends on reconstructing which records were accessed.
Recommendation — Restrict database accounts to the minimum tables, queries, and administrative actions required. Rotate, protect, and periodically validate database credentials and secrets. Review database audit logs to identify suspicious queries, exports, and privilege use.
OWASP API Security Top 10API1 — Broken Object Level AuthorizationObject-level access failures can expose records through database-backed APIs.
Recommendation — Enforce per-object authorization checks before queries return database records.
CIS Controls v8CIS-5 — Account ManagementDatabase breach exposure is often driven by unmanaged or overbroad accounts.
Recommendation — Inventory and remove unnecessary database accounts and stale access paths.

Practitioner Guidance

Why practitioners should care: Treat database breach risk as both an application problem and a data-control problem. The practical question is not only whether the database is patched, but whether access is limited, exposure is known, and the logging needed to reconstruct row-level access is available when something goes wrong.

What to watch for: Overprivileged accounts, public endpoints, stale backups, and unexplained read spikes are especially important warning signs. If a database can be reached from unexpected networks or by shared credentials, the breach path is often already half-open.

Practitioner takeaway: The best breach controls are the ones that reduce reachable data, reduce standing access, and make abnormal reads visible early enough to contain the incident before it becomes a wider compromise.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 3, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org