Analysis and contextual insights are available on OpenCVE Cloud.
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
No advisories yet.
Thu, 29 Oct 2026 11:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | oapi-codegen 2.5.0 before 2.8.1 contains a code injection vulnerability that allows attackers to inject Go code by supplying a crafted servers[].x-go-name value emitted unescaped by the server-urls template. Attackers who control an OpenAPI document can define an injected func init() that executes when the victim builds and imports the generated package. | |
| Title | oapi-codegen 2.5.0 before 2.8.1 Code Injection via servers[].x-go-name Extension | |
| Weaknesses | CWE-94 | |
| References |
|
|
| Metrics |
cvssV3_1
|
Subscriptions
No data.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-10-29T11:36:34.029Z
Reserved: 2026-10-29T11:32:04.895Z
Link: CVE-2026-119027
No data.
Status : Received
Published: 2026-10-29T12:17:12.167
Modified: 2026-10-29T12:17:12.167
Link: CVE-2026-119027
No data.
OpenCVE Enrichment
Updated: 2026-10-29T12:45:09Z
-
CWE-94
Improper Control of Generation of Code ('Code Injection')