Answer in brief
CVE-2026-119027 records a High severity (CVSS 7.7) vulnerability in oapi-codegen 2.5.0 before 2.8.1 Code Injection via servers[].x-go-name Extension. The current sources do not mark it as known exploited. The current feed maps oapi-codegen/oapi-codegen (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 7.7. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps oapi-codegen/oapi-codegen (generic). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| oapi-codegen/oapi-codegengeneric | >=2.5.0 <2.8.1 | 2.8.1 |
Published upstream
Oct 29, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Oct 29, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Oct 29, 2026
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.
Quoted source text, attributed separately from HOL analysis.