Fix tar CVE-2026-23745 arbitrary file overwrite vulnerability#2324
Fix tar CVE-2026-23745 arbitrary file overwrite vulnerability#2324JanPokorny wants to merge 1 commit intomainfrom
Conversation
Adds a pnpm override to force tar to >=7.5.3, patching the arbitrary file overwrite and symlink poisoning vulnerability (GHSA-8qq5-rm4j-mr97) introduced via the docs -> mintlify -> @mintlify/previewing transitive dependency chain. https://claude.ai/code/session_01GQL2giWGa8LYqKmZGvAsBk
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request implements a critical security update by patching the Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request correctly addresses the tar package vulnerability (GHSA-8qq5-rm4j-mr97) by overriding the transitive dependency to a patched version. My review includes a couple of suggestions for improvement: one to correct a typo in the CVE number in a comment, and another to remove an unrelated dependency update from this security-focused PR to maintain its focus and clarity.
| '@carbon/react': | ||
| specifier: ^1.101.0 | ||
| version: 1.101.0 | ||
| version: 1.102.0 |
There was a problem hiding this comment.
This PR's goal is to fix a security vulnerability in the tar package. However, it also includes an update to @carbon/react. While this might be a valid update, it's best practice to keep security-focused PRs as minimal as possible to ease review and auditing. Please consider reverting this change and creating a separate PR for it.
Summary
Updates the
tarpackage override in pnpm-workspace.yaml to version 7.5.3 to address CVE-2026-23745 / GHSA-8qq5-rm4j-mr97, which fixes arbitrary file overwrite and symlink poisoning vulnerabilities. This dependency is pulled in transitively through the documentation build chain (docs → mintlify → @mintlify/previewing).Linked Issues
Documentation
https://claude.ai/code/session_01GQL2giWGa8LYqKmZGvAsBk