# fief-server Server-Side Template Injection vulnerability

Advisory record · `GHSA-hj8m-9fhf-v7jp`

- **Identifiers:** `GHSA-hj8m-9fhf-v7jp`
- **State:** Confirmed
- **Severity:** CVSS 10.0 Critical
- **Critical:** Yes: CVSS 9+
- **Published:** 23 Jun 2023
- **Updated:** 2 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 23 Jun 2023, 21:46 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 10.0: 9.0 or more.

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

## Affected packages

- `fief-server` (PyPI): affected `>=0.19.0, <0.25.3`; fixed in `0.25.3`

## Machine-written summary

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

> fief-server versions 0.19.0 up to but not including 0.25.3 are vulnerable to server-side template injection in the email template customization feature. An attacker with an authenticated account that can edit email templates can inject template expressions that execute operating system commands on the server. Upgrade to fief-server 0.25.3 or later.

Written 5 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

- 10.0 Critical, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** No score.

## Timeline

- 31 Oct 2026, 14:38 UTC: First seen by agentprime
- 31 Oct 2026, 14:38 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-hj8m-9fhf-v7jp)

## Sources

- [GitHub Advisory Database: GHSA-hj8m-9fhf-v7jp](https://github.com/advisories/GHSA-hj8m-9fhf-v7jp)
- [OSV: GHSA-hj8m-9fhf-v7jp](https://osv.dev/vulnerability/GHSA-hj8m-9fhf-v7jp)
- <https://github.com/fief-dev/fief/security/advisories/GHSA-hj8m-9fhf-v7jp>
- <https://github.com/fief-dev/fief/commit/91e56625b641fa419e2985772266774bae18382b>
- <https://github.com/fief-dev/fief>
- <https://github.com/fief-dev/fief/releases/tag/v0.25.3>

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-hj8m-9fhf-v7jp>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-hj8m-9fhf-v7jp/>. Everything for agents: <https://agentprime.io/llms.txt>.
