CVE-2026-119027 oapi-codegen - Code Injection

oapi-codegen > 2.5.0 and < 2.8.1 contains a code injection vulnerability caused by unescaped servers[].x-go-name value in server-urls template, letting attackers inject Go code executed during package build, exploit requires attacker control of OpenAPI document.

CVSS base score 7.5 /10
High
CISA KEV
Not listed
Public exploit
None known
Authentication
Not required
EPSS
0.39% chance of exploitation in 30 days
View the NVD record ↗