Unauthorized Password Reset Allows Account Takeover Across Tenant Boundaries
A tenant admin could change the password of another user within the same tenant, including invited agency accounts, after the victim accepted the invitation. This could allow unintended account access within a shared tenant environment, though MFA prevented logins when enabled.
- Triaged in 3 hours
- Fixed in 12 days
- Disclosed after 28 days
Summary by the program
We discovered an authorization issue in app.lemlist.com where a tenant admin could change the password of another user within the same tenant, including invited agency accounts. The victim must first accept the invitation before the attacker can proceed. The issue could allow unintended account access within a shared tenant environment, but MFA successfully prevented logins when enabled. The Lemlist team was notified and addressed the problem to ensure stricter access controls for user credential changes.
What the report shows
The target is app.lemlist.com, the web application of the lemlist platform. The feature involved is password management for users inside a tenant, including accounts that have been invited into that tenant as agency accounts.
The issue is an authorisation flaw: a tenant admin could change the password of another user within the same tenant. The program's summary describes this as an authorisation issue in which the admin's privileges were applied too broadly to credential changes for other accounts.
One precondition matters. The victim must first accept the invitation before the attacker can proceed. In other words, the invited agency account has to be an active member of the tenant before the password change becomes possible; an invitation that is still pending is not enough.
The report does not include the individual HTTP requests, parameters or responses that were used. It is a short program summary rather than a step-by-step reproduction, so the exact endpoint and body of the password change request are not documented here.
The outcome: the Lemlist team was notified and addressed the problem, tightening access controls around user credential changes. The report is rated high severity with a CVSS score of 8.4. No bounty figure is given.
Root cause
The program describes this as an authorisation issue in which a tenant admin could change another user's password within the same tenant. A tenant admin is legitimately allowed to manage many things inside the tenant, but changing another person's password is a credential operation that should be restricted to the account owner, or to a tightly scoped recovery flow.
A tenant admin could change the password of another user within the same tenant, including invited agency accounts that had accepted the invitation. The boundary that should have stopped this is the tenant boundary combined with per-account ownership: the admin's authority over tenant resources was incorrectly extended to another user's login secret.
Impact
Within a shared tenant, an attacker holding the admin role could take over another member's account by setting a new password, then using it to log in as that user. The program frames this as unintended account access inside a shared tenant environment.
There is an important hedge: MFA successfully prevented logins when it was enabled. So the practical takeover depended on the victim not having multi-factor authentication active. Where MFA was on, the changed password alone was not enough to get in.
The precondition that the victim must have accepted the invitation limits the window: pending invitees were not reachable this way.
How this kind of bug works
This is a broken object-level authorisation problem applied to credentials. Web applications commonly separate authentication (who you are) from authorisation (what you may do). Role checks answer the second question at a coarse level: is this user an admin? They do not answer the finer question: is this specific object, here another user's password, something this caller may modify?
When a handler trusts the role and skips the ownership check, any principal with that role can act on any object the handler accepts. Password change endpoints are attractive because success yields direct account access, and because the request usually carries the target user's identifier alongside the new secret. If the server reads the target identifier from the request and never compares it to the session's user, the flaw is present.
Defences are straightforward in principle: derive the target account from the authenticated session rather than from client input for self-service flows; if an administrative reset flow genuinely exists, require a separate, explicit privilege and log it; and require the current password or a re-authentication step for sensitive credential changes. MFA is a useful second layer, as this case shows, but it is not a substitute for the authorisation check.
How to test for it
A general method for this bug class:
- Map the credential features: password change, password reset, email change, and any admin console that lists tenant members. Note which requests carry a user identifier.
- Create two accounts in the same tenant, one with the admin role and one ordinary member, and complete any invitation step so both are active.
- As the admin, capture the password change request for your own account and note every parameter: target user id, email, tenant id, current password field.
- Replay the request with the target identifier swapped for the second account's identifier, keeping your own session. Observe whether the server accepts it.
- Try the same swap across tenants, and with a low-privilege session, to see how far the check extends.
- Confirm the effect by attempting to log in as the second account with the new password, and note whether MFA blocks it.
A positive result is a successful response to the swapped request plus a working login as the other account. Common false positives: the server returns success but silently ignores the change; the change applies only to the caller's own account because the identifier is ignored; the target account is pending and not yet active; or a re-authentication prompt blocks the flow, which is a defence rather than a bug. Always verify the state change, not just the status code.
How it is fixed
Standard fixes for this class:
- Enforce object-level authorisation: the target account for a self-service password change must come from the session, not from client-supplied identifiers.
- If an administrative reset is a real requirement, gate it behind a distinct permission, restrict it to accounts the admin is entitled to manage, and log it.
- Require the current password or a fresh re-authentication before credential changes.
- Keep MFA enforced for sensitive actions, since it limits the value of a stolen or reset password.
- Add regression tests that attempt cross-account and cross-tenant password changes with an admin session.
Hunting notes
This bug class tends to hide in multi-tenant SaaS where roles are broad and object identifiers travel in request bodies: team and workspace management, member invitation flows, agency or partner accounts, and admin panels that expose user records. Invitation acceptance is a good signal, because it creates a second active principal you control inside the same tenant.
Recon signals worth watching: endpoints containing words like password, reset, change, members, users with an id parameter; GraphQL mutations that take a user id; and any UI where an admin can view another member's profile. Compare what the UI allows with what the API accepts, since the server may be more permissive than the interface.
What happened, in plain words
lemlist is a service that teams use to run email outreach. Its web application lives at app.lemlist.com. Inside the application, users are grouped into a tenant: a shared workspace, like a company account, where several people work together. One person in that workspace can hold the admin role, which means they are allowed to manage things for the team.
The feature at the centre of this report is password management. Normally, only you should be able to set your own password. In this case, a tenant admin could change the password of another user in the same tenant, including accounts that had been invited into the tenant as agency accounts (accounts belonging to an outside agency that works with the team).
There is one condition. The victim had to accept the invitation first. An invitation that is still waiting to be accepted is not enough; the invited account must already be an active member of the tenant before the password change becomes possible. This matters because it narrows who could be attacked: only people who had already joined the workspace.
Why is this serious? A password is the key to an account. If someone else can set your password, they can then log in as you and see and do everything you can. The program describes the result as unintended account access inside a shared tenant environment.
There is an important limit on the impact. When the victim had MFA (multi-factor authentication, a second proof of identity such as a code from a phone app) switched on, the login was successfully prevented. So the changed password alone was not enough to get in; the practical takeover depended on the victim not having MFA active.
The Lemlist team was notified and fixed the problem, tightening the access controls around changes to user credentials. The report is rated high severity with a CVSS score of 8.4. CVSS is a standard scoring system for the seriousness of a security flaw. No bounty figure is given.
The report is a short summary written by the program rather than a step-by-step reproduction. It does not include the individual HTTP requests, parameters or responses that were used, so the exact endpoint and body of the password change request are not documented.
In general, how this kind of bug works
This is an authorisation flaw. Two ideas are often confused, so it helps to separate them:
- Authentication answers "who are you?" It is the login step.
- Authorisation answers "what are you allowed to do?" It is the permission step.
A web application works by receiving requests from your browser and sending back responses. A request is simply a message asking the server to do something, such as "change the password for user 42". Each request carries information: the address of the feature being called (the endpoint), the data sent along with it (the parameters), and usually a session cookie, a small piece of data the browser stores and sends back so the server recognises you as already logged in.
Many applications check permissions at a coarse level: "is this user an admin?" That is a role check. It does not answer the finer question: "is this particular thing, here another person's password, something this caller may change?" When the server trusts the role and skips the check on the specific object being touched, any admin can act on any account the feature accepts. Security people call this broken object-level authorisation.
Password change features are attractive to attackers because success gives direct access to an account, and because the request usually carries the target user's identifier next to the new password. If the server reads that identifier from the request and never compares it with the logged-in user, the flaw is present. A useful everyday comparison: a hotel key card that opens every room because the system only checks that you are a guest, not which room you booked.
The defences are straightforward in principle:
- For self-service flows, take the target account from the logged-in session, not from data the client sends.
- If an administrative reset genuinely exists, require a separate, explicit permission, limit it to accounts the admin is entitled to manage, and log it.
- Require the current password or a fresh login before sensitive credential changes.
- Keep MFA enforced for sensitive actions, since it limits the value of a stolen or reset password. As this case shows, MFA is a useful second layer, but it is not a substitute for the authorisation check.
How to test for it
A general method for this bug class:
- Map the credential features: password change, password reset, email change, and any admin console that lists tenant members. Note which requests carry a user identifier.
- Create two accounts in the same tenant, one with the admin role and one ordinary member, and complete any invitation step so both are active.
- As the admin, capture the password change request for your own account and note every parameter: target user id, email, tenant id, current password field.
- Replay the request with the target identifier swapped for the second account's identifier, keeping your own session. Observe whether the server accepts it.
- Try the same swap across tenants, and with a low-privilege session, to see how far the check extends.
- Confirm the effect by attempting to log in as the second account with the new password, and note whether MFA blocks it.
A positive result is a successful response to the swapped request plus a working login as the other account. Common false positives: the server returns success but silently ignores the change; the change applies only to the caller's own account because the identifier is ignored; the target account is pending and not yet active; or a re-authentication prompt blocks the flow, which is a defence rather than a bug. Always verify the state change, not just the status code.
Where this bug tends to hide
This bug class tends to hide in multi-tenant software where roles are broad and object identifiers travel in request bodies: team and workspace management, member invitation flows, agency or partner accounts, and admin panels that expose user records. Invitation acceptance is a good signal, because it creates a second active principal you control inside the same tenant.
Signals worth watching during reconnaissance: endpoints containing words like password, reset, change, members, users with an id parameter; GraphQL mutations that take a user id; and any interface where an admin can view another member's profile. Compare what the interface allows with what the API accepts, since the server may be more permissive than the screen in front of you.
Glossary
- Tenant: a shared workspace, such as a company account, that groups several users and their data together.
- Admin: a user role that grants permission to manage things for the team inside the tenant.
- Agency account: an account belonging to an outside agency that has been invited into a tenant to work with the team.
- Invitation: an offer to join a tenant, which only takes effect once the invited person accepts it.
- Authentication: the process of proving who you are, usually by logging in.
- Authorisation: the process of deciding what an authenticated user is allowed to do.
- Role check: a permission test based only on the user's role, such as "is this user an admin?", without looking at the specific object being touched.
- Broken object-level authorisation: a flaw where the server fails to check whether the caller may act on the specific object (here, another user's password).
- Request: a message from the browser asking the server to perform an action.
- Endpoint: the address of a specific feature on the server that a request is sent to.
- Parameter: a piece of data sent with a request, such as a user id or a new password.
- Session cookie: a small piece of data stored by the browser and sent with requests so the server recognises you as logged in.
- MFA (multi-factor authentication): a second proof of identity at login, such as a code from a phone app, on top of the password.
- CVSS: a standard scoring system for rating the severity of a security flaw.
- Reconnaissance: the exploratory phase of security testing, where you look for interesting features and endpoints.
- GraphQL mutation: a request in the GraphQL API style that changes data on the server.
- False positive: a test result that looks like a vulnerability but is not one in reality.