PST-064: No notification is sent when a password, address or second factor changes #793
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo#793
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found in the security audit of 2026-10-10 (
SECURITY-AUDIT-2026-10-10.md), run againstmainatc30851bfrom 8 to 10 October 2026, as PST-064. Severity: Informational.The text below is the audit's entry, unchanged apart from links to the other issues it names. The finding was produced by automated review and checked by a second automated pass; re-check it before acting on it.
src/postulo/config/settings/base.py(243-262)Who can do it, and what they need. Anyone who has already obtained a session or a credential; the gap is in detection, not in access.
How it works.
Impact. Delays discovery of the takeovers described above and of any session theft; no direct access gained.
Verification (verdict: confirmed; severity after verification: Informational). The cited range base.py:243-262 is correct only in the sense that the setting is missing there. The relevant flows are password change, password reset, password set, an added or changed address, and social account connect (those allauth calls send_notification_mail from). Remediation: set ACCOUNT_EMAIL_NOTIFICATIONS = True (or send a Postulo notification) and cover it with a test. Note that it would not warn the pre-claimed victim in PST-002 (#731).
Suggested remediation. Set ACCOUNT_EMAIL_NOTIFICATIONS = True so allauth mails the primary address on password change, address change and (via mfa signals) authenticator changes, routed through the pluggable backend.
Fixed in
a85280b30on main.