Skip to main content
VulnerabilityPublished Updated

CVE-2026-40180: quarkiverse quarkus-openapi-generator · Path Traversal

Affects quarkiverse quarkus-openapi-generatorSource CVE Database V5

0
Compare

Public exploit available · CVSS 7.7 High : upgrade to 2.16.0 or 2.15.0-lts as a priority.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 4.0 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.16.0, 2.15.0-lts
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade quarkus-openapi-generator to 2.16.0 or 2.15.0-lts; io.quarkiverse/quarkus-openapi-generator to 2.16.0.

Affected software

ProductAffectedFixed in
quarkiversequarkus-openapi-generatorAffected
  • <2.16.0
Fixed in
  • 2.16.0
quarkiversequarkus-openapi-generatorAffected
  • <2.15.0-lts
Fixed in
  • 2.15.0-lts
Mavenio.quarkiverse/quarkus-openapi-generatorpkg:maven/io.quarkiverse/quarkus-openapi-generatorOther threatsAffected
  • <2.16.0
Fixed in
  • 2.16.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade quarkus-openapi-generator to version 2.16.0 or 2.15.0-lts or later, where the vulnerability is fixed. Patch status is confirmed by the vendor advisory indicating the fix is included in these versions. Until upgraded, avoid processing untrusted ZIP archives with this component.

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.

References

Community reviews

Loading reviews…