By NHI Mgmt Group Editorial TeamDomain: Cyber SecuritySource: LEVOPublished January 8, 2026

TL;DR: SOAP and REST remain the two dominant API design patterns in enterprise environments, but their security risks differ materially: SOAP depends on contract enforcement and message-level controls, while REST expands faster and can sprawl without consistent authorization and visibility, according to LEVO. The practical question is not which style is safer in the abstract, but how governance, testing, and runtime monitoring keep pace with hybrid API estates.


At a glance

What this is: This analysis compares SOAP and REST API security and shows that the main risk is not the protocol choice itself but uneven governance across legacy and modern API estates.

Why it matters: IAM and security teams need to understand where authentication, authorization, and API visibility drift as organisations run SOAP and REST side by side across regulated and cloud-native systems.

👉 Read LEVO's analysis of SOAP vs REST API security and testing


Context

SOAP and REST are not competing products so much as different governance models for application-to-application communication. SOAP trades flexibility for strict contracts, while REST trades contract rigidity for speed and distribution. In both cases, the security question is whether identity, authorization, and monitoring controls match the way the API is actually used.

For identity and access programmes, the intersection matters because APIs increasingly carry authentication tokens, service credentials, and delegated access across customer, partner, and internal workflows. That makes the API layer part of IAM governance, not just an engineering concern. The article reflects a common enterprise reality: most organisations run both patterns at once, which is typical rather than exceptional.

When teams modernise without a single security model, they often create a split estate where legacy SOAP services are well-defined but hard to change, while REST services are easy to create but harder to inventory and govern. That combination is where blind spots emerge.


Key questions

Q: How should teams secure SOAP and REST APIs in the same environment?

A: Use one governance model for discovery, testing, and runtime monitoring, then apply protocol-specific controls where needed. SOAP should be validated through contract and message security checks, while REST needs continuous endpoint discovery, object-level authorisation testing, and token governance. The main goal is consistent assurance across both styles, not separate security programmes.

Q: Why do REST APIs create more governance risk than SOAP in fast-moving environments?

A: REST changes faster, which makes undocumented endpoints, inconsistent scopes, and custom authorization logic more likely to slip past periodic review. That risk increases when teams assume token presence equals trust. Continuous inventory and runtime validation are the controls that reduce the gap between development speed and security assurance.

Q: What breaks when API authentication is correct but authorisation is weak?

A: Attackers can still read or modify data they should not reach, because identity was proven without proving entitlement. That failure usually appears as BOLA, broken function-level access, or mass assignment. Security teams should test whether an authenticated caller can move from one object, record, or action to another without additional approval.

Q: What should security teams do when SOAP and REST coexist in the same programme?

A: They should assign one control owner for API governance, one inventory, and one evidence model for reviews and audits. SOAP and REST can coexist safely, but only if access policy, monitoring, and testing are standardised across both. Without that, each protocol accumulates a different kind of blind spot.


Technical breakdown

How SOAP contracts shape security enforcement

SOAP is built around a formal contract, usually described in WSDL, that defines operations, schemas, and message rules. That contract-first model makes validation more deterministic because clients and servers are expected to obey the same structure every time. Security controls often live at the message layer through WS-Security, which can include signatures, encryption, and identity assertions inside the SOAP envelope. The upside is strong predictability and non-repudiation. The downside is that misconfigured headers, schema drift, or partial enforcement can fail in subtle ways that are harder to see in production than in test environments.

Practical implication: Validate WSDL, schema, and WS-Security enforcement together, not as separate checks.

Why REST expands attack surface faster than SOAP

REST uses HTTP methods and usually JSON payloads, which makes it easier to build, integrate, and scale across cloud-native services. That same flexibility also makes it easier to create undocumented endpoints, inconsistent scopes, and custom authorization logic that varies by application. REST is stateless, so every request must be authorised correctly on its own. If teams rely on token presence alone, broken object-level authorisation, overexposed data, and logic abuse become more likely. The problem is not REST itself, but the speed at which it can multiply unmanaged access paths.

Practical implication: Treat REST discovery and authorisation review as continuous controls, not release-time tasks.

Why hybrid API estates need runtime visibility

Most enterprises now operate a mixed environment where SOAP supports stable transactional systems and REST powers rapid digital change. That coexistence creates governance friction because different testing methods, security assumptions, and ownership models apply to each style. Without unified monitoring, teams can miss valid-token misuse, shadow endpoints, and changes in access patterns that only appear in production. Runtime visibility is especially important where APIs carry identity assertions, service-to-service credentials, or delegated access through automation. In those cases, the API layer becomes an identity control plane as much as an application interface.

Practical implication: Correlate discovery, testing, and runtime telemetry across both API styles in one control view.


Threat narrative

Attacker objective: The objective is to exploit trusted API pathways to reach data, functions, or delegated access that should not be available.

  1. Entry occurs through exposed or newly created API endpoints that are not yet covered by consistent discovery or testing.
  2. Escalation happens when weak authorization, misconfigured tokens, or unvalidated SOAP message controls allow broader access than intended.
  3. Impact follows as attackers or abusive users extract data, manipulate workflows, or abuse trusted application channels at scale.

NHI Mgmt Group analysis

API security has become identity security by another name: once APIs carry service credentials, OAuth tokens, and delegated access, the boundary between application security and IAM collapses. That means security leaders cannot treat REST sprawl or SOAP contracts as pure engineering choices. They are governance choices that determine how identity assertions, scope, and authorisation are enforced across the estate. Practitioners should align API governance with IAM ownership, not leave it isolated in delivery teams.

Hybrid estates create a visibility gap that most organisations underestimate: SOAP tends to be visible through formal contracts, but that does not mean it is safer. REST often looks simpler, yet its rate of change makes inventory and policy drift more likely. API governance drift: the control gap that appears when discovery, testing, and authorisation checks do not move at the same speed as API change. Teams should measure drift as a governance metric, not just a technical defect.

Message-level controls matter most where trust is embedded in the payload: SOAP still has value in environments that require strict transaction integrity, but those controls only work when signatures, encryption, and schema validation are actually enforced. If a service depends on headers, tokens, or identity assertions and the control path is inconsistent, the protocol choice becomes irrelevant. Practitioners should focus on whether the control is verifiable end to end, not on the protocol label.

REST security fails when authorisation is treated as a framework decision rather than a runtime discipline: token-based access can look standardised while still allowing overbroad scope, broken object-level access, and undocumented endpoints. The article reinforces a wider market pattern: modern API estates need continuous discovery and runtime monitoring because static review cannot keep pace with change. Teams should assume the gap will appear in production unless controls are continuously validated.

Security leaders should frame API modernisation as resilience work, not just developer enablement: the operational risk is not choosing the wrong protocol, but allowing two governance models to coexist without a shared assurance layer. That concern maps naturally to NIST CSF, NIST SP 800-53 Rev 5 Security and Privacy Controls, and identity-heavy controls around access and authentication. Practitioners should use one governance standard for both styles, then tune controls by protocol.

What this signals

API sprawl is becoming an identity governance problem, not just an application delivery problem: as APIs carry service credentials and delegated access, teams need to govern identity at the interface layer. The next control gap will come from systems that look authenticated but are not meaningfully authorised or monitored. Practitioners should expect API inventory, service identity, and access policy to converge into one operating model.

Contract-heavy systems will not stay safer by default: SOAP can hide risk behind formal structure, while REST can create risk through speed and scale. The practical shift is toward continuous assurance, not point-in-time testing. That means teams should tie API monitoring to identity telemetry and review it alongside application and cloud controls.

The strongest programme designs will use shared control objectives rather than separate protocol playbooks. That is where standards such as NIST SP 800-53 Rev 5 Security and Privacy Controls become useful because they let teams anchor access, audit, and integrity controls to one evidence model.


For practitioners

  • Inventory SOAP and REST endpoints together Build a single authoritative inventory that captures business owner, auth method, transport, schema, and runtime exposure for both SOAP and REST services. Without one view, shadow APIs and duplicate controls will persist.
  • Test authorisation at the object and operation level Add automated tests for broken object-level authorisation, overbroad scopes, and SOAP contract violations before release. Validate both valid and invalid paths so that hidden access paths are surfaced early.
  • Verify message-level controls where SOAP is used Check signatures, encryption, replay protection, and schema enforcement in the same pipeline, because partial WS-Security coverage creates a false sense of protection.
  • Monitor runtime behaviour across the API estate Correlate token use, unusual request patterns, endpoint creation, and failed authorisation attempts in production. Use the signals to identify drift, abuse, and undocumented services.
  • Align API governance with IAM ownership Assign clear accountability for API access policy, service identity, and token lifecycle so that application teams do not own security decisions in isolation.

Key takeaways

  • SOAP and REST are security governance choices as much as technical architectures, because each creates different failure modes for identity, authorisation, and visibility.
  • The main risk in hybrid API estates is drift, where discovery, testing, and runtime monitoring fail to keep pace with how quickly REST and SOAP services change.
  • The right response is continuous assurance across both styles, with shared ownership for API inventory, access policy, and runtime monitoring.

Standards & Framework Alignment

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

MITRE ATT&CK and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.AC-4API authorisation and service access map directly to access control governance.
NIST SP 800-53 Rev 5IA-5Token and credential handling are central to the article's API security risks.
MITRE ATT&CKTA0006 , Credential Access; TA0009 , CollectionThe article's threat patterns involve credential abuse and data extraction via trusted APIs.
OWASP Non-Human Identity Top 10NHI-03Service credentials and tokens used by APIs align with NHI lifecycle and rotation risks.

Map API abuse paths to TA0006 and TA0009, then prioritise detection for token misuse and unusual data access.


Key terms

  • Soap Api: A SOAP API is a contract-driven interface that exchanges structured XML messages using a formal service definition. It is designed for predictability, strong validation, and message-level security, which makes it common in regulated or transaction-heavy environments where change must be tightly controlled.
  • API Secret: An API secret is a credential that allows a machine or application to access an API. It may be a key, token, password, or certificate. If exposed, reused, or left long-lived, it can be copied by attackers and used to impersonate the original workload.
  • Ws-Security: WS-Security is a set of standards for protecting SOAP messages through signatures, encryption, and identity assertions inside the message itself. It is powerful when enforced end to end, but partial or inconsistent implementation can create a false sense of safety because the control lives inside the payload, not just at the transport layer.
  • Broken Object-Level Authorization: A failure to check whether an authenticated identity may access a specific object, record, or device. The request succeeds because the credential is valid, but the application does not enforce per-object entitlement. In NHI environments, this turns a legitimate token into cross-resource exposure.

What's in the full article

LEVO's full article covers the operational detail this post intentionally leaves for the source:

  • A deeper walkthrough of SOAP testing workflows, including WSDL validation, XML schema checks, and WS-Security enforcement.
  • Practical REST security examples covering token handling, authorisation logic, and the failure patterns that create API sprawl.
  • Implementation guidance on monitoring, discovery, and runtime protection across mixed API estates.
  • Use-case comparisons that help teams decide where SOAP remains appropriate and where REST is the better fit.

👉 LEVO's full article covers SOAP testing mechanics, REST security tradeoffs, and implementation details for mixed API estates.

Deepen your knowledge

NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and secrets management. It gives practitioners a stronger foundation for governing service credentials and delegated access across modern programmes.
NHIMG Editorial Note
Published by the NHIMG editorial team on September 3, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org