# CVE-2024-35196: Slack integration leaks sensitive information in logs in Sentry

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.0
- **CVSS:** 2.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: High; User interaction: Required; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.68% (percentile 48, 2026-11-26)
- **CWE:** CWE-532
- **Aliases:** GHSA-c2g2-gx4j-rj3j, PYSEC-2026-1913
- **Published:** 2024-05-31T17:25:55.716Z
- **Modified:** 2026-07-07T17:57:24.563Z

## Who should check

- Projects that depend on PyPI package sentry (\>= 24.3.0, \< 24.5.0)
- Anyone running getsentry sentry \>= 24.3.0, \< 24.5.0

## Description

Sentry is a developer-first error tracking and performance monitoring platform. Sentry's Slack integration incorrectly records the incoming request body in logs. This request data can contain sensitive information, including the deprecated Slack verification token. With this verification token, it is possible under specific configurations, an attacker can forge requests and act as the Slack integration. The request body is leaked in log entries matching \`event == "slack.\*" && name == "sentry.integrations.slack" && request\_data == \*\`. The deprecated slack verification token, will be found in the \`request\_data.token\` key. \*\*SaaS users\*\* do not need to take any action. \*\*Self-hosted users\*\* should upgrade to version 24.5.0 or higher, rotate their Slack verification token, and use the Slack Signing Secret instead of the verification token. For users only using the \`slack.signing-secret\` in their self-hosted configuration, the legacy verification token is not used to verify the webhook payload. It is ignored. Users unable to upgrade should either set the \`slack.signing-secret\` instead of \`slack.verification-token\`. The signing secret is Slack's recommended way of authenticating webhooks. By having \`slack.singing-secret\` set, Sentry self-hosted will no longer use the verification token for authentication of the webhooks, regardless of whether \`slack.verification-token\` is set or not. Alternatively if the self-hosted instance is unable to be upgraded or re-configured to use the \`slack.signing-secret\`, the logging configuration can be adjusted to not generate logs from the integration. The default logging configuration can be found in \`src/sentry/conf/server.py\`. \*\*Services should be restarted once the configuration change is saved.\*\*

## Affected and fixed versions

- PyPI `sentry`: affected \>= 24.3.0, \< 24.5.0; fixed 24.5.0 (osv)
- getsentry sentry: \>= 24.3.0, \< 24.5.0 (cvelist)

## Mitigation

- Upgrade sentry to 24.5.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-35196. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35196.md
Affected: sentry >= 24.3.0, < 24.5.0
Fixed in: 24.5.0

Steps:
1. Search this machine and project for sentry (PyPI), getsentry sentry: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-35196 being exploited?

There is no confirmed exploitation: CVE-2024-35196 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.68% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-35196?

Low: CVSS 2.0 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-35196?

sentry \>= 24.3.0, \< 24.5.0.

### Is there a fix for CVE-2024-35196?

Yes. Fixed in 24.5.0. Upgrade sentry to 24.5.0 or later.

### How do I check if I'm affected by CVE-2024-35196?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/getsentry/sentry/security/advisories/GHSA-c2g2-gx4j-rj3j>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-35196>
- vendor: <https://github.com/advisories/GHSA-c2g2-gx4j-rj3j>
- patch: <https://github.com/getsentry/sentry/pull/70508>
- other: <https://api.slack.com/authentication/verifying-requests-from-slack#app-management-updates>
- other: <https://api.slack.com/authentication/verifying-requests-from-slack#deprecation>
- other: <https://api.slack.com/authentication/verifying-requests-from-slack#regenerating>
- other: <https://develop.sentry.dev/integrations/slack>
- other: <https://github.com/getsentry/sentry/blob/17d2b87e39ccd57e11da4deed62971ff306253d1/src/sentry/conf/server.py#L1307>
- other: <https://github.com/getsentry/sentry>
- other: <https://pypi.org/project/sentry>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-35196>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-c2g2-gx4j-rj3j> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1913> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-35196> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-35196>
