{"data":{"id":"b9730179-33ef-4f09-a577-f7cbd1dd996d","title":"CVE-2026-22785: orval generates type-safe JS clients (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification. Prior to…","summary":"CVE-2026-22785 affects orval, which generates type-safe JavaScript clients (TypeScript) from OpenAPI v3 and Swagger v2 specifications. Before 7.18.0, the MCP server generation logic built code by string manipulation and inserted the OpenAPI summary field without validation or escaping. An attacker can use this to break out of the string literal and inject arbitrary code.","solution":"Fixed in 7.18.0.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-22785","publishedAt":"2026-01-12T19:16:04.287Z","cveId":"CVE-2026-22785","cweIds":["CWE-77"],"cvssScore":"9.8","cvssSeverity":"critical","severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":["@orval/mcp@< 7.18.0 (fixed: 7.18.0)"],"affectedPackageNames":["@orval/mcp"],"affectedPackageRefs":["npm:@orval/mcp"],"affectedVendors":[],"affectedVendorsRaw":["orval","MCP server"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"orval code injection through summary field in MCP server generation","headlinePromptVersion":"h1","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"network","attackComplexity":"low","privilegesRequired":"none","userInteraction":"none","exploitMaturity":"unknown","epssScore":0.00778,"epssPercentile":0.57197,"epssCheckedAt":"2026-12-03T19:41:00.199Z","epssHistory":null,"epss30dChange":null,"exploitUrls":["https://github.com/orval-labs/orval/security/advisories/GHSA-mwr6-3gp8-9jmj"],"patchCommitUrls":["https://github.com/orval-labs/orval/commit/80b5fe73b94f120a3a5561952d6d4b0f8d7e928d"],"ssvcExploitation":"none","nvdStatus":"Analyzed","referencesCheckedAt":"2026-12-03T19:54:22.435Z","kevDateAdded":null,"advisoryAliases":["GHSA-mwr6-3gp8-9jmj"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-12-03T19:42:23.500Z","patchAvailable":true,"disclosureDate":"2026-01-12T19:16:04.287Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":["CAPEC-88"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["integrity","confidentiality","availability"],"aiComponentTargeted":"plugin","llmSpecific":false,"classifierConfidence":0.8,"researchCategory":null,"atlasIds":null,"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":["@orval/mcp@7.18.0"],"affectedPurls":["pkg:npm/%40orval/mcp"],"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":true,"timeline":[{"event":"published","date":"2026-01-12","source":"record_source"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[]}}