Skip to content

chore: pygments>=2.20.0 across all packages (CVE-2026-4539) - #36385

Merged
Mason Daugherty (mdrxy) merged 1 commit into
masterfrom
bump/pygments-2.20.0
Mar 31, 2026
Merged

chore: pygments>=2.20.0 across all packages (CVE-2026-4539)#36385
Mason Daugherty (mdrxy) merged 1 commit into
masterfrom
bump/pygments-2.20.0

Conversation

@jkennedyvz

Copy link
Copy Markdown
Contributor

Summary

Bumps pygments to >=2.20.0 across all 21 affected packages to address CVE-2026-4539 — ReDoS via inefficient GUID regex in Pygments.

  • Severity: Low
  • Fixed in: 2.20.0 (was 2.19.2)
  • Change: Added pygments>=2.20.0 to constraint-dependencies in [tool.uv] for each package, then ran uv lock --upgrade-package pygments to regenerate lock files.

Closes Dependabot alerts #3435#3455.

Release Note

Patch deps

Test Plan

  • CI Green 🙏

Adds `pygments>=2.20.0` as a constraint-dependency in [tool.uv] for all
21 affected packages and regenerates lock files to resolve the ReDoS
vulnerability in Pygments GUID regex matching.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot added anthropic `langchain-anthropic` package issues & PRs chroma `langchain-chroma` package issues & PRs core `langchain-core` package issues & PRs deepseek `langchain-deepseek` package issues & PRs dependencies Pull requests that update a dependency file (e.g. `pyproject.toml` or `uv.lock`) exa `langchain-exa` package issues & PRs fireworks `langchain-fireworks` package issues & PRs groq `langchain-groq` package issues & PRs huggingface `langchain-huggingface` package issues & PRs integration PR made that is related to a provider partner package integration internal langchain `langchain` package issues & PRs langchain-classic `langchain-classic` package issues & PRs mistralai `langchain-mistralai` package issues & PRs model-profiles `langchain-model-profiles` package issues & PRs nomic `langchain-nomic` package issues & PRs ollama `langchain-ollama` package issues & PRs openai `langchain-openai` package issues & PRs openrouter `langchain-openrouter` package issues & PRs perplexity `langchain-perplexity` package issues & PRs qdrant `langchain-qdrant` package issues & PRs size: S 50-199 LOC standard-tests Related to the package `standard-tests` text-splitters Related to the package `text-splitters` xai `langchain-xai` package issues & PRs labels Mar 31, 2026
@jkennedyvz John Kennedy (jkennedyvz) changed the title bump: pygments>=2.20.0 across all packages (CVE-2026-4539) chore: pygments>=2.20.0 across all packages (CVE-2026-4539) Mar 31, 2026
@github-actions github-actions Bot added the infra PRs made that include chores, devops, repo meta changes label Mar 31, 2026
@codspeed-hq

codspeed-hq Bot commented Mar 31, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

✅ 30 untouched benchmarks
⏩ 10 skipped benchmarks1


Comparing bump/pygments-2.20.0 (a54b343) with master (90d1365)2

Open in CodSpeed

Footnotes

  1. 10 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

  2. No successful run was found on master (e207685) during the generation of this report, so 90d1365 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@mdrxy
Mason Daugherty (mdrxy) merged commit 0f4f3f7 into master Mar 31, 2026
301 of 302 checks passed
@mdrxy
Mason Daugherty (mdrxy) deleted the bump/pygments-2.20.0 branch March 31, 2026 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

anthropic `langchain-anthropic` package issues & PRs chroma `langchain-chroma` package issues & PRs core `langchain-core` package issues & PRs deepseek `langchain-deepseek` package issues & PRs dependencies Pull requests that update a dependency file (e.g. `pyproject.toml` or `uv.lock`) exa `langchain-exa` package issues & PRs fireworks `langchain-fireworks` package issues & PRs groq `langchain-groq` package issues & PRs huggingface `langchain-huggingface` package issues & PRs infra PRs made that include chores, devops, repo meta changes integration PR made that is related to a provider partner package integration internal langchain `langchain` package issues & PRs langchain-classic `langchain-classic` package issues & PRs mistralai `langchain-mistralai` package issues & PRs model-profiles `langchain-model-profiles` package issues & PRs nomic `langchain-nomic` package issues & PRs ollama `langchain-ollama` package issues & PRs openai `langchain-openai` package issues & PRs openrouter `langchain-openrouter` package issues & PRs perplexity `langchain-perplexity` package issues & PRs qdrant `langchain-qdrant` package issues & PRs size: S 50-199 LOC standard-tests Related to the package `standard-tests` text-splitters Related to the package `text-splitters` xai `langchain-xai` package issues & PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants