Approved changes feed: RSS · Atom

cpe:2.3:a:oapi-codegen:oapi-codegen:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorOapi Codegen (ad729d8f-b57f-503a-a1e8-57ee57a87a8a)
ProductOapi Codegen (a81ddc88-c902-5ad6-a2ed-3849d1f78cf9)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-119028 vulnerable 2026-11-03 10:17:11.972868 oapi-codegen 2.0.0 before 2.8.1 Code Injection via Non-String Enum Values
HIGH (8.8)
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.
Published: 2026-10-29T11:36:34.692Z
Updated: 2026-10-29T14:08:24.785Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-119027 vulnerable 2026-11-03 10:17:11.857908 oapi-codegen 2.5.0 before 2.8.1 Code Injection via servers[].x-go-name Extension
HIGH (7.5)
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.
Published: 2026-10-29T11:36:34.029Z
Updated: 2026-10-29T17:20:19.252Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.