Skip to content

chore(deps/dev): bump oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen from 2.7.0 to 2.7.1#16893

Open
renovate[bot] wants to merge 2 commits into
masterfrom
renovate/master-go-github.com-oapi-codegen-oapi-codegen-v2-cmd-oapi-codegen-2.x
Open

chore(deps/dev): bump oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen from 2.7.0 to 2.7.1#16893
renovate[bot] wants to merge 2 commits into
masterfrom
renovate/master-go-github.com-oapi-codegen-oapi-codegen-v2-cmd-oapi-codegen-2.x

Conversation

@renovate

@renovate renovate Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption
go:github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen v2.7.0v2.7.1 age adoption

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

oapi-codegen/oapi-codegen (go:github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen)

v2.7.1: Security fix for Go code injection

Compare Source

This is a security fix for a code injection vulnerability in v2.7.0, please see:

GHSA-rjwr-m7qx-3fjr

[!NOTE]
A vulnerability like this requires that it is missed in code review and that you then call the malicious method.

Using an init() function could be enough to not require a direct call to the code, and instead rely on you importing the package, but either way, code review should be performed before any oapi-codegen generated code is executed.

We strongly recommend all users to be reviewing changes to their generated code before they execute anything within it, to protect against supply chain attacks or malicious injected code.

This is also why we recommend oapi-codegen generated code is committed to source control.

We're more strict about escaping strings passed into the OpenAPI specification, so that people can't inject Go code into generated code.

The problem was that it was possible to craft a description for server URL's which would emit arbitrary Go code, so if an attacker controlled your specification, they could inject Go code into your generated code which could do something malicious.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Changelog: skip

…rom 2.7.0 to 2.7.1

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 8, 2026 00:29
@renovate renovate Bot requested a review from a team as a code owner June 8, 2026 00:29
@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Jun 8, 2026
@renovate renovate Bot requested review from lukidzi and slonka June 8, 2026 00:29
@renovate renovate Bot enabled auto-merge (squash) June 8, 2026 00:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Signed-off-by: Lukasz Dziedziak <lukidzi@gmail.com>
@renovate

renovate Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants