CVE-2026-119028 oapi-codegen - Code Injection

oapi-codegen < 2.8.1 contains a code injection vulnerability caused by non-literal enum entries in integer, number, or boolean schemas, letting attackers inject Go code executed during package build, exploit requires attacker to control OpenAPI document.

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