fix: bump openapi-generator-cli to 2.39.1#64
Merged
Conversation
…HSA-w7jw-789q-3m8p) Bumps @openapitools/openapi-generator-cli from 2.32.0 to 2.39.1. This transitively updates concurrently (9.2.1 -> 10.0.3), which in turn resolves shell-quote to 1.8.4 (was 1.8.3, the vulnerable version). shell-quote@1.8.3 did not escape newlines in object .op values, allowing shell command injection when object tokens with attacker-controlled .op values were passed to quote() and the result handed to a shell. The Java generator JAR version (7.12.0 in openapitools.json) is unchanged, so no regeneration of src/ is required. Closes SECVULN-46269
3 tasks
angelocordon
enabled auto-merge (squash)
July 7, 2026 20:39
zofskeez
approved these changes
Jul 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps
@openapitools/openapi-generator-clifrom2.32.0to2.39.1to transitively resolve a shell injection vulnerability inshell-quote.Root cause
shell-quote@1.8.3(pulled in transitively viaconcurrently) did not escape newlines in object.opvalues. A literal\nin an.opfield passed through unescaped to the shell, where POSIX shells treat it as a command separator — enabling shell command injection in callers that build object tokens from untrusted input and pass the result to a shell.Transitive dependency chain
Scope
This repo never imports
shell-quotedirectly — it is only present as a transitive dev dependency of the CLI wrapper. There is no production exposure.The Java generator JAR version (
7.12.0inopenapitools.json) is unchanged, so no regeneration ofsrc/is needed and no generated output has changed.Files changed
package.json— one-line version bumppnpm-lock.yaml— regenerated lockfile (copyright header will be restored by CI copywrite step)Revert plan
Reverting this PR fully restores the previous state. No database migrations, feature flags, or infrastructure changes are involved.
PCI review checklist
I have documented a clear reason for, and description of, the change I am making.
If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.
If applicable, I've documented the impact of any changes to security controls.
This PR is a security control improvement: it upgrades a transitive dev dependency to its patched version, eliminating a known shell injection vulnerability (GHSA-w7jw-789q-3m8p / SECVULN-46269) from the dependency graph.