cvedb.io
CVE-2026-40180
HIGH · CVSS 7.5
EPSS exploitation probability: 0%
Published 2026-04-10T20:16:23.260 · Last modified 2026-06-17T10:44:49.740

Summary

Quarkus OpenAPI Generator is Quarkus' extensions for generation of Rest Clients and server stubs generation. Prior to 2.16.0 and 2.15.0-lts, the unzip() method in ApicurioCodegenWrapper.java extracts ZIP entries without validating that the resolved file path stays within the intended output directory. At line 101, the destination is constructed as new File(toOutputDir, entry.getName()) and the content is written immediately. A malicious ZIP archive containing entries with path traversal sequences (e.g., ../../malicious.java) would write files outside the target directory. This vulnerability is fixed in 2.16.0 and 2.15.0-lts.

Affected products

quarkiverse — quarkus_openapi_generator

Does this affect you?

Add your gear to cvedb and we'll alert you only when quarkiverse ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.