Skip to content

fix(accounts): bind password confirmation to identity - #23233

Open
nijel wants to merge 4 commits into
mainfrom
review/oss-batch2-pehiwxjq
Open

nijel wants to merge 4 commits into
mainfrom
review/oss-batch2-pehiwxjq

Conversation

@nijel

@nijel nijel commented Nov 30, 2026

Copy link
Copy Markdown
Member

Store the account and association checked by the password prompt and consume that proof only for the same authentication pipeline. Keep the signed-out e-mail-link guard covered by a regression test.

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

Store the account and association checked by the password prompt and consume that proof only for the same authentication pipeline. Keep the signed-out e-mail-link guard covered by a regression test.

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

chatgpt-codex-connector Bot commented Nov 30, 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-30T07:24:01.374749Z 34aae37 New commits
🔒 Security Review ✅ Completed 2026-11-30T06:47:52.764734Z ccb5811 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 4 files

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

Turn on auto-fix | Re-trigger cubic

Comment thread weblate/accounts/pipeline.py Resolved
Store the pending partial token with the association and require the resumed pipeline token to match it. A later attempt for the same identity must prompt again. Addresses review feedback on #23233.

@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 3 files (changes from recent commits).

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

Turn on auto-fix | Re-trigger cubic

Comment thread weblate/accounts/views.py Resolved
Pending confirmations from before partial-token binding have no safe proof to resume. Discard that session state cleanly instead of raising KeyError. Addresses review feedback on #23233.

@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 2 files (changes from recent commits).

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

Turn on auto-fix | Re-trigger cubic

Comment thread weblate/accounts/views.py Resolved
Only discard legacy pending confirmation state on POST. A GET or HEAD of the confirmation page must not erase a successful one-use proof before the social pipeline resumes. Addresses review feedback on #23233.

This branch has not been deployed

No deployments
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