Live threats

All CVEs / OpenAPITools

CVE-2024-35219OpenAPITools openapi-generator

High 8.3

Priority
50
CVSS 3.1
8.3
EPSS
3.5%
probability of exploitation in 30 days · percentile 90
Auth required
Yes
Published
May 27, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H

What happens

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec. Prior to version 7.6.0, attackers can exploit a path traversal vulnerability to read and delete files and folders from an arbitrary, writable directory as anyone can set the output folder when submitting the request via the `outputFolder` option. The issue was fixed in version 7.6.0 by removing the usage of the `outputFolder` option. No known workarounds are available.

Original NVD text.

What to do

  1. Apply the vendor's security update for openapi-generator.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.openapitools:openapi-generator-online < 7.6.0 7.6.0 —

Per OSV / GitHub Advisories (GHSA-g3hr-p86p-593h). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.