rswag before 2.10.1 allows remote attackers to read arbitrary JSON and YAML files via directory traversal, because rswag-api can expose a file that is not the OpenAPI (or Swagger) specification file of a project.
CVSS 3.1HIGH 7.5·Network·No auth·No interaction·EPSS 0.01271·Published 2023-07-14·Fixed in 2.10.1CWE-22