{
  "id": "CVE-2026-4786",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-4786",
  "published_at": "2026-04-13T21:52:19.036Z",
  "title": "Incomplete mitigation of CVE-2026-4519, %action expansion for command injection to webbrowser.open()",
  "vendor": "Python Software Foundation",
  "product": "CPython",
  "cvss": {
    "score": 7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Mitgation of CVE-2026-4519 was incomplete. If the URL contained \"%action\" the mitigation could be bypassed for certain browser types the \"webbrowser.open()\" API could have commands injected into the underlying shell. See CVE-2026-4519 for details.",
  "cwe": "CWE-77",
  "cvss_by_source": {
    "cna": 7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Python Software Foundation",
        "product": "CPython",
        "ranges": [
          "\u003c 3.10.21",
          "\u003e= 3.11.0, \u003c 3.11.16",
          "\u003e= 3.12.0, \u003c 3.12.14",
          "\u003e= 3.13.0, \u003c 3.13.14",
          "\u003e= 3.14.0a1, \u003c 3.14.5rc1",
          "\u003e= 3.15.0a1, \u003c 3.15.0b1"
        ],
        "fixed_in": [
          "3.10.21",
          "3.11.16",
          "3.12.14",
          "3.13.14",
          "3.14.5rc1",
          "3.15.0b1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade CPython to 3.10.21 or 3.11.16 or 3.12.14 or 3.13.14 or 3.14.5rc1 or 3.15.0b1 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/pull/148170"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/JQDUNJVB4AQNTJECSUKOBDU3XCJIPSE5/"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/c5767a72838a8dda9d6dc5d3558075b055c56bca"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/d22922c8a7958353689dc4763dd72da2dea03fff"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/f4654824ae0850ac87227fb270f9057477946769"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/28b4ad38067bbdad34edfcd03ad2de5f06387e53"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/d6d68494be70bdbda20f89f83801ba52ec37daa4"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/a4d3edf3a6ecfde504d02126410d2a65a859b744"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
