{"answers":{"affected":"6 open source packages ship an affected version, including tauri. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-31134 in the wild and no public exploit code.","fix":"Upgrade tauri to a fixed version for your release line: 1.0.9, 1.1.4 or 1.2.5.","what":"CVE-2023-31134 is a medium-severity vulnerability in tauri-apps tauri, published on 9 May 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-31134 and fix it if it is affected.\n\nWhat it is: CVE-2023-31134 is a medium-severity vulnerability in tauri-apps tauri, published on 9 May 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-31134 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- tauri (crates.io): affected from 1.0.0; fixed in 1.0.9\n- tauri (crates.io): affected from 1.0.0; fixed in 1.0.9\n- tauri (crates.io): affected from 1.1.0; fixed in 1.1.4\n- tauri (crates.io): affected from 1.1.0; fixed in 1.1.4\n- tauri (crates.io): affected from 1.2.0; fixed in 1.2.5\n- tauri (crates.io): affected from 1.2.0; fixed in 1.2.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-31134/ (Markdown: https://insights.sbomify.com/CVE-2023-31134/index.md)","id":"CVE-2023-31134","markdown":"https://insights.sbomify.com/CVE-2023-31134/index.md","name":"CVE-2023-31134","record":{"aliases":["GHSA-4wm2-cwcf-wwvp"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["security_bypass","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Tauri application framework","requires_auth":"low_privilege","summary":"Attackers can bypass IPC isolation via open redirects, exposing internal APIs to external sites in Tauri desktop applications.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"tauri","vendor":"tauri"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"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\narbitrary 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.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Tauri Open Redirect Vulnerability Possibly Exposes IPC to External Sites","id":"CVE-2023-31134","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"open_redirect","year":"2023"},"n_packages":6,"n_references":6,"next":{"headline":"Dgraph Audit Log Encryption nonce reuse","id":"CVE-2023-31135"},"packages":[{"ecosystem":"crates.io","fixed":["1.0.9"],"introduced":["1.0.0"],"last_affected":[],"package":"tauri","purl":null,"source":"GHSA-4wm2-cwcf-wwvp"},{"ecosystem":"crates.io","fixed":["1.0.9"],"introduced":["1.0.0"],"last_affected":[],"package":"tauri","purl":"pkg:cargo/tauri","source":"GHSA-4wm2-cwcf-wwvp"},{"ecosystem":"crates.io","fixed":["1.1.4"],"introduced":["1.1.0"],"last_affected":[],"package":"tauri","purl":null,"source":"GHSA-4wm2-cwcf-wwvp"},{"ecosystem":"crates.io","fixed":["1.1.4"],"introduced":["1.1.0"],"last_affected":[],"package":"tauri","purl":"pkg:cargo/tauri","source":"GHSA-4wm2-cwcf-wwvp"},{"ecosystem":"crates.io","fixed":["1.2.5"],"introduced":["1.2.0"],"last_affected":[],"package":"tauri","purl":null,"source":"GHSA-4wm2-cwcf-wwvp"},{"ecosystem":"crates.io","fixed":["1.2.5"],"introduced":["1.2.0"],"last_affected":[],"package":"tauri","purl":"pkg:cargo/tauri","source":"GHSA-4wm2-cwcf-wwvp"}],"prev":{"headline":"Ghost vulnerable to disclosure of private API fields","id":"CVE-2023-31133"},"products":["tauri"],"published":"2023-05-09","related":[{"cvss_score":8.4,"headline":"Updater Private Keys Possibly Leaked via Vite Environment Variables in tauri-cli","id":"CVE-2023-46115","kev_date_added":null,"published":"2023-10-19"},{"cvss_score":8.3,"headline":"The readDir Endpoint Scope can be Bypassed With Symbolic Links in Tauri","id":"CVE-2022-39215","kev_date_added":null,"published":"2022-09-15"},{"cvss_score":6.8,"headline":"Tauri vulnerable to path traversal","id":"CVE-2022-46171","kev_date_added":null,"published":"2022-12-23"},{"cvss_score":6.1,"headline":"Tauri: Origin Confusion Allows Remote Pages to Invoke Local-Only IPC Commands","id":"CVE-2026-42184","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":4.8,"headline":"Tauri vulnerable to Regression on Filesystem Scope Checks for Dotfiles","id":"CVE-2023-34460","kev_date_added":null,"published":"2023-06-23"},{"cvss_score":2.6,"headline":"Tauri Filesystem Scope can be Partially Bypassed","id":"CVE-2022-41874","kev_date_added":null,"published":"2022-11-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-28","vendors":["tauri-apps"]},"summary":"Attackers can bypass IPC isolation via open redirects, exposing internal APIs to external sites in Tauri desktop applications.","url":"https://insights.sbomify.com/CVE-2023-31134/"}