CVE-2026-119027
Tenable Plugin
Checking the public Tenable catalog…
AI Threat Summary
CVE-2026-119027 is a high-severity vulnerability with a CVSS score of 7.5 affecting the target software. Threat hunters should monitor for exploit attempts and apply vendor patches immediately.
Description
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.
Attack Chain
Attacker scans for vulnerable versions using version banners or PoC scanners
Attacker triggers CVE-2026-119027 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-119027 |
| CVSS Score | 7.5 |
| Vector | CVSS:3.1/AV:N/AC:H/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.5.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.5.0-befo…