CVE-2026-119028
Tenable Plugin
Checking the public Tenable catalog…
AI Threat Summary
CVE-2026-119028 is a high-severity vulnerability with a CVSS score of 8.8 affecting the target software. Threat hunters should monitor for exploit attempts and apply vendor patches immediately.
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.
Attack Chain
Attacker scans for vulnerable versions using version banners or PoC scanners
Attacker triggers CVE-2026-119028 vulnerability with a crafted request or payload
Vulnerability exploited to perform unauthorized actions on the target system
Depending on vulnerability type, attacker achieves data access, service disruption, or code execution
MITRE ATT&CK Techniques
Indicators of Compromise
| Type | Value | Description | |
|---|---|---|---|
| user_agent | Mozilla/5.0 (compatible; exploit/1.0) |
Generic exploit scanner user agent pattern | |
| url | /api/vuln-endpoint?payload=<malicious> |
Exploit attempt against application endpoint — monitor access logs for anomalous params |
Remediation
Quick Facts
| CVE ID | CVE-2026-119028 |
| CVSS Score | 8.8 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2026-10-29 |
| Exploited | No |
| CISA KEV | No |
| PoC | Available |
References
- https://github.com/oapi-codegen/oapi-codegen/blob/v2.0.0/pkg…
- https://github.com/oapi-codegen/oapi-codegen/blob/v2.8.0/pkg…
- https://github.com/oapi-codegen/oapi-codegen/commit/068f1bcd…
- https://github.com/oapi-codegen/oapi-codegen/pull/2626
- https://github.com/oapi-codegen/oapi-codegen/releases/tag/v2…
- https://github.com/oapi-codegen/oapi-codegen/security/adviso…
- https://github.com/oapi-codegen/oapi-codegen/security/adviso…
- https://www.vulncheck.com/advisories/oapi-codegen-2.0.0-befo…