Skip to content

[agent] chore(deps): bump tmp to >=0.2.6 via overrides (GHSA-ph9p-34f9-6g65)#767

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
fix/dependabot-tmp-0.2.6-42080791e1b00b52
Draft

[agent] chore(deps): bump tmp to >=0.2.6 via overrides (GHSA-ph9p-34f9-6g65)#767
github-actions[bot] wants to merge 1 commit into
mainfrom
fix/dependabot-tmp-0.2.6-42080791e1b00b52

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Summary

Addresses Dependabot alert #267 by bumping the transitive tmp dependency to >=0.2.6.

Vulnerability

  • Package: tmp
  • Advisory: GHSA-ph9p-34f9-6g65 / CVE-2026-44705
  • Severity: High (CVSS 4.0: 7.7)
  • Description: Path traversal via unsanitized prefix/postfix/dir options — allows files to be created outside the intended temp directory. Fixed in tmp@0.2.6.

Changes

  • Added overrides in root package.json to force tmp >= 0.2.6
  • Updated package-lock.json (now resolves tmp@0.2.6)

Why overrides? tmp is a transitive dependency of nx, which declares tmp@~0.2.1. Although 0.2.6 satisfies that semver range, npm's lockfile had pinned the previous 0.2.5. The override guarantees the lockfile always resolves the patched version going forward, regardless of future lockfile regeneration.

Generated by Dependabot remediation agent · ● 584.9K ·

Add npm overrides to force tmp to >=0.2.6, patching the path traversal
vulnerability CVE-2026-44705 / GHSA-ph9p-34f9-6g65. The tmp package is
a transitive dependency of nx (which requires tmp@~0.2.1). Since nx's
range already satisfies 0.2.6, the override ensures the lockfile resolves
to the patched version.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants