CVE-2023-31134
JSON

4.8medium

Tauri Open Redirect Vulnerability Possibly Exposes IPC to External Sites

Severity
4.8medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.52% (higher than 45% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-4wm2-cwcf-wwvp

Description

Tauri is software for building applications for multi-platform deployment. The Tauri IPC is usually strictly isolated from external websites, but in versions 1.0.0 until 1.0.9, 1.1.0 until 1.1.4, and 1.2.0 until 1.2.5, the isolation can be bypassed by redirecting an existing Tauri window to an external website. This is either possible by an application implementing a feature for users to visit arbitrary websites or due to a bug allowing the open redirect. This allows the external website access to the IPC layer and therefore to all configured and exposed Tauri API endpoints and application specific implemented Tauri commands. This issue has been patched in versions 1.0.9, 1.1.4, and 1.2.5. As a workaround, prevent arbitrary input in redirect features and/or only allow trusted websites access to the IPC.

Affected

Product or packageVersionsReported by
tauri-apps tauri>= 1.0.0, < 1.0.9, >= 1.1.0, < 1.1.4, >= 1.2.0, < 1.2.5CVE List
tauri (crates.io)from 1.0.0 before 1.0.9, from 1.1.0 before 1.1.4, from 1.2.0 before 1.2.5GitHub Advisory Database
tauri taurifrom 1.0.0 before 1.0.9, from 1.1.0 before 1.1.4, from 1.2.0 before 1.2.5NVD

All scores

GitHub_M4.8medium CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
GitHub4.8medium CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-601

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Tauri is software for building applications for multi-platform deployment. The Tauri IPC is usually strictly isolated from external websites, but in versions 1.0.0 until 1.0.9, 1.1.0 until 1.1.4, and 1.2.0 until 1.2.5, the isolation can be bypassed by redirecting an existing Tauri window to an external website. This is either possible by an application implementing a feature for users to visit arbitrary websites or due to a bug allowing the open redirect. This allows the external website access to the IPC layer and therefore to all configured and exposed Tauri API endpoints and application specific implemented Tauri commands. This issue has been patched in versions 1.0.9, 1.1.4, and 1.2.5. As a workaround, prevent arbitrary input in redirect features and/or only allow trusted websites access to the IPC.

GitHub Advisory Database
Impact

The Tauri IPC is usually strictly isolated from external websites but the isolation can be bypassed by redirecting an existing Tauri window to an external website. This is either possible by an application implementing a feature for users to visit arbitrary websites or due to a bug allowing the open redirect1.

This allows the external website access to the IPC layer and therefore to all configured and exposed Tauri API endpoints and application specific implemented Tauri commands.

Patches

This issue has been patched in the latest release and was backported to all previous 1.x releases.

Workarounds

Prevent arbitrary input in redirect features. Only allow trusted websites access to the IPC.

References

The feature to enable this behavior in a more constrained way was introduced in the 1.3 release and documentation around this can be found in the documentation.

Footnotes

  1. https://en.wikipedia.org/wiki/Open_redirect ↩

References

https://github.com/tauri-apps/tauri/security/advisories/GHSA-4wm2-cwcf-wwvpvendor-advisory, web
https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.0.9release-notes, web
https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.1.4release-notes, web
https://github.com/tauri-apps/tauri/releases/tag/tauri-v1.2.5release-notes, web
https://www.github.com/tauri-apps/tauri/commit/58ea0b45268dbd46cbac0ebb0887353d057ca767patch, web
https://www.github.com/tauri-apps/tauri/commit/fa90214b052b1a5d38d54fbf1ca422b4c37cfd1fpatch, web
https://nvd.nist.gov/vuln/detail/CVE-2023-31134advisory
https://github.com/tauri-apps/tauri/commit/9c0593c33af52cd9e00ec784d15f63efebdf039cweb
https://en.wikipedia.org/wiki/Open_redirectweb
https://github.com/tauri-apps/tauripackage
https://tauri.app/v1/api/config/#securityconfig.dangerousremotedomainipcaccessweb

Sources

SourceRecordLicence
CVE ListCVE-2023-31134 changed 2025-01-28CVE Terms of Use
GitHub Advisory DatabaseGHSA-4wm2-cwcf-wwvp changed 2026-09-10CC-BY-4.0
NVDCVE-2023-31134 changed 2026-06-17Public domain