Sentry vulnerable to invite code reuse via cookie manipulation
With a known valid invite link (i.e. not already accepted or expired) an unauthenticated attacker can manipulate the cookie to allow the same invite link to be reused on multiple accounts when joining an organization.
Impact
An attacker with a valid invite link can create multiple users and join the organization from which the invite link was generated.
Patches
This issue was patched in version 22.11.0.
Workarounds
Sentry SaaS customers do not need to take action.
Self-hosted Sentry installs can disable the invite functionality until they are ready to deploy the patched version by editing their sentry.conf.py file (usually located at ~/.sentry/).
-
Add the following line into
sentry.conf.py:pythonSENTRY_FEATURES["organizations:invite-members"] = False -
Restart the Sentry web service.
bashdocker compose restart web
For more information
If you have any questions or comments about this advisory:
- Visit our FAQs on this CVE
- Open an issue in getsentry/sentry
- Email us at security[@]sentry.io
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | sentry | >= 20.6.0, < 22.11.0 | 22.11.0 |
References
- https://github.com/getsentry/sentry/security/advisories/GHSA-jv85-mqxj-3f9j
- https://nvd.nist.gov/vuln/detail/CVE-2022-23485
- https://github.com/getsentry/sentry/commit/565f971da955d57c754a47f5802fe9f9f7c66b39
- https://github.com/getsentry/sentry
- https://github.com/pypa/advisory-database/tree/main/vulns/sentry/PYSEC-2022-43011.yaml
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L- Weakness (CWE)
CWE-269, CWE-284- Platform
- Python (PyPI)
- Package
sentry- Disclosed
- 10.12.2022
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2022-43011 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-jv85-mqxj-3f9j - CC BY 4.0
Vulnerability history: sentry
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 15
- First → latest
- 12.2022 05.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Critical 3
- High 7
- Medium 4
- Low 1
Disclosures per year
- 2022: 1
- 2023: 4
- 2024: 6
- 2025: 1
- 2026: 3
-
Sentry vulnerable to invite code reuse via cookie manipulation this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.