CVE-2026-95624

Tauri framework v2 malicious downgrade via allow_downgrades from frontend code

Published Sep 22, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
The Tauri updater plugin's 'check' IPC command accepts an allowDowngrades boolean parameter directly from frontend JavaScript code. When set to true, it replaces the version comparator from "update must be newer" to "update must be different." Because the default permission set grants allow-check to the webview, any XSS in the app frontend can invoke this command and bypass the only anti-rollback protection the updater offers. Combined with another bug, this enables downgrade attacks without even needing to fake a higher version number.

Analysis

AI-generated

Technical impact

The tauri-plugin-updater’s IPC ‘check’ command accepts a boolean allowDowngrades parameter from frontend JavaScript. When set to true, the update logic changes from enforcing that a new version be newer to only checking that it is different, thereby disabling the updater’s anti-rollback protection. As the default permission set grants allow‑check to the webview, any XSS vulnerability in the front‑end can trigger this command and force a downgrade to an older, potentially vulnerable release. This allows an attacker to replace a trusted build with malware or an older version containing known weaknesses, effectively compromising the application.

Affected Systems

Any Tauri application that uses the tauri-plugin-updater before v2.12.0 is vulnerable. The flaw exists only when the frontend can call the updater’s IPC ‘check’ command, which is granted by default to the webview. The upstream fix removes the allowDowngrades parameter from the command and reads it from the plugin configuration, where front‑end code cannot reach it, and it defaults to false. Legacy apps that have not upgraded to 2.12.0 or that still rely on a custom version comparator remain affected.

Risk and Exploitability

The CVSS score of 6.8 indicates a moderate severity vulnerability, but the lack of an EPSS score means the likelihood of exploitation is not quantified. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector requires a frontend XSS or an ability to inject JavaScript into the webview, after which the attacker can invoke the check command with allowDowngrades set to true. Once a downgrade is triggered, the attacker can install a malicious or vulnerable build, potentially leading to code execution. Therefore, while the standalone impact is moderate, the potential downstream compromise is significant, warranting immediate attention.

Remediation

Vendor Solution

Fixed in tauri-plugin-updater 2.12.0. allowDowngrades was removed from the check command and is now read from the plugin configuration instead, where the frontend cannot reach it, and it defaults to false. An application that provides its own version comparator still takes precedence.


OpenCVE Recommended Actions

  • Update to tauri-plugin-updater 2.12.0 or later where allowDowngrades is protected.
  • Configure the updater to explicitly set allowDowngrades to false in its plugin configuration.
  • Harden the app’s frontend by enforcing strict CSP and sanitizing inputs to eliminate XSS.

Generated by OpenCVE AI on September 22, 2026 at 18:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Tauri
Tauri tauri-plugin-updater
Vendors & Products Tauri
Tauri tauri-plugin-updater
Type Values Removed Values Added
Description The Tauri updater plugin's 'check' IPC command accepts an allowDowngrades boolean parameter directly from frontend JavaScript code. When set to true, it replaces the version comparator from "update must be newer" to "update must be different." Because the default permission set grants allow-check to the webview, any XSS in the app frontend can invoke this command and bypass the only anti-rollback protection the updater offers. Combined with another bug, this enables downgrade attacks without even needing to fake a higher version number.
Title Tauri framework v2 malicious downgrade via allow_downgrades from frontend code
Weaknesses CWE-284
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
JFROG
Published
Updated
Sep 22, 2026, 7:30 PM
Reserved
Sep 22, 2026, 10:38 AM
Status
Deferred
Published
Sep 22, 2026, 6:17 PM
Modified
Sep 22, 2026, 8:17 PM