#1145999 bookworm-pu: package django-allauth/65.0.2-1+deb13u1

#1145999#5
Date:
2026-08-28 16:48:51 UTC
From:
To:
Hello,

[ Reason ]
django-allauth has seen three CVEs reported, of which two I was able to
find in the version released in stable.

I cherry-picked the commits from upstream and built a new version

[ Impact ]
These CVEs are not major, if you believe these changes should not hit
stable it is fine with me.

[ Tests ]
Build and autopkgtest tests do cover the changed code

[ Risks ]
Changes are rather trivial.

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
  * d/p/0004: fix(saml): prevent open redirect with IdP initiated SSO
    (Closes: CVE-2026-27982, #1130044)

    This change merely verifies that an url complies with the checks
    done with is_safe_url, as defined in the DefaultAdapter in
    allauth/account/adapter.py
  * d/p/0005: fix(socialaccount): use ``sub`` in Okta/NetIQ
    (Closes: CVE-2025-65431; #1123085)

    This change moves from a mutable field to a non-mutable one
    for the identifier used for the third party account in NetIQ and
    Okta, which means that as soon as the user would change their
    preferred_username, it would induce the creation of another account
    upon relogin.

#1145999#12
Date:
2026-08-28 17:07:21 UTC
From:
To:
Grmbl.

The worse is that I wrote everything by hand and my brain started to
work *after I finished*.

Pierre-Elliott Bécue <peb@debian.org> wrote on 28/08/2026 at 18:48:51+0200:

The second patch has a significant impact on production setups as it
changes the field to identify an account for Okta and NetIQ. This will
happen in forky anyway, but still, it requires a NEWS file and proper
information.

Here is a new debdiff.

#1145999#23
Date:
2026-08-30 18:53:16 UTC
From:
To:
Hi Pierre,

FWIW, this was confusing, as the bug is for trixie/stable, but the
metadata got filled for bookworm. I have retitle and adjusted things,
hopefully all correct now.

Regards,
Salvatore

#1145999#28
Date:
2026-08-30 19:58:18 UTC
From:
To:
Hello,

Salvatore Bonaccorso <carnil@debian.org> wrote on 30/08/2026 at 20:53:16+0200:

Oops, I'm sorry, I'm pretty sure I asked reportbug to file a stable-pu,
but I have clearly messed-up somewhere.

Thanks for spotting and fixing it!

Bests,