CVE-2026-40180
HIGH
MEDIUM
Priority: 0.03
BB Relevance:
75/100
Published: 2026-04-10
Modified: 2026-10-26
First seen: 2026-10-29
Status: active
Attack Surface
Network
Low Complexity
No Auth
No Interaction
Integ. Impact
CVSS Vector Breakdown
AV:
Network
AC:
Low
PR:
None
UI:
None
S:
X
AT:
None
VC:
None
VI:
High
VA:
None
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.
Weakness Classification (1)
Affected Software (2)
| Vendor | Product | Version |
|---|---|---|
| quarkiverse | quarkus_openapi_generator | < 2.15.0 |
| quarkiverse | quarkus_openapi_generator | 2.15.0 |
References & Advisories (3)
Patch
Patch
Exploit
Vendor Advisory