Skip to content

fix(deps): bump bat to 0.26.1 to resolve RUSTSEC-2026-0008#7021

Merged
codefromthecrypt merged 1 commit intomainfrom
fix-cargo-audit
Feb 6, 2026
Merged

fix(deps): bump bat to 0.26.1 to resolve RUSTSEC-2026-0008#7021
codefromthecrypt merged 1 commit intomainfrom
fix-cargo-audit

Conversation

@codefromthecrypt
Copy link
Collaborator

@codefromthecrypt codefromthecrypt commented Feb 6, 2026

Summary

CLI uses bat and tripped cargo audit. This resolves RUSTSEC-2026-0008

Type of Change

  • Security fix

AI Assistance

  • This PR was created or reviewed with AI assistance

Testing

cargo audit still fails, but not on RUSTSEC-2026-0008

RUSTSEC-2025-0009 (ring), RUSTSEC-2023-0071 (rsa), RUSTSEC-2024-0363 (sqlx) — all blocked by tree-sitter-javascript 0.21.4 which pins cc ~1.0.90, conflicting with cc >=1.1.6 required by newer ring, sqlx, and libsqlite3-sys. The tree-sitter ecosystem can't upgrade past 0.21 because devgen-tree-sitter-swift has no release for tree-sitter >=0.23.

Signed-off-by: Adrian Cole <adrian@tetrate.io>
Copilot AI review requested due to automatic review settings February 6, 2026 03:13
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses a security vulnerability by updating the bat crate from version 0.25.0 to 0.26.1, which resolves RUSTSEC-2026-0008. The update is limited to the goose-cli crate where bat is used for syntax-highlighted markdown printing in terminal output.

Changes:

  • Updated bat dependency from 0.25.0 to 0.26.1 in goose-cli to fix security vulnerability
  • Transitive dependency updates in Cargo.lock including new dependencies (minus, crossterm, signal-hook) for enhanced pager functionality

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
crates/goose-cli/Cargo.toml Bumped bat version from 0.25.0 to 0.26.1 to resolve security advisory
Cargo.lock Updated dependency tree including bat and its transitive dependencies (minus, crossterm, git2, terminal-colorsaurus, etc.)

@codefromthecrypt codefromthecrypt changed the title fix(deps): bump bat to 0.26.1 to resolve RUSTSEC-2026-0008 fix(deps): bump bat and sqlx to resolve vulns Feb 6, 2026
@codefromthecrypt codefromthecrypt changed the title fix(deps): bump bat and sqlx to resolve vulns fix(deps): bump bat to 0.26.1 to resolve RUSTSEC-2026-0008 Feb 6, 2026
@codefromthecrypt codefromthecrypt added this pull request to the merge queue Feb 6, 2026
Merged via the queue into main with commit 59f5958 Feb 6, 2026
23 of 25 checks passed
@codefromthecrypt codefromthecrypt deleted the fix-cargo-audit branch February 6, 2026 09:07
katzdave added a commit that referenced this pull request Feb 6, 2026
…webtoken-10.3.0

* origin/main: (54 commits)
  Switch tetrate tool filtering back to supports_computer_use (#7024)
  feat(ui): add inline rename for chat sessions in sidebar (#6995)
  fix: handle toolnames without underscores (#7015)
  feat(claude-code): use stream-json protocol for persistent sessions (#7029)
  test(providers): add model listing to live provider suite (#7038)
  Agent added too much (#7036)
  fix(deps): bump tree-sitter to 0.26 and set sqlx default-features=false to fix RUSTSEC advisories (#7031)
  feat: add image support and improve error resilience for Codex (#7033)
  fix(providers): Azure OpenAI model listing 404 during configure (#7034)
  fix(deps): bump bat to 0.26.1 to resolve RUSTSEC-2026-0008 (#7021)
  Don't swallow Tetrate errors  (#6998)
  docs: remove hardcoded_stuff links (#7016)
  fix(ui): keep Hub chat input from overlapping SessionInsights on paste (#6719)
  Clean up css (#6944)
  docs: aws bedrock bearer token auth (#6990)
  docs: extended custom provider headers support (#7012)
  feat(cli): add type-to-search filtering to select/multiselect dialogs (#6862)
  feat(ci): add cargo-audit workflow for scanning rust vulnerabilities (#6351)
  feat: add User-Agent header to MCP HTTP requests (#6988)
  chore(deps-dev): bump webpack from 5.102.1 to 5.105.0 in /ui/desktop (#6996)
  ...

# Conflicts:
#	Cargo.lock
zanesq added a commit that referenced this pull request Feb 6, 2026
* origin/main:
  Remove build-dependencies section from Cargo.toml (#6946)
  add /rp-why skill blog post (#6997)
  fix: fix snake_case function names in code_execution instructions (#7035)
  Document max_turns settings for recipes and subagents (#7044)
  feat: update Groq declarative data with Preview Models (#7023)
  fix(codex): propagate extended PATH to codex subprocess (#6874)
  Switch tetrate tool filtering back to supports_computer_use (#7024)
  feat(ui): add inline rename for chat sessions in sidebar (#6995)
  fix: handle toolnames without underscores (#7015)
  feat(claude-code): use stream-json protocol for persistent sessions (#7029)
  test(providers): add model listing to live provider suite (#7038)
  Agent added too much (#7036)
  fix(deps): bump tree-sitter to 0.26 and set sqlx default-features=false to fix RUSTSEC advisories (#7031)
  feat: add image support and improve error resilience for Codex (#7033)
  fix(providers): Azure OpenAI model listing 404 during configure (#7034)
  fix(deps): bump bat to 0.26.1 to resolve RUSTSEC-2026-0008 (#7021)
  Don't swallow Tetrate errors  (#6998)
  docs: remove hardcoded_stuff links (#7016)

# Conflicts:
#	ui/desktop/src/components/GooseSidebar/AppSidebar.tsx
kuccello pushed a commit to kuccello/goose that referenced this pull request Feb 7, 2026
Signed-off-by: Adrian Cole <adrian@tetrate.io>
Tyler-Hardin pushed a commit to Tyler-Hardin/goose that referenced this pull request Feb 11, 2026
Tyler-Hardin pushed a commit to Tyler-Hardin/goose that referenced this pull request Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments