Many security programmes stall not because the team lacks tools, but because the architecture underneath cannot accept the controls they bought. A flat network cannot be segmented by policy alone, an application that authenticates with one shared database account cannot enforce per-user least privilege, and a monolith that bundles every function into one deployment cannot isolate the risky part. That is architectural debt: design decisions, often sensible when made, that now block modern defences. This guide explains how architectural debt differs from ordinary security debt, the patterns that cause it and the controls each one blocks, how to record and prioritise it, and how to pay it down alongside a zero trust migration. It is written for architects, CTOs and security leaders who need to make the case for structural change as well as plan it.
Key takeaways
- Architectural debt blocks controls, it does not just weaken them. Unlike a missing patch, it cannot be fixed by a ticket; the control you want simply has nowhere to attach until the design changes.
- Name the blocked control for every item. "Flat network" is a description; "flat network blocks east-west enforcement and contains ransomware poorly" is a risk an executive can weigh.
- Record it in the same register as other debt. Add a few architecture fields (blocked control, dependency, target pattern) to your existing debt register rather than starting a separate list.
- Pay down in slices, not rewrites. Wrap, isolate and replace one capability at a time; big-bang re-architecture projects rarely finish and leave two half-secured systems.
- Stop creating new debt first. Architecture review gates, secure-by-default patterns and paved roads cost less than every future remediation.
What architectural debt is
The UK NCSC's secure development guidance describes how early trade-offs that put robustness and security aside create technical debt, calls the security-relevant part "security debt", and advises keeping a register so you can return to the items and track the cumulative debt. Its example is an application granted full administrative permissions during development instead of the permissions it actually needs. The NCSC also asks teams to consider how expensive today's design decisions will be later. Architectural debt is the part of security debt that lives in structure rather than configuration: how networks are laid out, how components authenticate to each other, how responsibilities are split between services, and which platforms everything depends on.
| Debt type | Where it lives | Typical fix | Fix effort |
|---|---|---|---|
| Configuration debt | Settings, policies, missing patches | Change a setting, apply an update | Hours to days |
| Identity debt | Accounts, roles, secrets, trust relationships | Remove, rotate, re-scope, assign an owner | Days to weeks |
| Architectural debt | Network topology, service boundaries, authentication design, platform dependencies | Redesign a component or interface, introduce a new layer, replace a platform | Months, funded as a project |
The broader portfolio view of debt, including scoring by principal and interest and board reporting, is covered in the Security and Identity Debt Guide. This guide focuses on the structural part, which needs different evidence, different owners and different funding.
How it blocks modern defences
NIST SP 800-207 defines zero trust as moving defences from static, network-based perimeters to users, assets and resources. Its tenets assume that access is granted per session with least privilege, that decisions use dynamic policy including identity and device state, and that all communication is secured regardless of network location. Each tenet presumes an architectural capability. Where the capability is missing, the control cannot be applied, however good the product.
- No enforcement point: policy-based access needs something in the path that can make and enforce a decision. A flat network with no internal choke points has nowhere to put one.
- No distinct identity: per-user or per-workload authorisation needs each caller to present its own identity. A shared service account or a connection pool that logs in once erases who is acting.
- No boundary to isolate: containment needs a component boundary. When authentication, payments and reporting share one process and one database account, compromise of one is compromise of all.
- No telemetry hook: detection needs logs that carry identity and context. Legacy protocols and embedded credentials produce logs that say "the application did it".
- No upgrade path: the NCSC's product principles say products should be supported through life with safe updates, and that customers may otherwise have to accept and manage the risk of an obsolete product. Platforms past vendor support cannot take new security features at all.
Common debt patterns (flat networks, shared accounts, monoliths)
The table lists the patterns that most often block controls, the control each one blocks, the risk that results and a target pattern. The ATT&CK techniques show where an attacker benefits.
| Debt pattern | Control it blocks | Resulting risk | Target pattern |
|---|---|---|---|
| Flat network: servers, users and management on one routable segment | East-west enforcement, microsegmentation, deny-by-default (SC-7) | Fast lateral movement with Remote Services (T1021); ransomware spreads estate-wide | Segmented zones with identity-aware policy; see the Zero Trust Network Segmentation Playbook |
| Shared or generic accounts used by people or many applications | Per-user MFA, attribution, least privilege (AC-2, AC-6, IA-2) | Valid Accounts (T1078) abuse is untraceable; one leak exposes every consumer | Named human accounts with brokered privileged access; one workload identity per service |
| Monolith with one database login and one deployment unit | Component isolation, per-function authorisation, independent patching | A flaw in any module reaches all data; patching needs a full release | Extract high-risk capabilities behind an internal API with its own identity and data store |
| Credentials embedded in code or config files | Rotation, short-lived credentials, vaulting | Secrets leak with source code; rotation breaks the application | Runtime retrieval from a secrets manager or workload identity federation |
| Legacy authentication protocols (basic auth, NTLM, LDAP simple bind) | Phishing-resistant MFA, conditional access, token binding | Password spraying and relay; MFA cannot be inserted | Modern federation (SAML, OpenID Connect) through an identity provider or access gateway |
| Unsupported platforms and runtimes | Vendor security updates, modern agents (SA-22) | Known exploitable flaws stay open permanently | Replatform or isolate behind compensating controls until retired |
| Hub integrations with standing super-user API keys | Scoped, per-consumer authorisation, revocation of one consumer | Compromise of the integration hub exposes every connected system | Per-integration OAuth clients with narrow scopes and owners |
| Single shared management plane (one admin forest or tenant for everything) | Tiered administration, blast radius limits | One admin compromise reaches production, backups and recovery systems | Separate administrative tiers; isolated backup and recovery identities |
Specialist guides go deeper on several of these: the Zero Trust Network Segmentation Playbook for Flat Networks, the Legacy Application Security guide, the Legacy Authentication and ROPC Retirement Guide and the Short-Lived Credentials Migration Guide for Legacy Applications.
Measuring and registering debt
Architectural debt is usually found in architecture reviews, penetration tests, incident post-mortems and failed control rollouts ("we could not enable conditional access for this app"). Capture it at that moment. Use the debt register from the Security and Identity Debt Guide and add these architecture fields:
| Field | Why it matters for architectural debt | Example |
|---|---|---|
| Blocked control | Turns a design description into a risk statement | Cannot apply per-user authorisation to order data |
| Affected capability or business service | Links debt to what the business values | Customer ordering |
| Design dependency | Shows what else must change first | Needs internal API gateway (debt item ARC-012) |
| Target pattern | Agrees the destination before funding | Order service with own workload identity and data store |
| Compensating controls in place | Shows residual risk while the debt is open | Database activity monitoring; jump host for admin |
| Evidence source | Shows how the item was found and confirmed | Architecture review AR-2026-07; red team finding |
| Funding route | Architectural debt rarely fits operational budgets | Bundled with the 2027 platform refresh |
Prioritising by risk
Score architectural items with the same risk method as the rest of your register, so they compete fairly for funding. NIST CSF 2.0 GV.RM-06 calls for a standardised method for calculating and prioritising cybersecurity risk, and ID.RA-05 for using threats, vulnerabilities, likelihoods and impacts to inform prioritisation. For architectural debt, weight these factors heavily:
- Blast radius: how much of the estate or data an attacker reaches if the component is compromised.
- Exposure: whether the component is internet facing, partner facing or internal.
- Number of controls blocked: a shared admin account that blocks MFA, attribution and least privilege outranks one that blocks a single control.
- Dependency weight: items that unblock several others (an identity provider integration, an internal gateway) go first because they compound.
- Change opportunity: items that can ride on a planned refresh or migration are cheaper now than later.
Metrics that show progress
- Blocked-control count: number of open items where a mandated control cannot be applied, trending down quarter on quarter.
- Coverage of target patterns: share of critical services with their own workload identity, segmented placement and modern authentication.
- Shared account count: human and application shared accounts still in use, by tier.
- Unsupported platform count: components past vendor support, with the share covered by an isolating compensating control.
- New debt rate: architectural items raised by reviews of new projects, which should fall as paved roads mature.
- Age of oldest high-risk item: shows whether the top of the list is actually moving.
Paying it down
NIST SP 800-207 expects most enterprises to run a hybrid of zero trust and perimeter-based architecture during transition, and describes introducing zero trust to a perimeter-based network one workflow at a time: identify actors, identify assets, identify key processes and evaluate risks, formulate policies, identify candidate solutions, deploy and monitor, then expand. The same incremental approach is the safest way to retire architectural debt. See the NIST SP 800-207 Zero Trust Architecture Guide for the model itself.
- Stop new borrowing: put an architecture review gate on new systems and major changes, and publish secure-by-default patterns (identity provider integration, workload identity, segmented hosting) so teams do not recreate the debt. CISA's Secure by Design work makes the same point for products: treat customer security as a core business requirement and ship secure by default, with features such as MFA and intrusion logging on out of the box. Apply that standard to internal platforms. The Security Architecture Review Guide covers the review itself.
- Contain before you fix: for each high-risk item, add a compensating control that limits blast radius now, such as isolating an unsupported server in its own segment or putting an access gateway with MFA in front of a legacy web application.
- Build the enabling layers: the identity provider, secrets manager, internal API gateway and segmentation policy engine unblock many items at once. Fund these as shared platforms, not per-project.
- Pick one workflow: choose a business process with high risk and a willing owner, map its actors and data flows, and move it to the target pattern end to end.
- Use strangler-style replacement for monoliths: route one capability at a time to a new service behind the same interface, with its own identity and data access, and retire the old code path once traffic has moved.
- Test in observe mode first: run segmentation and authorisation policies in monitor or audit mode, compare against real traffic, then enforce in rings. Keep the previous rules ready to restore if a business process breaks.
- Retire and record: close the register item only when the old path is removed, not when the new one exists, and record the blocked control as now applied.
Framing it for executives
Executives fund outcomes, not refactoring. Present architectural debt in three lines per item: what the business cannot do safely today (for example, "we cannot prevent one compromised laptop from reaching the payment servers"), what it would take to fix and what it unblocks, and what risk is being accepted until then and by whom. Tie items to events the board already cares about: ransomware containment, audit findings, regulatory obligations on supported software, and planned investments that are the cheapest moment to fix. Report the blocked-control count and the age of the oldest high-risk item rather than raw item totals. The Building a Security Programme guide covers how this fits wider programme governance.
Small and large organisations
- Smaller organisations: the most effective paydown is often replacement rather than redesign: moving a self-hosted legacy system to a managed service that already supports modern authentication and segmentation removes several items at once.
- Larger organisations: the constraint is coordination. Assign an accountable owner per business capability, fund enabling platforms centrally, and track dependencies between items so teams do not wait on each other silently.
Common failure patterns
- The big-bang rewrite: a multi-year re-architecture that never reaches production, while the old system keeps running with no compensating controls.
- Buying the control before the architecture: purchasing microsegmentation or an identity governance product for an estate whose structure cannot use it, then reporting the purchase as risk reduction.
- Debt without a blocked control: registers full of "legacy" and "technical debt" entries that never say what risk they create, so they never win funding.
- Closing on build, not retirement: marking debt paid when the new service exists while the old shared account or flat route remains in use.
- Permanent exceptions: risk acceptances for unsupported platforms renewed every year with no compensating control and no retirement date.
- Ignoring machine identities: modernising user authentication while integrations keep standing super-user keys, so the structural weakness simply moves.
Framework mapping
| Framework | Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | PL-8 Security and Privacy Architectures; SA-8 Security and Privacy Engineering Principles | Defining and maintaining the target architecture |
| NIST SP 800-53 Rev 5 | SA-22 Unsupported System Components; SC-7 Boundary Protection; AC-6 Least Privilege | The controls most often blocked by architectural debt |
| NIST SP 800-53 Rev 5 | CA-5 Plan of Action and Milestones; PM-4 Plan of Action and Milestones Process | Recording and tracking remediation |
| NIST CSF 2.0 | GV.RM-06, ID.RA-05, ID.IM-01, PR.IR-01, PR.PS-02 | Risk prioritisation, improvement, network protection, software lifecycle |
| NIST SP 800-207 | Section 7 Migrating to a Zero Trust Architecture | Incremental, workflow-by-workflow migration |
| NCSC | Cyber security design principles: reducing the impact of compromise; making compromise detection easier | Design goals that architectural debt undermines |
| MITRE ATT&CK | T1021 Remote Services; T1078 Valid Accounts | Attacker techniques that flat networks and shared accounts enable |
Practitioner checklist
- Add blocked control, dependency, target pattern and funding route fields to your existing debt register.
- Record architectural debt at the moment it is found in reviews, tests, incidents and failed control rollouts.
- For every high-risk item, name the blocked control and the compensating control in place today.
- Prioritise by blast radius, exposure, number of controls blocked and dependency weight.
- Fund enabling platforms (identity provider, secrets manager, internal gateway, segmentation policy) centrally.
- Migrate one workflow end to end before scaling, using observe mode and ringed enforcement.
- Close items only when the old path is removed.
- Gate new systems with an architecture review so new debt is caught before it ships.
- Report blocked-control count and oldest high-risk item age to executives each quarter.
Standards and references
- NIST: SP 800-207 Zero Trust Architecture
- NCSC: Secure development and deployment, plan for security flaws
- NCSC: Cyber security design principles
- NCSC: Principles for product development, build for through-life
- CISA: Secure by Design
- NIST: SP 800-53 Rev 5 Security and Privacy Controls
- NIST: Cybersecurity Framework 2.0
Related NHI Mgmt Group resources: Security and Identity Debt Guide · Security Architecture Review Guide · NIST SP 800-207 Zero Trust Architecture Guide · Zero Trust Network Segmentation Playbook for Flat Networks