# CVE-2021-41100: Account takeover when having only access to a user's short lived token in wire-server

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.4
- **CVSS:** 7.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.90% (percentile 58, 2026-11-26)
- **CWE:** CWE-285
- **Published:** 2021-10-04T18:25:10.000Z
- **Modified:** 2026-06-17T04:07:52.593Z

## Who should check

- Anyone running wireapp wire-server \< 2021-08-16

## Description

Wire-server is the backing server for the open source wire secure messaging application. In affected versions it is possible to trigger email address change of a user with only the short-lived session token in the \`Authorization\` header. As the short-lived token is only meant as means of authentication by the client for less critical requests to the backend, the ability to change the email address with a short-lived token constitutes a privilege escalation attack. Since the attacker can change the password after setting the email address to one that they control, changing the email address can result in an account takeover by the attacker. Short-lived tokens can be requested from the backend by Wire clients using the long lived tokens, after which the long lived tokens can be stored securely, for example on the devices key chain. The short lived tokens can then be used to authenticate the client towards the backend for frequently performed actions such as sending and receiving messages. While short-lived tokens should not be available to an attacker per-se, they are used more often and in the shape of an HTTP header, increasing the risk of exposure to an attacker relative to the long-lived tokens, which are stored and transmitted in cookies. If you are running an on-prem instance and provision all users with SCIM, you are not affected by this issue (changing email is blocked for SCIM users). SAML single-sign-on is unaffected by this issue, and behaves identically before and after this update. The reason is that the email address used as SAML NameID is stored in a different location in the databse from the one used to contact the user outside wire. Version 2021-08-16 and later provide a new end-point that requires both the long-lived client cookie and \`Authorization\` header. The old end-point has been removed. If you are running an on-prem instance with at least some of the users invited or provisioned via SAML SSO and you cannot update then you can block \`/self/email\` on nginz (or in any other proxies or firewalls you may have set up). You don't need to discriminate by verb: \`/self/email\` only accepts \`PUT\` and \`DELETE\`, and \`DELETE\` is almost never used.

## Affected and fixed versions

- wireapp wire-server: \< 2021-08-16 (cvelist)

## Mitigation

- Upgrade wire-server to 2021-08-16 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-41100. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-41100.md
Affected: wireapp wire-server < 2021-08-16
Fixed in: wireapp wire-server 2021-08-16

Steps:
1. Search this machine and project for wireapp wire-server: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-41100 being exploited?

There is no confirmed exploitation: CVE-2021-41100 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.90% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-41100?

High: CVSS 7.4 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2021-41100?

wireapp wire-server \< 2021-08-16.

### Is there a fix for CVE-2021-41100?

Yes. Fixed in wireapp wire-server 2021-08-16. Upgrade wire-server to 2021-08-16 or later.

### How do I check if I'm affected by CVE-2021-41100?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/wireapp/wire-server/security/advisories/GHSA-9rm2-w6pq-333m>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-41100>

HTML: <https://flawdb.com/CVE-2021-41100> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-41100>
