CVE-2022-31122 in Wire Server
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 t...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Wire | Wire Server | < 2022-07-12 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-31122 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-319213-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-10-18 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-287: Improper Authentication
Software does not prove or insufficiently proves that the user is who they claim to be.
CWE-1270: CWE-1270
Related attack patterns (CAPEC)
CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data via CWE-287
CAPEC-633 Token Impersonation via CWE-287, CWE-1270
CAPEC-650 Upload a Web Shell to a Web Server via CWE-287
CAPEC-681 Exploitation of Improperly Controlled Hardware Security Identifiers via CWE-1270
CAPEC-121 Exploit Non-Production Interfaces via CWE-1270
Show all 12
CAPEC-194 Fake the Source of Data via CWE-287
CAPEC-593 Session Hijacking via CWE-287
CAPEC-22 Exploiting Trust in Client via CWE-287
CAPEC-94 Adversary in the Middle (AiTM) via CWE-287
CAPEC-114 Authentication Abuse via CWE-287
CAPEC-115 Authentication Bypass via CWE-287
CAPEC-151 Identity Spoofing via CWE-287
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Wire versions prior to 2022-07-12/Chart 4.19.0 are vulnerable to Token Recipient Confusion, allowing attackers to delete SAML authenticated accounts, authenticate as a user, and create arbitrary accounts if they have details of SAML IdP metadata and configure their own SAML on the same backend.
An attacker with access to SAML IdP metadata can set up their own SAML configuration on the same backend as the target Wire instance. This misconfiguration can lead to the deletion of SAML authenticated accounts, unauthorized user authentication, and the creation of arbitrary accounts within the targeted team.
Questions
What is CVE-2022-31122?
Wire versions prior to 2022-07-12/Chart 4.19.0 are vulnerable to Token Recipient Confusion, allowing attackers to delete SAML authenticated accounts, authenticate as a user, and create arbitrary accounts if they have details of SAML IdP metadata and configure their own SAML on the same backend.
What is the CVSS score for CVE-2022-31122?
CVE-2022-31122 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.8%.
Is CVE-2022-31122 actively exploited?
No confirmed active exploitation of CVE-2022-31122 as of 2026-09-25.
How do I remediate CVE-2022-31122?
Priority: IMMEDIATE.
What systems are affected by CVE-2022-31122?
CVE-2022-31122 affects Wire Wire Server.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Wire","product":"Wire Server","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.