{
  "id": "CVE-2026-62680",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-62680",
  "published_at": "2026-08-19T17:42:11.227Z",
  "title": "Orval: Generation-time SSRF + remote/local file inclusion via unrestricted $ref",
  "vendor": "orval-labs",
  "product": "orval",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A: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.22.0, Orval resolves remote and local external $ref values without an allowlist or confinement to the input directory. Processing an attacker-controlled OpenAPI description can cause requests from the developer or CI host to attacker-selected or internal HTTP services, read absolute or out-of-tree local files, and inline untrusted remote schemas into generated clients. The affected code is packages/orval/src/import-specs.ts external reference loading. This issue is fixed in version 8.22.0.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "orval-labs",
        "product": "orval",
        "ranges": [
          "\u003c 8.22.0"
        ],
        "fixed_in": [
          "8.22.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade orval to 8.22.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/orval-labs/orval/security/advisories/GHSA-cxq5-97v7-87j8"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/orval-labs/orval/pull/3723"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/orval-labs/orval/commit/23786c056f4eba38c02bf2968677988dbbe4de10"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/orval-labs/orval/releases/tag/v8.22.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
