CVE-2024-45053 Remote Code Execution Vulnerability via SSTI in Fides Webserver Jinja Email Templating Engine

Critical 9.1 Published Updated

Privileged users can achieve remote code execution via Server-Side Template Injection in the email templating engine.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-45053?

CVE-2024-45053 is a critical code injection vulnerability in ethyca fides, published on 4 Sep 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Fides is an open-source privacy engineering platform. Starting in version 2.19.0 and prior to version 2.44.0, the Email Templating feature uses Jinja2 without proper input sanitization or rendering environment restrictions, allowing for Server-Side Template Injection that grants Remote Code Execution to privileged users. A privileged user refers to an Admin UI user with the default `Owner` or `Contributor` role, who can escalate their access and execute code on the underlying Fides Webserver container where the Jinja template rendering function is executed. The vulnerability has been patched in Fides version `2.44.0`. Users are advised to upgrade to this version or later to secure their systems against this threat. There are no workarounds.

Weakness: CWE-94, CWE-1336

Which versions are affected by CVE-2024-45053?

3 open source packages ship an affected version, including ethyca-fides. It affects 1 product.

PackageAffectedFixed in
ethyca-fides PyPIFrom 2.19.02.44.0
ethyca-fides PyPIFrom 2.19.02.44.0
ethyca-fides PyPIFrom 2.19.02.44.0

Products include Ethyca Fides.

How do I fix CVE-2024-45053?

Upgrade ethyca-fides to 2.44.0 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-45053 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45053 exists.

Sources

Also known as GHSA-c34r-238x-f7qx, PYSEC-2026-1338.

Is CVE-2024-45053 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free