Skip to content

Commit be332ff

Browse files
authored
fix: apply upstream security patch to remove activation_key exposure from account API (#1366)
1 parent 178200b commit be332ff

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ instructions, because git commits are used to generate release notes:
2020

2121
<!-- scriv-insert-here -->
2222

23+
<a id='changelog-21.0.4'></a>
24+
## v21.0.4 (2026-04-10)
25+
26+
- [Security] Backport fix to remove `activation_key` exposure from `/api/user/v1/accounts/{username}`, preventing email verification bypass via OAuth2 password grant flow (source: upstream edx-platform commit 21cead238466ca398ba368518f1d3288431d68f4).
27+
2328
<a id='changelog-21.0.3'></a>
2429
## v21.0.3 (2026-04-09)
2530

tutor/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Increment this version number to trigger a new release. See
44
# docs/tutor.html#versioning for information on the versioning scheme.
5-
__version__ = "21.0.3"
5+
__version__ = "21.0.4"
66

77
# The version suffix will be appended to the actual version, separated by a
88
# dash. Use this suffix to differentiate between the actual released version and

tutor/templates/build/openedx/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ RUN git config --global user.email "tutor@overhang.io" \
6464
{# RUN curl -fsSL https://github.com/openedx/edx-platform/commit/<GITSHA1>.patch | git am #}
6565
{# Include a comment on why the patch is neccessary. #}
6666

67+
# SECURITY FIX: remove activation_key exposure from account API
68+
RUN curl -fsSL https://github.com/openedx/openedx-platform/commit/21cead238466ca398ba368518f1d3288431d68f4.patch | git am
69+
6770
{{ patch("openedx-dockerfile-post-git-checkout") }}
6871

6972
##### Empty layer with just the repo at the root.

0 commit comments

Comments
 (0)