HIGHCVSS v3.1 8.8Vulnerability

CVE-2026-119028

oapi-codegen 2.0.0 before 2.8.1 contains a code injection vulnerability that allows attackers to inject Go code by supplying non-literal enum entries in integer, number, or boolean schemas. Attackers controlling an OpenAPI document can craft an enum entry that closes the const block in constants.tmpl and injects a func init(), executing code when the generated package is built and imported.

Properties

Severity
HIGH
Nvd fetched at
2026-10-29T15:51:37.835109+00:00
Cvss severity
HIGH
Cvss score
8.8
Retrieved at
2026-10-29T15:52:27+00:00
Score
8.8
Cvss version
3.1
Last source
NVD
Cve id
CVE-2026-119028
Cvss vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
First seen by Signal
2026-10-29T15:52:27+00:00
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published at
2026-10-29T12:17:12.310
Last modified
2026-10-29T14:17:51.513

Related Entities (1)

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-119028 (CVSS v3.1 8.8) — Ninja Signal Threat Intelligence | Ninja Signal