Cyber Resilience

CVE-2024-35219

High

Published: 27 May 2024

Published
27 May 2024
Modified
15 April 2026
KEV Added
Patch
CVSS Score v3.1 8.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
EPSS Score 0.4012 97.4th percentile
Risk Priority 41 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-35219 is a high-severity Path Traversal (CWE-22) vulnerability. Its CVSS base score is 8.3 (High).

Operationally, ranked in the top 2.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis

OpenAPI Generator is a tool that automatically produces API client libraries, server stubs, documentation, and configuration from an OpenAPI specification. Prior to version 7.6.0 the software contained a path traversal flaw (CWE-22) that could be triggered through the outputFolder parameter, enabling an attacker to read or delete arbitrary files and directories inside any writable location on the host.

An authenticated remote attacker with network access can submit a generation request that sets outputFolder to a chosen path. Because the option is honored without sufficient validation, the attacker can traverse outside the intended output directory and perform read or delete operations, resulting in information disclosure and integrity or availability impact.

The project’s security advisory and associated pull request state that the issue was resolved in release 7.6.0 by completely removing support for the outputFolder option; no workarounds are documented.

EPSS for the vulnerability rose from lower values to a peak of 0.7106 on 2026-02-03 before receding to the current score of 0.4012, indicating a period of increased exploitation interest after disclosure.

EU & UK References

Vulnerability details

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…

more

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.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-22

Validates pathnames and filenames to prevent traversal outside intended directories.

References