CVE-2026-40180

Zip Slip Path Traversal in quarkus-openapi-generator ApicurioCodegenWrapper class

HIGH
7.5
CVSS Score
Published: April 10, 2026 at 07:35 PM UTC
Updated: October 26, 2026 at 09:10 PM UTC
1 product affected across 1 vendorQuarkus OpenAPI Generator

Using quarkus-openapi-generator by quarkiverse?

Get instant alerts when new vulnerabilities affect quarkus-openapi-generator - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.4%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.15.02.15.0
Affected range stops below 2.15.0-lts, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.16.0, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card