CVE-2026-40180
Java vulnerability analysis and mitigation

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.


SourceNVD

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-40180HIGH7.7
  • JavaJava
  • io.quarkiverse.openapi.generator:quarkus-openapi-generator
NoYesApr 10, 2026
CVE-2026-39304HIGH7.5
  • JavaJava
  • log4j-jcl
NoYesApr 10, 2026
CVE-2026-22750HIGH7.5
  • JavaJava
  • org.springframework.cloud:spring-cloud-gateway
NoYesApr 10, 2026
CVE-2026-34500MEDIUM6.5
  • JavaJava
  • tomcat6-jsp-2.1-api
NoYesApr 09, 2026
CVE-2026-34481MEDIUM6.3
  • JavaJava
  • flink-2.1
NoYesApr 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management