Join our Newsletter — 33% off our NHI Course
Home Glossary Cyber Security Preflight Check
Cyber Security

Preflight Check

← Back to Glossary
By NHI Mgmt Group Updated August 24, 2026 Domain: Cyber Security

A preflight check is a browser validation step used before certain cross-origin requests are sent. It helps determine whether the target server allows the method, headers, and origin. When an application accepts simple content types or weakly filters requests, attackers may bypass this safeguard.

Expanded Definition

A preflight check is part of the browser-managed safeguard that occurs before certain cross-origin requests are permitted to proceed. It is not the request itself, but a validation step that asks whether the target origin is willing to accept the intended method, headers, and source origin. In practice, this behavior is associated with CORS policy enforcement and is most visible when applications move beyond simple requests into custom headers, non-standard methods, or credential-bearing interactions. The concept is often discussed alongside browser security, but the security boundary is implemented by the browser and the server response, not by the application alone. For that reason, a correct design must treat the preflight as a policy negotiation, not as an absolute trust signal. The NIST Cybersecurity Framework 2.0 is useful here because it reinforces the need to understand how application-layer controls support broader access governance and secure communications.

Definitions vary across vendors and developer guidance on where the browser stops and the server begins, but there is no single standard that makes the preflight itself sufficient protection. The most common misapplication is assuming a successful preflight means the request is safe, which occurs when developers rely on browser enforcement while the server still accepts the same action from non-browser clients.

Examples and Use Cases

Implementing preflight handling rigorously often introduces latency and configuration complexity, requiring organisations to weigh smoother cross-origin integration against tighter request validation.

  • API gateways that allow selected front-end applications to use custom authorization headers while rejecting all other origins.
  • Single-page applications that call a separate API domain and need a browser preflight before sending PUT, PATCH, or DELETE requests.
  • Administrative consoles that use cross-origin requests for operational actions and must explicitly allow the source origin, headers, and methods.
  • Mobile or embedded web views that trigger browser-managed CORS checks before exchanging tokens or session-backed requests with an external service.
  • Teams following the OWASP API Security Top 10 guidance to reduce risky assumptions about who can reach sensitive endpoints across origins.

These use cases are legitimate only when the server enforces the same policy after the browser check completes. Preflight is also relevant when organisations document API trust boundaries for Cross-Origin Resource Sharing, because the browser will block some unsafe combinations but not validate business intent. In other words, a permitted request still needs server-side authentication, authorisation, and input handling.

Why It Matters for Security Teams

Security teams need to understand preflight checks because they can create a false sense of assurance. If engineering assumes the browser will stop hostile traffic, the real exposure shifts to endpoints that accept the same state-changing request from scripts, bots, or direct HTTP clients. That is why preflight matters in secure API design, access control testing, and web application review. It also intersects with identity security when cross-origin calls carry session cookies, bearer tokens, or other secrets, since a misconfigured policy can expose privileged functionality across trust boundaries.

The practical lesson aligns with origin-based security concepts and with the control discipline reflected in NIST guidance: trust should be explicit, not inferred from browser behavior. Teams should verify that allowed origins are narrowly scoped, methods are justified, and credentialed requests are not accepted from broader sources than intended. Organisationally, this becomes especially important when third-party front ends, agentic workflows, or shared SaaS integrations begin calling internal APIs. Organisations typically encounter the weakness only after an unexpected cross-origin action is observed in logs, at which point preflight policy becomes operationally unavoidable to correct.

Standards & Framework Alignment

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

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

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.AA-1Covers identity and access verification needed before cross-origin actions are trusted.
NIST SP 800-53 Rev 5AC-4Information flow enforcement applies when cross-origin requests cross trust boundaries.
NIST SP 800-63Relevant where preflight protects requests carrying authenticators or session-linked identity data.
OWASP Non-Human Identity Top 10Applies when non-human identities expose APIs that browser policies may appear to protect.

Treat credential-bearing cross-origin requests as high assurance flows requiring tighter validation.

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