CVE-2026-40180Quarkiverse Quarkus Openapi Generator
High 7.7 No auth needed
Follow: this CVE · Quarkiverse · Quarkiverse Quarkus Openapi Generator We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 4.0
- 7.7
- EPSS
- —
- Auth required
- No
- Published
- Apr 10, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
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:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Quarkus Openapi Generator.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | io.quarkiverse.openapi.generator:quarkus-openapi-generator |
< 2.16.0 |
2.16.0 |
— |
Per OSV / GitHub Advisories (GHSA-jx2w-vp7f-456q). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| quarkiverse | quarkus_openapi_generator | < 2.15.0 |
| quarkiverse | quarkus_openapi_generator | 2.15.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Exploit Vendor Advisory