{
  "id": "CVE-2026-62682",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-62682",
  "published_at": "2026-08-19T17:40:17.061Z",
  "title": "Orval: RCE via servers[].url -\u003e unescaped request-URL template literal (with getBaseUrlFromSpecification)",
  "vendor": "orval-labs",
  "product": "orval",
  "cvss": {
    "score": 9.3,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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": "Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. Prior to 8.21.0, an unescaped backtick in servers[0].url is emitted into request URL template literals generated when output.baseUrl.getBaseUrlFromSpecification is enabled without safe encoding. This permits attacker-controlled JavaScript to be evaluated when a generated request or URL-builder function is called, resulting in code execution in the developer, CI, test, or application environment. The affected code is packages/core/src/getters/route.ts function getFullRoute. This issue is fixed in version 8.21.0.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 9.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "orval-labs",
        "product": "orval",
        "ranges": [
          "\u003c 8.21.0"
        ],
        "fixed_in": [
          "8.21.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade orval to 8.21.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/orval-labs/orval/security/advisories/GHSA-88f2-fpv8-89q2"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/orval-labs/orval/pull/3692"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/orval-labs/orval/commit/8ef1bfdf3f9bcaf9dabfbe2e42887f1c0e159ab6"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/orval-labs/orval/releases/tag/v8.21.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
