CVE-2026-119027
Last modified
CVE-2026-119027 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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..
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| oapi-codegen | oapi-codegen | >= 2.5.0, < 2.8.1 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-119027?
How severe is CVE-2026-119027?
How do I fix CVE-2026-119027?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-118996CallBackery versions before 0.62.0 for Perl send users their…
- CVE-2026-1190A flaw was found in Keycloak's SAML brokering functionality.…3.1
- CVE-2026-11900The Ad Inserter – Ad Manager & AdSense Ads plugin for WordPr…4.3
- CVE-2026-11901The WP Hotel Booking plugin for WordPress is vulnerable to I…5.3
- CVE-2026-11902Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-119025open 7.2.0 before 11.0.0 contains an OS command injection vu…7.5
- CVE-2026-119028oapi-codegen 2.0.0 before 2.8.1 contains a code injection vu…8.8
- CVE-2026-11903Improper neutralization of input during web page generation …5.4
- CVE-2026-119036Business::GoCardless versions before 1.01 for Perl allow mem…
- CVE-2026-119037Business::GoCardless versions before 1.01 for Perl accept fo…
- CVE-2026-119038Business::GoCardless versions before 1.01 for Perl complete …
- CVE-2026-11904IBM Verify Identity Access 11.0 through 11.0.2 and IBM Secur…5.3
Are you affected by CVE-2026-119027?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
