# CVE-2022-31122: Wire-server vulnerable to Token Recipient Confusion resulting in account impersonation, deletion or malicious account creation

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 55% of CVEs (2026-12-01)
- Published: 2022-10-18T00:00:00.000Z
- Modified: 2026-06-17T04:44:50.973Z
- Weaknesses: CWE-287, CWE-1270
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

Wire is an encrypted communication and collaboration platform. Versions prior to 2022-07-12/Chart 4.19.0 are subject to Token Recipient Confusion. If an attacker has certain details of SAML IdP metadata, and configures their own SAML on the same backend, the attacker can delete all SAML authenticated accounts of a targeted team, Authenticate as a user of the attacked team and create arbitrary accounts in the context of the team if it is not managed by SCIM. This issue is fixed in wire-server 2022-07-12 and is already deployed on all Wire managed services. On-premise instances of wire-server need to be updated to 2022-07-12/Chart 4.19.0, so that their backends are no longer affected. As a workaround, the risk of an attack can be reduced by disabling SAML configuration for teams (galley.config.settings.featureFlags.sso). Helm overrides are located in `values/wire-server/values.yaml` Note that the ability to configure SAML SSO as a team is disabled by default for on-premise installations.

(As written by CVE List.)

## Affected

- wireapp wire-server: < 2022-07-12; < 4.19.0
- wire wire_server: before 2022-07-12

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/wireapp/wire-server/security/advisories/GHSA-gq27-gmgq-fmxw> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-31122](https://www.cve.org/CVERecord?id=CVE-2022-31122), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-31122](https://nvd.nist.gov/vuln/detail/CVE-2022-31122), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31122 · Whole record: https://cve.day/CVE-2022-31122.json · Rebuilt by cve.day 2026-11-25T22:58:15.812Z
