Skip to content

fix(vcs): reject Mercurial local-path URL bypasses - #23209

Merged
nijel merged 3 commits into
mainfrom
review/oss-critical-gbatfbx4
Nov 29, 2026
Merged

nijel merged 3 commits into
mainfrom
review/oss-critical-gbatfbx4

Conversation

@nijel

@nijel nijel commented Nov 29, 2026

Copy link
Copy Markdown
Member

Accept only exact internal repository sentinels and reject URL forms that Mercurial would interpret as paths on the Weblate server.

Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-GBATFBX4.

Accept only exact internal repository sentinels and reject URL forms that Mercurial would interpret as paths on the Weblate server.

Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-GBATFBX4.
@nijel nijel added this to the 2026.12 milestone Nov 29, 2026
@nijel nijel self-assigned this Nov 29, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-29T18:39:34.344188Z 2ec7538 New commits
🔒 Security Review ✅ Completed 2026-11-29T16:56:15.535877Z 893dd21 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 9 files

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

Comment thread weblate/vcs/mercurial.py Resolved
Keep exact local and Weblate-link sentinels in the shared URL validator, but ensure direct Mercurial operations never interpret them as local paths.
@nijel
nijel enabled auto-merge (squash) November 29, 2026 18:07
@nijel
nijel disabled auto-merge November 29, 2026 18:38
@nijel
nijel merged commit 54f47ce into main Nov 29, 2026
32 of 35 checks passed
@nijel
nijel deleted the review/oss-critical-gbatfbx4 branch November 29, 2026 18:38
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.

1 participant