{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "861dacea2683f2fe263c3c3a1381c3cbb2b66809"
            }
          ],
          "repo": "https://github.com/warpdotdev/warp",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-7xgc-mhc8-g7wc"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-78"
    ],
    "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"
      }
    ]
  },
  "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.",
  "id": "CVE-2026-48731",
  "modified": "2026-07-15T01:49:03.183020191Z",
  "published": "2026-06-24T17:30:17.637Z",
  "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"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Warp: Linux external editor command injection"
}