CVE-2026-119028

HighCVSS 8.8/10Last modified Oct 29, 2026

Description

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.

Metrics

CVSS 3.1 8.8/10CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
oapi-codegenoapi-codegen>= 2.0.0, < 2.8.1

References

Timeline

Published
Oct 29, 2026
Last modified
Oct 29, 2026
NVD status
Awaiting Analysis

Related CVEs from 2026

CVE-2026-119035.4Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Progress MOVEit Transfer (Ad Hoc modulCVE-2026-1190325.3The Schema & Structured Data for WP & AMP WordPress plugin before 1.70 does not check that the importing user may edit the posts named in a CVE-2026-1190332.2The Schema & Structured Data for WP & AMP WordPress plugin before 1.70 does not verify that a user may edit a post before letting them changCVE-2026-1190345.3The Schema & Structured Data for WP & AMP WordPress plugin before 1.70 does not verify that a post is publicly viewable before returning itsCVE-2026-1190356.4The Schema & Structured Data for WP & AMP WordPress plugin before 1.70 does not safely encode its structured data output when the Pretty PriCVE-2026-1190367.5Business::GoCardless versions before 1.01 for Perl allow memory exhaustion by flattening legacy webhook payloads before checking their signaCVE-2026-1190377.5Business::GoCardless versions before 1.01 for Perl accept forged webhooks when a configured webhook secret is undef or empty. signature_valCVE-2026-1190386.1Business::GoCardless versions before 1.01 for Perl complete redirect flows without checking the session token, letting a leaked redirect floCVE-2026-1190395.3The Defender Security WordPress plugin before 6.4.1 does not verify that the client IP address it derives for its firewall and lockout deciCVE-2026-119045.3IBM Verify Identity Access 11.0 through 11.0.2 and IBM Security Verify Access 10.0 through 10.0.9.1 and IBM Verify Identity Access ContainerCVE-2026-1190407.5The Defender Security WordPress plugin before 6.4.1 does not limit the number of failed two-factor authentication attempts in its default cCVE-2026-1190484.2JeeSite 5.11.0 through 5.19.1 contains an insecure direct object reference vulnerability in the AI CMS chat module that allows authenticated
CVE-2026-119028: High severity, CVSS 8.8 | Vulnix