CVE-2017-1000207: Swagger Swagger-Codegen

High severity, CVSS 8.8. EPSS: 1.6% chance of exploitation in the next 30 days.

A vulnerability in Swagger-Parser's version <= 1.0.30 and Swagger codegen version <= 2.2.2 yaml parsing functionality results in arbitrary code being executed when a maliciously crafted yaml Open-API specification is parsed. This in particular, affects the 'generate' and 'validate' command in swagger-codegen (<= 2.2.2) and can lead to arbitrary code being executed when these commands are used on a well-crafted yaml specification.

Affected products

  • Swagger Swagger-Codegen: up to and including 2.2.2
  • Swagger Swagger-Parser: up to and including 1.0.30

Published 2017-11-27. Last modified 2026-06-17.