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
What's happening
Finding3Under 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.
flag a problem with BI-FIND-2025-0385
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.
flag a problem with BI-FIND-2025-0386
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.
flag a problem with BI-FIND-2025-0387
Section by section
3showing 3 of 3
[1]Cursor parameters, response attributes and errors
Matt Peterson, Entrust · Danny Zollner, Independent · Anjali Sehgal, Amazon Web Services
Standards
Cursor parameters, response attributes and errors
Matt Peterson, Entrust · Danny Zollner, Independent · Anjali Sehgal, Amazon Web Services
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
Cursor-only and dual pagination, POST search and ServiceProviderConfig
Matt Peterson, Entrust · Danny Zollner, Independent · Anjali Sehgal, Amazon Web Services
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
Security considerations: cursors are not credentials
Matt Peterson, Entrust · Danny Zollner, Independent · Anjali Sehgal, Amazon Web Services
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