{"id":"CVE-2026-48731","summary":"Warp: Linux external editor command injection","details":"Warp is an agentic development environment. From 0.2024.02.20.08.01.stable_01 until 0.2026.05.06.15.42.stable_01, Warp contains a command injection issue in the Linux external editor launcher. Warp expanded freedesktop .desktop Exec templates for affected editor integrations and executed the expanded command through a shell. A user who opens an attacker-controlled local file path through an affected external editor or system-default editor route can cause shell syntax embedded in that path to execute as the local user. This vulnerability is fixed in 0.2026.05.06.15.42.stable_01.","aliases":["GHSA-7xgc-mhc8-g7wc"],"modified":"2026-07-15T01:49:03.183020191Z","published":"2026-06-24T17:30:17.637Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48731.json","unresolved_ranges":[{"extracted_events":[{"introduced":"\u003e= 0.2024.02.20.08.01.stable_01, \u003c 0.2026.05.13.09.15.stable_01"},{"last_affected":"\u003e= 0.2024.02.20.08.01.stable_01, \u003c 0.2026.05.13.09.15.stable_01"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"GitHub_M","cwe_ids":["CWE-78"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48731.json"},{"type":"ADVISORY","url":"https://github.com/warpdotdev/warp/security/advisories/GHSA-7xgc-mhc8-g7wc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48731"},{"type":"FIX","url":"https://github.com/warpdotdev/warp/commit/861dacea2683f2fe263c3c3a1381c3cbb2b66809"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/warpdotdev/warp","events":[{"introduced":"0"},{"fixed":"861dacea2683f2fe263c3c3a1381c3cbb2b66809"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v0.2026.06.03.09.49.stable_00","v0.2026.06.03.09.49.preview_00","v0.2026.06.03.09.49.dev_00","v0.2026.06.09.09.21.dev_00","v0.2026.06.08.09.48.dev_00","v0.2026.06.07.09.13.dev_00","v0.2026.06.06.09.03.dev_00","v0.2026.06.05.09.22.dev_00","v0.2026.06.04.09.31.dev_00","v0.2026.06.02.09.40.dev_00","v0.2026.06.01.10.01.dev_00","v0.2026.05.31.09.13.dev_00","v0.2026.05.30.08.57.dev_00","v0.2026.05.29.09.24.dev_00","v0.2026.05.27.09.22.stable_00","v0.2026.05.27.09.22.preview_00","v0.2026.05.27.09.22.dev_00","v0.2026.05.28.09.29.dev_00","v0.2026.05.26.09.25.dev_00","v0.2026.05.25.09.34.dev_00","v0.2026.05.24.09.01.dev_00","v0.2026.05.23.08.51.dev_00","v0.2026.05.22.09.18.dev_00","v0.2026.05.21.09.21.dev_00","v0.2026.05.20.09.21.stable_00","v0.2026.05.20.09.21.preview_00","v0.2026.05.20.09.21.dev_00","v0.2026.05.19.09.24.dev_00","v0.2026.05.18.09.26.dev_00","v0.2026.05.17.08.52.dev_00","v0.2026.05.16.08.43.dev_00","v0.2026.05.15.09.17.dev_00","repo-sync/watermark/private-to-public","v0.2026.05.14.09.08.dev_00","v0.2026.05.13.09.15.preview_00","v0.2026.05.13.09.15.dev_00","v0.2026.05.13.09.14.stable_00","v0.2026.05.12.09.09.dev_00","v0.2026.05.06.09.13.preview_00","v0.2026.05.06.09.12.stable_00","v0.2026.05.06.09.12.dev_00","v0.2026.05.10.08.45.dev_00","v0.2026.05.11.09.24.dev_00","v0.2026.05.09.08.42.dev_00","v0.2026.05.08.08.43.dev_00","v0.2026.05.07.09.05.dev_00","v0.2026.05.05.08.57.dev_00","v0.2026.05.04.09.01.dev_00","v0.2026.05.03.08.43.dev_00","v0.2026.05.02.08.40.dev_00","v0.2026.05.01.08.50.dev_00","v0.2026.04.30.08.57.dev_00","v0.2026.04.29.08.57.dev_00","v0.2026.04.29.08.56.stable_00","v0.2026.04.29.08.56.preview_00"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-48731.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}