{"id":"CVE-2026-62680","published":"2026-08-19T17:42:11Z","modified":"2026-08-19T18:06:47Z","title":"Orval: Generation-time SSRF + remote/local file inclusion via unrestricted $ref","vendor":"orval-labs","product":"orval","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00403,"percentile":0.35387,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"},{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/orval-labs/orval/security/advisories/GHSA-cxq5-97v7-87j8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/orval-labs/orval/pull/3723","tags":["x_refsource_MISC"]},{"url":"https://github.com/orval-labs/orval/commit/23786c056f4eba38c02bf2968677988dbbe4de10","tags":["x_refsource_MISC"]},{"url":"https://github.com/orval-labs/orval/releases/tag/v8.22.0","tags":["x_refsource_MISC"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":7.08},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"orval-labs","affectedVersions":[{"vendor":"orval-labs","product":"orval","versions":["< 8.22.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-19T18:06:42.406731Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"orval","vulnerableRanges":["<8.22.0"],"patched":["8.22.0"],"from":["GHSA-cxq5-97v7-87j8"],"provenance":"source"}],"summary":{"text":"An attacker who can supply a malicious OpenAPI description to be processed can cause requests to attacker-selected or internal HTTP services from the developer or CI host, read absolute or out-of-tree local files, and inline untrusted remote schemas into generated clients, with exploitation requiring only that the victim process the crafted specification (user interaction) and no authentication or special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:45Z"},"euvd":{"id":"EUVD-2026-62659","exploited":false,"provenance":"source"}}