main logo icon

Published on

December 4, 2026

|

24 min read

Broken Access Control Explained: Examples, Testing and Fixes (2026)

What broken access control is and why it leads the OWASP Top 10:2025: the eight classes, A01 data, exploited examples from CISA's KEV catalog, why scanners miss it, how a penetration test finds it with role matrices, what to log and the ASVS 5.0 fixes.

Arafat Afzalzada

Arafat Afzalzada

Founder

Web App Security

Summarize with AI

ChatGPTPerplexityGeminiGrokClaude

TL;DR

Broken access control is any failure of an application to enforce who may reach which data and functions, so that a user reads, changes or deletes data outside their permissions or acts in a role they do not hold. OWASP ranks it first in the Top 10:2025 (A01) and reports that 100% of the applications tested had some form of it. It covers eight classes: horizontal and vertical privilege escalation, insecure direct object references (IDOR), missing function-level checks, forced browsing, path traversal, CORS misconfiguration, token and session flaws, and mass assignment. Many are a missing check rather than a wrong one, so nothing in the request or response reveals them. It is exploited in the wild. CISA's Known Exploited Vulnerabilities catalog (version 2026.12.03) added authorization flaws in Apache OFBiz, Langflow, Adobe Commerce, IBM Aspera Faspex, GeoServer and Acronis Backup between February 2025 and December 2026, and MITRE's 2025 CWE Top 25 moved Missing Authorization up five places to fourth. Scanners miss most of it. OWASP says its own Top 10 data is "largely limited to what the industry can test for in an automated fashion", and CISA warns that "Not all DAST tools can detect IDOR vulnerabilities". A tool sees a valid request and a 200 response; it has no model of who owns the record. A penetration test finds it with a role matrix, two accounts per role in two tenants, and every recorded request replayed as every other identity. Detection depends on logging authorization failures, which OWASP lists among its A01 preventions, and on watching for one session walking through many identifiers. The fixes are design, not patches: deny by default, one server-side authorization layer reused everywhere, ownership enforced in the lookup, field-level allow lists, and the OWASP ASVS 5.0 V8 requirements as acceptance criteria. Stingrai's Hybrid Pentest covers this for one web application and associated APIs at US$6,800 per assessment or US$1,275 a month continuous.

Broken access control is the failure of a web application or API to enforce which users may reach which data and functions, so that a signed-in user reads, changes or deletes records outside their permissions or acts in a role they were never given. It matters because it holds first place in the OWASP Top 10:2025, where OWASP reports that "100% of the applications tested were found to have some form of broken access control", and because the flaw is usually an absent check that no scanner can see.

This guide explains the category as OWASP defines it, the eight classes inside it, why it survives in 2026, dated evidence of exploitation from CISA and MITRE, how it differs from its nearest neighbours, what to log, what to fix and how a penetration test finds it. It stays at the level a defender needs and contains no exploit steps.

Broken access control at a glance

Question

Short answer

What is it?

A user acting outside their intended permissions. OWASP: "Access control enforces policy such that users cannot act outside of their intended permissions." Category A01 in the Top 10:2025, mapping 40 CWEs.

How common is it?

OWASP's contributed data covers more than 2.8 million applications. A01 has an average incidence rate of 3.74% and 1,839,701 occurrences, the most of any category, with 32,654 related CVEs.

Who can exploit it?

Usually any authenticated user, and sometimes an anonymous one. No exploit code is needed; a changed identifier, route, field or token is enough.

What does it leave behind?

A well-formed request and a successful response. Unless the application logs authorization decisions, nothing marks the request as wrong.

What stops it?

Deny by default, one server-side authorization layer, record ownership enforced in every lookup, field-level allow lists, and tests that assert the denials.

How broken access control works

Access control sits after authentication. Authentication answers who the caller is; access control, or authorization, answers what that caller may do to this resource. MITRE's weakness entry CWE-284 describes the failure as a product that "does not restrict or incorrectly restricts access to a resource from an unauthorized actor", and notes that it can arise in two places: the specification, where the wrong privileges or ownership are set, and the enforcement, where the mechanism fails to apply the policy that was specified.

In a web application that split shows up as two different bugs. CWE-862, Missing Authorization, is a product that "does not perform an authorization check when an actor attempts to access a resource or perform an action". CWE-863, Incorrect Authorization, is a product that performs the check but does not perform it correctly. The first is the harder one to find, because the vulnerable handler is shorter and cleaner than the safe one, and it is the one MITRE's 2025 CWE Top 25 ranks fourth.

An attack on either runs in five stages. The table is Stingrai's structure, built on OWASP's A01 description and the OWASP Web Security Testing Guide.

Stage

What happens

Privilege needed

What the application sees

1. Get an account

The attacker signs up, uses a stolen account, or in some cases needs no account at all.

None, or an ordinary user

A normal logon

2. Map the application

They record every place an identifier, route or field appears: paths, query strings, bodies, headers, cookies, file names, token claims. They note which roles exist.

Ordinary user

Normal browsing

3. Change one thing

They ask for another user's object, a higher role's function, a protected field, a file outside the web root, or a token claim that was never verified.

Ordinary user

A well-formed request

4. The server answers

The missing or incorrect check lets the request through.

None

A 200 response that looks like success

5. Use the access

They read, change, delete or export the data, or act as the higher role.

Whatever the gap allows

Normal activity by a valid account

Diagram of the five stages of a broken access control attack and what the application can see at each

Figure 1: Five stages of a broken access control attack and what the application logs at each. Stingrai's structure, following OWASP Top 10:2025 A01.

Two properties make the class different from injection or cross-site scripting. First, nothing is malformed. The request in stage 3 is one the application accepts every day; only its subject is wrong. Second, the knowledge that makes it wrong lives in the business rules, not in the HTTP exchange. Whether invoice 1042 belongs to the caller is a fact about the data model, and no amount of inspecting the request reveals it.

The eight classes of broken access control

OWASP's A01 description lists the common failures. Grouped by what the attacker changes, they fall into eight classes. The grouping is Stingrai's; the quoted wording is OWASP's. The weakness column is MITRE's closest CWE; CWE-942 and CWE-915 are not in A01's mapped list.

Class

What the attacker changes

OWASP's wording (A01:2025)

Weakness entry

Horizontal privilege escalation

Whose data: another user at the same level

"Permitting viewing or editing someone else's account by providing its unique identifier"

CWE-639

Vertical privilege escalation

Which role: a function or page above their own

"gaining privileges beyond those expected of the logged in user (e.g. admin access)"

CWE-862, CWE-863

Insecure direct object reference (IDOR)

An identifier in a path, body, header or cookie

"insecure direct object references"

CWE-639

Missing function-level checks

A verb or endpoint with no check at all

"An accessible API with missing access controls for POST, PUT, and DELETE"

CWE-862

Forced browsing

The URL of a page that was never linked

"Force browsing (guessing URLs) to authenticated pages as an unauthenticated user or to privileged pages as a standard user"

CWE-425

Path traversal

A file path that leaves the intended directory

CWE-22 is the first entry in A01's mapped list

CWE-22

CORS misconfiguration

The origin a browser is allowed to call from

"CORS misconfiguration allows API access from unauthorized or untrusted origins"

CWE-942

Token, cookie and session flaws

A JWT claim, cookie or hidden field

"replaying or tampering with a JSON Web Token (JWT) access control token, a cookie or hidden field manipulated to elevate privileges, or abusing JWT invalidation"

CWE-284 family

Mass assignment

A field the client was never meant to set

OWASP's API Security Top 10 files it under broken object property level authorization

CWE-915

Mass assignment makes nine rows for eight classes because it sits on the border of the category: OWASP's web list does not name it, but its API Security Top 10 (API3:2023) merged the earlier mass assignment risk into broken object property level authorization, and MITRE's CWE-915 describes it as a product that "does not properly control which attributes can be modified" when input "specifies multiple attributes, properties, or fields" to update. A user who adds a role field to an otherwise legitimate profile update is escalating privilege through a field, which is why it belongs in this guide.

Two of the classes have their own guides on this site. The IDOR vulnerability guide walks through six documented cases from regulators and CVE records, and the BOLA guide explains why automated API scanners cannot infer ownership. This post does not repeat them; it places them in the category.

Why broken access control still works in 2026

The check is absent, not wrong. An injection flaw leaves a signature in code: untrusted input joined to a query. A missing authorization check leaves no signature, because the vulnerable code is simply the safe code with one line removed. The joint advisory on preventing web application access control abuse from the Australian Cyber Security Centre, CISA and the NSA (27 July 2023) says IDOR flaws are "common, hard to prevent outside the development process, and can be abused at scale", and that each use case "is unique and cannot be mitigated with a simple library or security function".

Automated testing cannot see it. OWASP is candid about its own data: "The results in the data are largely limited to what the industry can test for in an automated fashion", and "There are also important risks that we may never be able to reliably test and be present in the data." CISA's advisory makes the same point about tools: "Not all DAST tools can detect IDOR vulnerabilities", and those that can "are not foolproof and should be used with other security testing methods to ensure comprehensive coverage".

Every application has its own rules. OWASP ASVS 5.0 starts its authorization chapter by asking for documentation: requirement 8.1.1 wants "authorization documentation" that "defines rules for restricting function-level and data-specific access based on consumer permissions and resource attributes". Most applications have no such document, so neither the developer nor the tester has a written statement of what should be denied.

Frameworks move the check, and the check moves wrong. The Next.js case below is a framework-level example: applications that put their authorization in middleware could have it skipped by a request carrying an internal header. Vercel's own postmortem stated afterwards: "We do not recommend Middleware to be the sole method of protecting routes in your application."

Exploitation is cheap and initial access is already common. Verizon's 2026 Data Breach Investigations Report found that exploitation of vulnerabilities was the initial access vector in 31% of breaches with a known vector (Error and Misuse breaches excluded) in its window (1 November 2024 to 31 October 2025), up from 20%, which Verizon's summary describes as "beating stolen passwords as the top way attackers get in". Mandiant's M-Trends 2026 (23 March 2026) reports exploits as "the most common initial infection vector for the sixth consecutive year, accounting for 32% of intrusions". An authorization bypass needs no memory corruption and no exploit chain, which makes it one of the cheaper vulnerabilities in that 31%.

Evidence from 2025 to 2026

Every row below links to the primary source. Dates are the CISA Known Exploited Vulnerabilities (KEV) catalog's "date added" unless stated; the catalog was read at version 2026.12.03, with 1,811 entries.

Date

Source

What it shows

4 February 2025

CISA KEV, CVE-2024-45195

Apache OFBiz "Forced Browsing Vulnerability", CWE-425. The CVE record's title is "Confused controller-view authorization logic (forced browsing)".

21 March 2025

CVE-2025-29927, CWE-285, CVSS 9.1

Next.js: "it is possible to bypass authorization checks within a Next.js application, if the authorization check occurs in middleware". Vercel's postmortem of 25 March 2025 names patched versions 12.3.5, 13.5.9, 14.2.25 and 15.2.3.

15 December 2025 (page date)

MITRE 2025 CWE Top 25

Missing Authorization (CWE-862) rises five places to fourth; Path Traversal (CWE-22) is sixth; Incorrect Authorization (CWE-863) 17th; Improper Access Control (CWE-284) 19th; Authorization Bypass Through User-Controlled Key (CWE-639) enters at 24th, up six. The list draws on 39,080 CVE records published between 1 June 2024 and 1 June 2025.

22 January 2026

CISA KEV, CVE-2025-31125

Vite "Improper Access Control Vulnerability", CWE-284: the development server "exposes content of non-allowed files" when exposed to the network.

7 July 2026

CISA KEV, CVE-2026-55255

Langflow "Authorization Bypass Through User-Controlled Key", CWE-639: an authenticated attacker can "execute any flow belonging to another user by specifying the victim's flow ID in the request". CVSS 8.4.

24 September 2026

CISA KEV, CVE-2026-71362

Adobe Commerce and Magento "Incorrect Authorization Vulnerability", CWE-863, "could result in privilege escalation". CVSS 9.1, no user interaction required.

9 November 2026

CISA KEV, CVE-2026-123218

IBM Aspera Faspex 5.0.0 through 5.0.19 "could allow an authorized user to craft a specific message to bypass user authorization and gain full administrative privileges". CVSS 9.8.

27 November 2026

CISA KEV, CVE-2026-129243

GeoServer, CWE-863: a prefixed service name was resolved to one service while security rules checked the unresolved name, so "operations restricted in service security ran without a role check". CISA notes it can be chained with four other GeoServer CVEs to reach unauthenticated remote code execution. CVSS 4.0 score 8.8.

3 December 2026

CISA KEV, CVE-2026-87887

Acronis Backup plugin for cPanel & WHM and extension for Plesk: "Sensitive information disclosure due to improper authorization", CWE-863. CVSS 7.5.

Timeline from February 2025 to December 2026 of broken access control flaws exploited in the wild and the disclosures and data behind them

Figure 2: Access control flaws added to CISA's KEV catalog, February 2025 to December 2026, with the disclosures behind them. Source: CISA KEV catalog, version 2026.12.03.

Counting across the catalog, Stingrai found 9 entries added in 2024, 13 in 2025 and 19 in 2026 to 3 December whose CISA-listed weakness is one of CWE-284, 285, 425, 639, 862 or 863. The count is conservative: 175 catalog entries carry no CWE at all, and entries whose CWE list holds none of the six, including those filed only under path traversal, missing authentication or privilege management, are not included.

Two things stand out. The GeoServer entry is a textbook CWE-863: a check existed, but it examined a different string from the one the dispatcher acted on, so a request could satisfy the check and still reach a restricted operation. The IBM Aspera Faspex entry is vertical escalation in one request: an "authorized user" becomes a full administrator. Neither needed a payload. Both were exploited.

What the data says about applications rather than products

CVE and KEV entries describe packaged software. Most broken access control lives in bespoke applications and SaaS products, where it surfaces through a breach, a researcher or a penetration test, never a patch bulletin. Three measurements cover that population.

  • OWASP Top 10:2025. A01 maps 40 CWEs, up from 34 in the 2021 edition, with 1,839,701 occurrences against 318,487 in 2021 and 32,654 related CVEs against 19,013. The average incidence rate is 3.74% of applications tested (OWASP's Introduction page rounds it to 3.73%), close to the 3.81% of 2021; the maximum coverage is 100%, against 94.55%. OWASP explains that it ignores how many instances an application has: "Whether an application has four instances of a CWE or 4,000 instances is not part of the calculation for the Top Ten."

  • Stingrai's own tests. In the State of Penetration Testing 2026 dataset, web application testing produced 768 findings across 40 tests. Broken access control was 9.9% of those findings and IDOR a further 7.9%, 17.8% together, and 70% of the 40 web application tests that produced findings surfaced at least one High or Critical authentication or authorization finding.

  • The CISA advisory. Its reason for existing is that IDOR flaws "are frequently exploited by malicious actors in data breach incidents".

What changed in the standards

Three OWASP documents define how the category is described, tested and verified, and all three moved between 2021 and 2025.

Document

What changed

Why it matters for testing

OWASP Top 10:2025, A01

Stays at #1. Server-Side Request Forgery "has been rolled into this category". Mapped CWEs rise from 34 to 40.

In Stingrai's reading, SSRF now counts as an access control failure because the server reaches a resource on the caller's behalf that the caller could not reach directly. Test scopes that list "A01" must include it.

OWASP ASVS 5.0, chapter V8 Authorization

Function-level (8.2.1), data-specific (8.2.2, "to mitigate insecure direct object reference (IDOR) and broken object level authorization (BOLA)") and field-level (8.2.3, "to mitigate broken object property level authorization (BOPLA)") checks are separate requirements. 8.3.1 requires enforcement "at a trusted service layer". 8.4.1 requires cross-tenant controls.

Each requirement is a separate test. A report that says "authorization tested" without naming the level has not followed the standard.

OWASP API Security Top 10 (2023)

API1 is broken object level authorization, API3 broken object property level authorization (which absorbed mass assignment), API5 broken function level authorization.

The API list splits one web category into three, each with its own test.

ASVS 5.0's control objective puts the design goal in one sentence: "Authorization ensures that access is granted only to permitted consumers (users, servers, and other clients)." The OWASP Authorization Cheat Sheet turns it into practice under headings that include "Enforce Least Privileges", "Deny by Default", "Validate the Permissions on Every Request" and "Create Unit and Integration Test Cases for Authorization Logic".

How broken access control differs from its neighbours

The vocabulary overlaps, and buyers often ask for one term while needing another.

Term

Relationship to broken access control

Where to read more

IDOR

One class inside the category: an identifier reaches an object with no ownership check.

IDOR vulnerability examples, testing and fixes

BOLA

The API name for the same object-level class, API1:2023.

Authorization testing for BOLA and IDOR, and why scanners miss it

Broken authentication

A different category, A07:2025. Authentication proves identity; access control decides what a proven identity may do. A perfect login does nothing for an application that then trusts every identifier.

OWASP Top 10:2025, A07

Application security assessment

The engagement in which the category is tested alongside the rest of the OWASP Top 10, with its own scope and deliverables.

Application security assessment scope, methods and deliverables

Web application penetration testing

The service whose scope and price are driven largely by how many roles and tenants must be tested against each other.

Web application penetration testing scope and cost

API penetration testing checklist

The per-endpoint checks, grouped by the API Security Top 10, that an API test should run before and after launch.

API penetration testing checklist

How to detect broken access control

There are no Windows event IDs here. Detection is application telemetry, and most applications do not produce it, which is why OWASP's A01 prevention list includes "Log access control failures, alert admins when appropriate (e.g., repeated failures)". The signals below are Stingrai's guidance, with the source for each named event or recommendation.

Signal

Where to look

Source

Authorization failures by user, resource and time

Application log, event authz_fail[:userid,resource], rated CRITICAL in the OWASP Logging Vocabulary

OWASP Application Logging Vocabulary Cheat Sheet

A direct request for an object the caller does not own

Event malicious_direct_reference, described as accessing an object "without credentials or appropriate access authority"

Same

A change in a user's entitlements, and every action by a privileged user

Events authz_change[:userid,from,to] and authz_admin[:userid,event], both rated WARN

Same

Bursts of 403 and 404 responses from one session or address

Web server and API gateway logs. CISA: "Web application error codes such as HTTP 404 and HTTP 403 are associated with common enumeration techniques."

CISA, ACSC and NSA advisory

One session touching many distinct identifiers in a short time, with 200 responses

API gateway logs, grouped by session or token and counting distinct object IDs per minute

Stingrai's guidance: a successful walk through identifiers produces no errors, so count the successes

Requests to administrative routes from sessions whose role is not administrator

Application log with the caller's role recorded on every request

Stingrai's guidance; requires the role to be logged, which most frameworks do not do by default

Decoy records

A record in each tenant that no real user owns, with an alert on any read of it that is not a test

Stingrai's guidance, by analogy with directory canary objects

A JWT whose claims were altered and whose signature failed

Authentication failures where the token parsed but did not verify

Stingrai's guidance; a token that parsed but failed verification is rarely a client bug

Three practical notes:

  • Log the decision, not only the refusal. A refused request proves the check ran. The dangerous case is the request that was never checked, and it logs as success. Recording the caller's identity, role and tenant alongside the object touched on every request is what makes the next point possible.

  • Count successes. CISA's 403 and 404 signal catches enumeration against an application whose checks work. Against an application whose checks are missing, the same enumeration is a run of 200s. A rule that counts distinct identifiers per session catches both.

  • Alert, do not only log. OWASP renamed A09 in 2025 to "Security Logging & Alerting Failures" because, in its words, "Great logging with no alerting is of minimal value in identifying security incidents."

How to fix broken access control

OWASP's A01 page opens its prevention list with a sentence that decides where the fix lives: "Access control is only effective when implemented in trusted server-side code or serverless APIs, where the attacker cannot modify the access control check or metadata." The fixes below follow that rule, in priority order, with the requirement or recommendation behind each.

Fix

What it does

Source

Deny by default

A new route, object type or field is closed until a rule opens it. OWASP: "Except for public resources, deny by default."

OWASP A01:2025; Authorization Cheat Sheet, "Deny by Default"

One authorization layer, reused everywhere

A policy layer or authorization service, so the check cannot be forgotten in one handler. OWASP: "Implement access control mechanisms once and reuse them throughout the application".

OWASP A01:2025

Enforce at a trusted service layer

Never in client-side code. ASVS 8.3.1: enforce "at a trusted service layer" and do not rely on "controls that an untrusted consumer could manipulate, such as client-side JavaScript".

OWASP ASVS 5.0, V8

Ownership in the lookup

OWASP: access controls "should enforce record ownership rather than allowing users to create, read, update, or delete any record". Bind the query to the caller's tenant and ownership rule, so a foreign object is never loaded.

OWASP A01:2025; ASVS 8.2.2

Function-level checks on every verb

A01 names "missing access controls for POST, PUT, and DELETE". ASVS 8.2.1: function-level access "restricted to consumers with explicit permissions".

OWASP A01:2025; ASVS 8.2.1

Field-level allow lists

ASVS 8.2.3: field-level access "restricted to consumers with explicit permissions to specific fields". API3:2023: avoid binding client input to internal objects automatically, and return only the properties the client should see.

ASVS 8.2.3; OWASP API3:2023

Cross-tenant controls

ASVS 8.4.1: multi-tenant applications "use cross-tenant controls to ensure consumer operations will never affect tenants with which they do not have permissions to interact".

ASVS 8.4.1

Path handling

Resolve file paths against an allow list of directories and canonicalize before the check; CWE-22 heads A01's mapped list.

WSTG-ATHZ-01 test objectives; CWE-22

CORS

OWASP: minimize Cross-Origin Resource Sharing usage; never reflect arbitrary origins with credentials allowed.

OWASP A01:2025; CWE-942

Sessions and tokens

"Stateful session identifiers should be invalidated on the server after logout. Stateless JWT tokens should be short-lived", with refresh tokens and OAuth revocation for longer-lived ones. Verify the signature before reading any claim.

OWASP A01:2025

Rate limits

"Implement rate limits on API and controller access to minimize the harm from automated attack tooling."

OWASP A01:2025

Random identifiers as depth, not as the control

CISA: replace exposed IDs with "cryptographically strong, random values", while noting that "UUIDs and GUIDs should not be used for security capabilities".

CISA AA23-208A

Tests that assert the denials

OWASP: "Developers and QA staff should include functional access control in their unit and integration tests." OWASP API1: "Write tests to evaluate the vulnerability of the authorization mechanism."

OWASP A01:2025; OWASP API1:2023

Documented rules

ASVS 8.1.1: documentation "defines rules for restricting function-level and data-specific access based on consumer permissions and resource attributes".

ASVS 8.1.1

The documented rules come last in the table and first in practice. A role matrix, one row per object type and operation and one column per role, is the artefact every other fix is checked against. Without it, "deny by default" has nothing to compare to, the integration tests have no expected results, and a penetration tester has to reconstruct the rules by asking.

How a penetration test finds broken access control

The OWASP Web Security Testing Guide gives the category four tests: WSTG-ATHZ-01 directory traversal and file include, WSTG-ATHZ-02 bypassing the authorization schema, WSTG-ATHZ-03 privilege escalation and WSTG-ATHZ-04 insecure direct object references. ATHZ-02 states the objective plainly, "Assess if horizontal or vertical access is possible", and its method starts with "Register or generate two users with identical privileges" and "Establish and maintain two different sessions based on the two different roles". ATHZ-04 says the best way to test is with "at least two (often more) users to cover different owned objects and functions".

What follows is how Stingrai runs that method. It describes the work, not the commands.

1. Build the role matrix before the first request. The tester and the client agree a table: every role, including support, partner and internal administrator roles; every object type; every operation on it (read, create, update, delete, export, share, administrative actions); and, for multi-tenant products, the tenant boundary. Each cell says allowed or denied. This is the written rule set ASVS 8.1.1 asks for, and most clients produce it for the first time at scoping.

2. Provision the identities. At least two accounts per role, in at least two tenants where the product is multi-tenant, plus a signed-out session. Each account creates its own objects, so every identifier used in testing belongs to a test account and no real customer's data is touched. OWASP's "at least two users" is a floor; two per role per tenant is Stingrai's working minimum, and it is Stingrai's number, not the standard's.

3. Inventory every reference. Using the application as each role while recording traffic, the tester lists each place an identifier, route or field appears: paths, query strings, JSON bodies, headers, cookies, file names, nested routes, GraphQL variables, WebSocket messages, the API behind the mobile app, and older API versions that still respond. Token claims are listed too.

4. Replay across identities. Every recorded request is sent again as every other identity and compared with the matrix. Account B replays account A's requests (horizontal). A standard user replays an administrator's requests (vertical). A signed-out session replays everything (forced browsing and missing checks). Write requests are tried with extra fields (mass assignment). Each result is one cell: expected denial, observed response.

5. Test the places single checks are forgotten. Export and reporting endpoints, bulk operations, search and list filters, downloads, second lookup paths such as slug instead of ID, and nested routes where the parent is checked and the child is not. Path handling is tested with the ATHZ-01 objectives: "Identify injection points that pertain to path traversal" and assess "the extent of path traversal". CORS is checked by origin, with and without credentials.

6. Examine tokens and sessions. Whether a modified claim is rejected, whether a token survives logout and password change, and whether invalidation holds across every service that accepts the token.

7. Report by cell, then retest. Each finding records the identity, the request, the expected result, the actual result and the impact in terms of the data or function exposed. After the fix, the same grid runs again. A finding is closed when the test that found it fails to reproduce it.

The arithmetic explains both the cost and why automation on its own falls short. Six operations, five identities and one object type is 30 checks. Twenty object types across three interfaces is 1,800. The flaw is usually in one of the unglamorous cells, and a tool that cannot tell which cells should be denied cannot find it.

Where Snipe fits in the method

Stingrai's autonomous agent, Snipe, tests web applications and associated APIs, and it was built for exactly this combinatorial part: it maps the application, holds several roles at once, and hunts IDOR, broken authorization and business logic flaws rather than only known-class bugs. In a Hybrid Pentest, Snipe tests the full application while Stingrai's certified penetration testers test the same application alongside it, direct its focus, validate and chain what it finds, and pursue the cases that need judgement, such as a rule that depends on an order's state or a partner's contract. Both contribute findings at every severity. The result is a grid that is complete rather than sampled.

Where Stingrai fits

Stingrai is a global CREST-accredited penetration testing services company founded in Toronto, Canada in 2021, trusted by companies from startups to enterprises to meet audit requirements for SOC 2, ISO 27001, CMMC, PCI DSS and HIPAA. OSCE³, OSWE, OSEP, CREST CRT certified penetration testers, who are also world-class security researchers and bug bounty hunters. Choose from fully human-led or hybrid (AI agents plus human penetration testers) engagements across web, API, mobile, AI and LLM, cloud, network, Active Directory and social engineering penetration tests and red team engagements. Stingrai Inc is a proud CREST member, holding the CREST accreditations Penetration Testing and AI-Enabled Penetration Testing and the company certification CREST AI Charter, as listed on the CREST Marketplace.

Access control is where Stingrai's web application penetration testing spends much of its time. The service page lists "Access control and IDOR across every role" as a coverage area, with object-level access "tested for every role pair" and privilege escalation between roles, and testing moves from black box to grey box with credentials for every role in scope, following OWASP WSTG, OWASP ASVS 5.0, PTES and NIST SP 800-115. API penetration testing applies the same matrix to the API Security Top 10's three authorization categories.

  • Hybrid Pentest. Snipe and two named penetration testers, from a team holding OSCE³, OSWE, OSEP and CREST CRT certifications, test the same application together throughout. It is US$6,800 per assessment for one web application and associated APIs, or US$1,275 a month on a 12-month continuous plan: monthly Snipe testing, human-verified, plus a quarterly deep dive by Stingrai's penetration testers. Continuous suits access control in particular, because every new route, object type and role is a new row in the matrix, and the KEV additions above show the class being exploited in the wild throughout 2026.

  • Autonomous Pentest. Snipe alone, at US$3,000 per assessment for one web application and associated APIs, covering up to three user roles and up to 200 API endpoints or dynamic pages, with automated retests and AutoFix pull requests. There is no human validation of findings.

  • Delivery. Every confirmed finding is posted to the PTaaS platform as it is confirmed, with a working proof of concept and remediation guidance, so a horizontal escalation on a billing endpoint does not wait for the final report. Retesting is included, and every engagement comes with an attestation letter that gives auditors penetration testing evidence for SOC 2, ISO 27001 and PCI DSS programs.

Engagements run as one-time (annual) tests or continuous programs. Multi-application estates, mobile applications and everything beyond one web application and associated APIs are quoted through Get a Quote.

Broken access control defender checklist

  • Write the role matrix: every role, object type, operation and tenant boundary, with allowed or denied in each cell (ASVS 8.1.1).

  • Deny by default, and route every request through one server-side authorization layer (OWASP A01:2025; ASVS 8.3.1).

  • Put ownership in the lookup: bind every query to the caller's tenant and ownership rule (OWASP A01:2025; ASVS 8.2.2).

  • Check function-level permissions on every verb, including POST, PUT and DELETE (ASVS 8.2.1).

  • Use field-level allow lists on every write and every response (ASVS 8.2.3; OWASP API3:2023).

  • Add cross-tenant controls and test them with two tenants (ASVS 8.4.1).

  • Canonicalize and allow-list file paths (CWE-22; WSTG-ATHZ-01).

  • Minimize CORS and never reflect arbitrary origins with credentials (OWASP A01:2025).

  • Invalidate sessions on logout, keep JWTs short-lived, verify signatures before reading claims (OWASP A01:2025).

  • Treat random identifiers as depth, never as the control (CISA AA23-208A).

  • Log authorization decisions with identity, role, tenant and object; alert on authz_fail bursts, on distinct-identifier walks and on any read of a decoy record (OWASP A01:2025; Logging Vocabulary).

  • Write integration tests that sign in as user B and request user A's objects, for every route, and fail the build when they pass (OWASP A01:2025; API1:2023).

  • Commission a test that replays every recorded request as every identity, and ask for the grid, not only the findings.

  • Retest every finding and keep the grid for the next release.

Frequently Asked Questions

What is broken access control?

Broken access control is the failure of an application to enforce which users may reach which data and functions, so that a user reads, changes or deletes records outside their permissions or acts in a role they do not hold. OWASP defines access control as enforcing policy "such that users cannot act outside of their intended permissions" and ranks the category first in the OWASP Top 10:2025 as A01, with 40 mapped CWEs, 1,839,701 occurrences in its contributed data and 32,654 related CVEs.

What are examples of broken access control?

OWASP's A01:2025 list includes viewing or editing someone else's account by providing its identifier (insecure direct object references), an API with missing access controls for POST, PUT and DELETE, acting as a user without being logged in or gaining privileges beyond those of the logged-in user, tampering with a JWT or cookie to elevate privileges, CORS misconfiguration that allows API access from untrusted origins, and force browsing to authenticated or privileged pages. Exploited examples added to CISA's KEV catalog in 2026 include Langflow CVE-2026-55255, IBM Aspera Faspex CVE-2026-123218 and GeoServer CVE-2026-129243.

What is the difference between horizontal and vertical privilege escalation?

Horizontal privilege escalation is reaching data or functions that belong to another user at the same privilege level, such as another customer's order. Vertical privilege escalation is reaching data or functions reserved for a higher role, such as an administrator's user management page. The OWASP Web Security Testing Guide's test WSTG-ATHZ-02 covers both, with the objective "Assess if horizontal or vertical access is possible", and tests them with two users of identical privilege and two sessions of different roles.

Why do vulnerability scanners miss broken access control?

A scanner sees a well-formed request and a successful response, and the fact that makes the request wrong, that the record belongs to someone else, lives in the application's business rules rather than in the HTTP exchange. OWASP says the data behind its Top 10 is "largely limited to what the industry can test for in an automated fashion", and the CISA, ACSC and NSA advisory on access control abuse states that "Not all DAST tools can detect IDOR vulnerabilities" and that those which can "are not foolproof and should be used with other security testing methods".

How do you test for broken access control?

Build a role matrix of every role, object type and operation with allowed or denied in each cell, provision at least two accounts per role in at least two tenants plus a signed-out session, record every request each identity makes, then replay every request as every other identity and compare each result with the matrix. The OWASP Web Security Testing Guide gives the category four tests, WSTG-ATHZ-01 to 04, and says the best way to test object references is with "at least two (often more) users". A penetration test reports each failed cell with the identity, request, expected and actual result, then retests after the fix.

How do you fix broken access control?

Deny by default except for public resources, implement the access control mechanism once and reuse it throughout the application, enforce it in trusted server-side code, enforce record ownership in every lookup, check function-level permissions on every verb, and allow-list the fields a client may read or write. OWASP ASVS 5.0 chapter V8 states the server-side, function-level, data-specific and field-level checks as requirements 8.3.1, 8.2.1, 8.2.2 and 8.2.3, with cross-tenant controls in 8.4.1. OWASP also calls for logging access control failures, rate limiting, short-lived tokens with server-side session invalidation, and functional access control in unit and integration tests.

How do you detect broken access control in logs?

Log every authorization decision with the caller's identity, role, tenant and the object touched, and alert on repeated authorization failures, which OWASP lists among its A01 preventions. The OWASP Logging Vocabulary names the events authz_fail, authz_change, authz_admin and malicious_direct_reference. CISA notes that bursts of HTTP 403 and 404 responses are associated with enumeration. Against an application whose checks are missing, enumeration produces 200 responses, so also count distinct identifiers per session and alert on reads of a decoy record that no real user owns.

Is broken access control the same as IDOR or BOLA?

No. IDOR and BOLA are one class inside the category: a client-supplied identifier reaches an object without an ownership check, which MITRE files as CWE-639. Broken access control also covers vertical privilege escalation, missing function-level checks, forced browsing, path traversal, CORS misconfiguration, token and session flaws and, through the OWASP API Security Top 10, mass assignment. OWASP's A01:2025 category maps 40 CWEs in all.

Does a web application penetration test cover broken access control?

It should, and the scope decides whether it does. A test that finds the category needs credentials for every role, two accounts per role, two tenants where the product is multi-tenant, and a written role matrix to compare against. Stingrai's web application penetration testing lists access control and IDOR across every role as a coverage area, with object-level access tested for every role pair. The Hybrid Pentest, in which Snipe and certified penetration testers test the same application together, is US$6,800 per assessment or US$1,275 a month continuous for one web application and associated APIs.

References

  1. OWASP. OWASP Top 10:2025, A01 Broken Access Control. https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/

  2. OWASP. OWASP Top 10:2025, Introduction. https://top10.owasp.org/2025/0x00_2025-Introduction/

  3. OWASP. OWASP Top 10:2021, A01 Broken Access Control. https://top10.owasp.org/2021/A01_2021-Broken_Access_Control/

  4. OWASP. Application Security Verification Standard 5.0.0, V8 Authorization. https://github.com/OWASP/ASVS/blob/v5.0.0/5.0/en/0x17-V8-Authorization.md

  5. OWASP. Web Security Testing Guide v4.2, Authorization Testing (WSTG-ATHZ-01 to 04). https://wstg.owasp.org/v4.2/4-Web_Application_Security_Testing/05-Authorization_Testing/02-Testing_for_Bypassing_Authorization_Schema/

  6. OWASP. API Security Top 10 2023, API1 and API3. https://api-security.owasp.org/editions/2023/en/0xa1-broken-object-level-authorization/

  7. OWASP. Authorization Cheat Sheet. https://cheatsheetseries.owasp.org/cheatsheets/Authorization_Cheat_Sheet.html

  8. OWASP. Application Logging Vocabulary Cheat Sheet. https://cheatsheetseries.owasp.org/cheatsheets/Logging_Vocabulary_Cheat_Sheet.html

  9. ACSC, CISA and NSA. Preventing Web Application Access Control Abuse (AA23-208A). 27 July 2023. https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-208a

  10. CISA. Known Exploited Vulnerabilities Catalog, version 2026.12.03. https://www.cisa.gov/known-exploited-vulnerabilities-catalog

  11. MITRE. 2025 CWE Top 25 Most Dangerous Software Weaknesses. https://cwe.mitre.org/top25/archive/2025/2025_cwe_top25.html

  12. MITRE. CWE-284, CWE-862, CWE-863, CWE-639, CWE-425, CWE-915, CWE-942. https://cwe.mitre.org/data/definitions/284.html

  13. Vercel. Postmortem on Next.js Middleware Bypass. 25 March 2025. https://vercel.com/blog/postmortem-on-next-js-middleware-bypass

  14. Verizon. 2026 Data Breach Investigations Report. https://www.verizon.com/business/resources/reports/dbir/

  15. Google Cloud, Mandiant. M-Trends 2026. 23 March 2026. https://cloud.google.com/blog/topics/threat-intelligence/m-trends-2026

  16. Stingrai. The State of Penetration Testing 2026. https://www.stingrai.io/blog/state-of-penetration-testing-2026

Talk to Stingrai

Want to know which cells of your role matrix fail today? Stingrai scopes web application and API penetration tests that replay every request as every identity, with retesting included, as a one-time engagement or a continuous program. Get a Quote or book a free discovery call.

0 views

0

X

Related reading

Application Security Assessment (2026): Scope, Methods, Deliverables and Services
Web App Security

Application Security Assessment (2026): Scope, Methods, Deliverables and Services

Application security assessment explained: the assessment types, what each finds against the OWASP Top 10:2025 and ASVS 5.0 levels, deliverables and cost.

17 min read

CVE Statistics 2026: CVEs per Year, NVD Backlog, CVSS Severity and CNAs
Web App Security

CVE Statistics 2026: CVEs per Year, NVD Backlog, CVSS Severity and CNAs

CVE statistics 2026: 107,066 CVEs published to 30 November, 2.2 times 2025, with 86% lacking an NVD CVSS score. Stingrai's count of every NVD record.

13 min read

Cyber Security Audit (2026): Scope, Frameworks, Stages and the Evidence Behind It
Web App Security

Cyber Security Audit (2026): Scope, Frameworks, Stages and the Evidence Behind It

Cyber security audit explained: what it reviews, the frameworks, who performs it, the stages, deliverables and the technical testing behind the evidence.

17 min read

Contents

X