SCA: security update for github.com/oapi-codegen/oapi-codegen/v2 (GHSA-rjwr-m7qx-3fjr)

high Tenable Self-Hosted Container Security Plugin ID 444842

Description

oapi-codegen: OpenAPI Server Description Escapes Generated Go Comment and Injects Executable Code

Solution

Update the github.com/oapi-codegen/oapi-codegen/v2 library and its related packages to version 2.7.1 or later.

See Also

https://github.com/advisories/GHSA-rjwr-m7qx-3fjr

Plugin Details

Severity: High

ID: 444842

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 7/18/2026

Updated: 7/18/2026

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/17/2026

Vulnerability Publication Date: 7/17/2026

Reference Information

cwe: CWE-74