CVE Explorer
CVE-2026-40180
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 sequence
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"quarkus-openapi-generator","vendor":"quarkiverse","versions":[{"status":"affected","version":"< 2.15.0-lts"},{"status":"affected","version":"< 2.16.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:3cec1eeae83ded9d0c99624926baab07488d2cdcfae90685ee32eb82bc451f5d · sha256:a82cdf49e051c680… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":7.7,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:3cec1eeae83ded9d0c99624926baab07488d2cdcfae90685ee32eb82bc451f5d · sha256:a82cdf49e051c680… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:3cec1eeae83ded9d0c99624926baab07488d2cdcfae90685ee32eb82bc451f5d · sha256:a82cdf49e051c680… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/quarkiverse/quarkus-openapi-generator/commit/08b406414ff30ed192e86c7fa924e57565534ff0","tags":["x_refsource_MISC"],"url":"https://github.com/quarkiverse/quarkus-openapi-generator/commit/08b406414ff30ed192e86c7fa924e57565534ff0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3cec1eeae83ded9d0c99624926baab07488d2cdcfae90685ee32eb82bc451f5d · sha256:a82cdf49e051c680… · /containers/cna/references/1
{"name":"https://github.com/quarkiverse/quarkus-openapi-generator/commit/e2a9c629a3df719abc74569a3795c265fd0e1239","tags":["x_refsource_MISC"],"url":"https://github.com/quarkiverse/quarkus-openapi-generator/commit/e2a9c629a3df719abc74569a3795c265fd0e1239"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3cec1eeae83ded9d0c99624926baab07488d2cdcfae90685ee32eb82bc451f5d · sha256:a82cdf49e051c680… · /containers/cna/references/2
{"tags":["exploit"],"url":"https://github.com/quarkiverse/quarkus-openapi-generator/security/advisories/GHSA-jx2w-vp7f-456q"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3cec1eeae83ded9d0c99624926baab07488d2cdcfae90685ee32eb82bc451f5d · sha256:a82cdf49e051c680… · /containers/adp/0/references/0
{"name":"https://github.com/quarkiverse/quarkus-openapi-generator/security/advisories/GHSA-jx2w-vp7f-456q","tags":["x_refsource_CONFIRM"],"url":"https://github.com/quarkiverse/quarkus-openapi-generator/security/advisories/GHSA-jx2w-vp7f-456q"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3cec1eeae83ded9d0c99624926baab07488d2cdcfae90685ee32eb82bc451f5d · sha256:a82cdf49e051c680… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.