Django-Anymail prone to a timing attackGHSA-hxf9-7h4c-f5jv
CRITICALFix: anymail/django-anymail@c079983GHSA-hxf9-7h4c-f5jv is a critical-severity (CVSS 9.1) Information Exposure vulnerability in django-anymail. A fix is available for django-anymail — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
django-anymailReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
webhooks/base.py in Anymail (aka django-anymail) before 1.2.1 is prone to a timing attack vulnerability on the WEBHOOK_AUTHORIZATION secret, which allows remote attackers to post arbitrary e-mail tracking events.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | django-anymail | all versions | 1.2.1pip install --upgrade 'django-anymail==1.2.1' |
Affected Products
debian linuxdebiandjango-anymaildjango-anymail_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for django-anymail, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update django-anymail to 1.2.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-hxf9-7h4c-f5jv is resolved across your whole dependency graph.
Workarounds
Assume what was exposed is already known: rotate any credential, token or key that the affected component could return, restrict the endpoint to callers that genuinely need it, and strip sensitive fields from responses and error output at the boundary rather than relying on the client not to read them.
Frequently Asked Questions
Is GHSA-hxf9-7h4c-f5jv in your dependencies?
Find it across PyPI, including transitive dependencies.