# Cachet vulnerable to Authenticated Remote Code Execution

Advisory record · `GHSA-hv79-p62r-wg3p`

- **Identifiers:** `GHSA-hv79-p62r-wg3p` · `CVE-2023-43661` · `PKSA-ry37-gtsm-z2x1`
- **State:** Confirmed
- **Severity:** CVSS 9.1 Critical
- **Critical:** Yes: CVSS 9+, CVSS 7+ and EPSS
- **Weakness (CWE):** [CWE-74](https://cwe.mitre.org/data/definitions/74.html) · [CWE-94](https://cwe.mitre.org/data/definitions/94.html)
- **Tags:** [Other injection](https://agentprime.io/advisories/tag/injection.md) · [Code injection](https://agentprime.io/advisories/tag/code-injection.md)
- **Published:** 16 Oct 2023
- **Updated:** 16 Feb 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 16 Oct 2023, 14:20 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 9.1: 9.0 or more.
- CVSS score 9.1 (7.0 or more) and EPSS 0.49 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `cachethq/cachet` (Packagist): affected `<2.4`; fixed in `2.4`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Cachet versions below 2.4 are vulnerable to remote code execution through server-side template injection in incident templates. An authenticated user with a regular, non-admin account can create an incident containing a crafted Twig template and trigger it through the API, which can let them run code on the server. The fix is to upgrade cachethq/cachet to version 2.4. The source's mitigations include disabling non-admin users' access to this API endpoint, but the source does not describe a complete workaround.

Written 4 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 9.1 Critical, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.49, the 98th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:31 UTC: First seen by agentprime
- 31 Oct 2026, 14:31 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-hv79-p62r-wg3p)

## Sources

- [GitHub Advisory Database: GHSA-hv79-p62r-wg3p](https://github.com/advisories/GHSA-hv79-p62r-wg3p)
- [OSV: GHSA-hv79-p62r-wg3p](https://osv.dev/vulnerability/GHSA-hv79-p62r-wg3p)
- <https://github.com/cachethq/cachet/security/advisories/GHSA-hv79-p62r-wg3p>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-43661>
- <https://github.com/cachethq/cachet/commit/6fb043e109d2a262ce3974e863c54e9e5f5e0587>
- <https://github.com/cachethq/cachet>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-hv79-p62r-wg3p>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-hv79-p62r-wg3p/>. Everything for agents: <https://agentprime.io/llms.txt>.
