CVE-2026-40180 | quarkiverse quarkus-openapi-generator up to 2.15.x ZIP ApicurioCodegenWrapper.java unzip path traversal (GHSA-jx2w-vp7f-456q)
VulDBArchived Apr 11, 2026✓ Full text saved
A vulnerability was found in quarkiverse quarkus-openapi-generator up to 2.15.x . It has been classified as critical . The impacted element is the function unzip of the file ApicurioCodegenWrapper.java of the component ZIP Handler . This manipulation causes path traversal. This vulnerability is registered as CVE-2026-40180 . Remote exploitation of the attack is possible. No exploit is available. Upgrading the affected component is recommended.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-356936 · CVE-2026-40180 · GHSA-JX2W-VP7F-456Q
QUARKIVERSE QUARKUS-OPENAPI-GENERATOR UP TO 2.15.X ZIP APICURIOCODEGENWRAPPER.JAVA UNZIP PATH TRAVERSAL
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
6.2 $0-$5k 1.40+
Summaryinfo
A vulnerability was found in quarkiverse quarkus-openapi-generator up to 2.15.x. It has been declared as critical. This affects the function unzip of the file ApicurioCodegenWrapper.java of the component ZIP Handler. Such manipulation leads to path traversal. This vulnerability is documented as CVE-2026-40180. The attack can be executed remotely. There is not any exploit available. It is recommended to upgrade the affected component.
Detailsinfo
A vulnerability was found in quarkiverse quarkus-openapi-generator up to 2.15.x and classified as critical. Affected by this issue is the function unzip of the file ApicurioCodegenWrapper.java of the component ZIP Handler. The manipulation with an unknown input leads to a path traversal vulnerability. Using CWE to declare the problem leads to CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. Impacted is integrity, and availability. CVE summarizes:
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.
The advisory is shared for download at github.com. This vulnerability is handled as CVE-2026-40180 since 04/09/2026. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1006.
Upgrading to version 2.15.0-lts or 2.16.0 eliminates this vulnerability. Applying the patch 08b406414ff30ed192e86c7fa924e57565534ff0 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Productinfo
Vendor
quarkiverse
Name
quarkus-openapi-generator
Version
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
2.10
2.11
2.12
2.13
2.14
2.15
License
open-source
Website
Product: https://github.com/quarkiverse/quarkus-openapi-generator/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3info
VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 6.2
VulDB Base Score: 6.5
VulDB Temp Score: 6.2
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Path traversal
CWE: CWE-22
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: quarkus-openapi-generator 2.15.0-lts/2.16.0
Patch: 08b406414ff30ed192e86c7fa924e57565534ff0
Timelineinfo
04/09/2026 CVE reserved
04/10/2026 +1 days Advisory disclosed
04/10/2026 +0 days VulDB entry created
04/10/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-jx2w-vp7f-456q
Status: Confirmed
CVE: CVE-2026-40180 (🔒)
GCVE (CVE): GCVE-0-2026-40180
GCVE (VulDB): GCVE-100-356936
Entryinfo
Created: 04/10/2026 22:32
Changes: 04/10/2026 22:32 (72)
Complete: 🔍
Cache ID: 99:CFE:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸