Skip to content
IAM Insights

Briefing · Draft · source · published · Boston Identity

SCIM's cursor-paging draft says holding a cursor grants no access, and permissions are checked again as the caller pages

In July 2025 the IETF's SCIM working group posted revision -11 of its cursor-pagination draft, by Matt Peterson of Entrust, the independent author Danny Zollner and Anjali Sehgal of AWS. It lets a SCIM provider whose back end already pages with cursors hand those cursors to clients, so it no longer has to rebuild numbered pages in memory. The security section says a cursor grants no extra access, even one that another caller's query produced.

IETF Datatracker · Matt Peterson, Danny Zollner, Anjali Sehgal · July 16, 2025 · read

share
3,836 words. With Matt Peterson, author, Entrust; Danny Zollner, author, Independent; Anjali Sehgal, author, Amazon Web Services.
01

What's happening

Finding3
BI-FIND-2025-0385Lead finding

Under the draft, a cursor grants nothing, and paging MUST stay within the data the actor's current identity may access, even with another actor's cursor.

The draft's security section says a cursor grants nothing. Implementers MUST confine paging to the data the actor's current identity may access, even when the actor holds a cursor that another actor's query produced, and authorization checks MUST be applied continuously as the actor moves through the results. Where possible, providers SHOULD invalidate an actor's cursors as soon as its permissions change; the alternative it allows is to keep them but update result-set metadata, such as record counts, to the new permissions. A page outside the caller's scope and a page that does not exist should get the same error message.

high confidencebest source: vendor, technicalobserved Jul 2025EvidenceSecurity considerations
flag a problem with BI-FIND-2025-0385
BI-FIND-2025-0386

Peterson, Zollner and Sehgal argue SCIM's numbered paging makes cursor-based providers walk and store whole result sets, a cost they do not measure.

Peterson, Zollner and Sehgal argue that SCIM's numbered paging forces a provider whose back end pages with cursors to walk the whole cursor, store the results and serve numbered pages from the copy, which they say adds complexity and memory and may hold back SCIM adoption. They give no measurements for that cost. Their fix adds cursor and count query parameters, a nextCursor attribute that providers MUST return on every page but the last, an optional previousCursor, cursor values that are opaque, URL-safe strings, and three new errors: invalidCursor, expiredCursor and invalidCount.

high confidencebest source: vendor, technicalobserved Jul 2025EvidenceSection 1
flag a problem with BI-FIND-2025-0386
BI-FIND-2025-0387

Under this draft a provider MAY return cursors to a client that did not ask for them, so a client cannot assume numbered paging.

A client cannot assume numbered paging under this draft. A provider MAY make cursors its only method by returning nextCursor even when the request carried no cursor parameter, and a provider offering both MUST choose a default; the draft advises providers adding cursors to existing numbered paging to keep numbered paging as that default. Support is advertised in an optional pagination object in /ServiceProviderConfig, which providers SHOULD include, with page sizes and a cursorTimeout giving the minimum seconds a cursor stays valid between requests. Clients MUST NOT read missing values as meaning there are no limits.

high confidencebest source: vendor, technicalobserved Jul 2025EvidenceSection 2
flag a problem with BI-FIND-2025-0387
02

Section by section

3

showing 3 of 3

[1]

Cursor parameters, response attributes and errors

Matt Peterson, Entrust · Danny Zollner, Independent · Anjali Sehgal, Amazon Web Services

Standards

SCIM's numbered paging forces a provider whose back end pages with cursors to walk the whole cursor and store the results, a step the authors call 'pagination translation'. The draft adds cursor and count query parameters, a nextCursor attribute and an optional previousCursor, opaque URL-safe cursor values, and the errors invalidCursor, expiredCursor and invalidCount. Two authors work at Entrust and AWS; the third is independent.

technical artifactfrom published text

[2]

Cursor-only and dual pagination, POST search and ServiceProviderConfig

Matt Peterson, Entrust · Danny Zollner, Independent · Anjali Sehgal, Amazon Web Services

Standards

A provider may make cursors its only paging method by returning nextCursor even when the client sent no cursor parameter. One that supports both methods must pick a default, and the draft advises providers adding cursors to keep numbered paging as that default. Cursor parameters also work in POST /.search, and an optional pagination object in /ServiceProviderConfig advertises the methods, the default, page sizes and cursorTimeout.

technical artifactfrom published text

[3]

Security considerations: cursors are not credentials

Matt Peterson, Entrust · Danny Zollner, Independent · Anjali Sehgal, Amazon Web Services

Standards

The threat model covers malicious actors, signed in or not, and legitimate users who overload a provider by mistake. Authorization must be rechecked as a cursor is walked, and holding a cursor grants no access, even one issued to someone else. For availability the draft recommends authentication for large result sets, rate limiting, caps on open cursors and cheap invalidation. Paul Lanzi of IDenovate led the section.

technical artifactfrom published text

Terms used

IETF
The body that writes the internet's protocol standards, including OAuth, JWT, and the workload-identity work known as WIMSE.
SCIM
A standard application programming interface (API) for creating, updating and removing user accounts across applications, specified in RFC 7643 and RFC 7644.
Threat modeling
Working out, before building, what could go wrong with a system and who might attack it.

Read next

Shares RFC 7643 (SCIM Core Schema), RFC 7644 (SCIM Protocol) and HTTP Semantics (RFC 9110) with RFC 9865 publishes SCIM cursor paging with draft -11's rules intact: a cursor still grants no access.

Shares RFC 7643 (SCIM Core Schema), RFC 7644 (SCIM Protocol) and HTTP Semantics (RFC 9110) with RFC 9967 lets SCIM report a deactivated account and leaves what that means to each sender and receiver.

Shares RFC 7643 (SCIM Core Schema), RFC 7644 (SCIM Protocol) and Uniform Resource Identifier (URI): Generic Syntax (RFC 3986) with RFC 7644 leaves SCIM's access rules to each deployment, and a bulk request can succeed in part.

Was this briefing useful?

Share this briefing

Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.

Follow us on LinkedInRSS feed

Working on an identity problem this research touches? Talk to Boston Identity