{
  "id": "CVE-2026-4519",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-4519",
  "published_at": "2026-03-20T15:08:32.576Z",
  "title": "webbrowser.open() allows leading dashes in URLs",
  "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": "The webbrowser.open() API would accept leading dashes in the URL which \ncould be handled as command line options for certain web browsers. New \nbehavior rejects leading dashes. Users are recommended to sanitize URLs \nprior to passing to webbrowser.open().",
  "cwe": "CWE-20",
  "cpes": [
    "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:*",
    "cpe:2.3:a:python:python:3.15.0:alpha2:*:*:*:*:*:*",
    "cpe:2.3:a:python:python:3.15.0:alpha3:*:*:*:*:*:*",
    "cpe:2.3:a:python:python:3.15.0:alpha4:*:*:*:*:*:*",
    "cpe:2.3:a:python:python:3.15.0:alpha5:*:*:*:*:*:*",
    "cpe:2.3:a:python:python:3.15.0:alpha6:*:*:*:*:*:*",
    "cpe:2.3:a:python:python:3.15.0:alpha7:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7,
    "nvd": 3.3
  },
  "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.13",
          "\u003e= 3.14.0, \u003c 3.14.4",
          "\u003e= 3.15.0a1, \u003c 3.15.0a8"
        ],
        "fixed_in": [
          "3.10.21",
          "3.11.16",
          "3.12.14",
          "3.13.13",
          "3.14.4",
          "3.15.0a8"
        ]
      }
    ],
    "upgrade": [
      "Upgrade CPython to 3.10.21 or 3.11.16 or 3.12.14 or 3.13.13 or 3.14.4 or 3.15.0a8 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/pull/143931"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/AY5NDSS433JK56Q7Q5IS7B37QFZVVOUS/"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/43fe06b96f6a6cf5cfd5bdab20b8649374956866"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/82a24a4442312bdcfc4c799885e8b3e00990f02b"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/9669a912a0e329c094e992204d6bdb8787024d76"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/ad4d5ba32af4d80b0dfa2ba9d8203bfb219e60a5"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/ceac1efc66516ac387eef2c9a0ce671895b44f03"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python/cpython/commit/cbba6119391112aba9c5aebf7b94aea447922c48"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
