CVE-2026-40180: quarkiverse quarkus-openapi-generator · Path Traversal
Affects quarkiverse quarkus-openapi-generatorSource CVE Database V5
Public exploit available · CVSS 7.7 High : upgrade to 2.16.0 or 2.15.0-lts as a priority.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.16.0, 2.15.0-lts
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 10 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade quarkus-openapi-generator to 2.16.0 or 2.15.0-lts; io.quarkiverse/quarkus-openapi-generator to 2.16.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| quarkiversequarkus-openapi-generator | Affected
| Fixed in
|
| quarkiversequarkus-openapi-generator | Affected
| Fixed in
|
Mavenio.quarkiverse/quarkus-openapi-generatorpkg:maven/io.quarkiverse/quarkus-openapi-generatorOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade quarkus-openapi-generator to version 2.16.0 or 2.15.0-lts or later, where the vulnerability is fixed. Patch status is confirmed by the vendor advisory indicating the fix is included in these versions. Until upgraded, avoid processing untrusted ZIP archives with this component.
Description
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.
References
- github.com/quarkiverse/quarkus-openapi-generator/security/advisories/GHSA-jx2w-vp7f-456q (opens in a new tab)
- github.com/quarkiverse/quarkus-openapi-generator/commit/08b406414ff30ed192e86c7fa924e57565534ff0 (opens in a new tab)
- github.com/quarkiverse/quarkus-openapi-generator/commit/e2a9c629a3df719abc74569a3795c265fd0e1239 (opens in a new tab)