CVE-2026-40180: Quarkus OpenAPI Generator is Quarkus' extensions for generation of Rest Clients and server stubs generation
CVE-2026-40180 is a high-severity flaw (CVSS 7.5) affecting quarkus openapi generator. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 archi
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 67%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2026-04-10 |
| Last modified | 2026-10-26 |
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40180?
quarkus openapi generator: upgrade to 2.15.0. Exact commands for each OS are on this page.
Is CVE-2026-40180 being exploited?
CVE-2026-40180 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40180 affect?
CVE-2026-40180 affects quarkus openapi generator. Severity is high (CVSS 7.5). 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
How urgent is CVE-2026-40180?
Priority 44/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action