CVE-2024-34715: Fides Webserver Logs Hosted Database Password Partial Exposure Vulnerability
The Fides webserver requires a connection to a hosted PostgreSQL database for persistent storage of application data. If the password used by the webserver for this database connection includes special characters such as @ and $, webserver startup fails and the part of the password following the special character is exposed in webserver error logs.
Published May 29, 2024 · Updated May 31, 2024
Affected packages
ethyca-fides
- Ecosystem
- PyPI
- Affected
- < 2.37.0
- Fixed in
- 2.37.0
- Check
pip show ethyca-fides
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
The Fides webserver requires a connection to a hosted PostgreSQL database for persistent storage of application data. If the password used by the webserver for this database connection includes special characters such as @ and $, webserver startup fails and the part of the password following the special character is exposed in webserver error logs.
This is caused by improper escaping of the SQLAlchemy password string, see here and here for more info.
Impact
Partial exposure of hosted database password in webserver logs
Patches
The vulnerability has been patched in Fides version 2.37.0. Users are advised to upgrade to this version or later to secure their systems against this threat.
Workarounds
There are no workarounds.
Proof of Concept
- Create a hosted PostgreSQL database for Fides with a password including
@or$e.g.p@ssword - Run Fides and observe failure, sample log attached
fides | 2024-02-28 14:27:52.609 | ERROR | fides.api.db.database:configure_db:117 - Unable to configure database: sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "ssword@fides-db" to address: Name or service not knownCredited to tariqajyusuf, pattisdr.
References
- https://github.com/ethyca/fides/security/advisories/GHSA-8cm5-jfj2-26q7
- https://github.com/ethyca/fides/commit/6ab37b1ffe2b1a3bd35b706a82f78e061086141c
- https://nvd.nist.gov/vuln/detail/CVE-2024-34715
- https://docs.sqlalchemy.org/en/14/core/engines.html#escaping-special-characters-such-as-signs-in-passwords
- https://github.com/sqlalchemy/sqlalchemy/discussions/6615
- https://github.com/advisories/GHSA-8cm5-jfj2-26q7
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-44541
ethyca-fides has a DOM-based XSS vulnerability in fides.js via fides_description override
high7.0May 14, 2026CVE-2026-42303
Ethyca Fides has a Privacy Request Identity Verification Bypass Vulnerability via Duplicate Detection
medium6.1May 5, 2026CVE-2025-57766
Fides' Admin UI User Password Change Does Not Invalidate Current Session
low4.8Sep 8, 2025CVE-2025-57815
Fides has a Lack of Brute-Force Protections on Authentication Endpoints
low6.5Sep 8, 2025CVE-2025-57816
Fides Webserver API Rate Limiting Vulnerability in Proxied Environments
medium7.5Sep 8, 2025CVE-2025-57817
Fides Webserver API is Vulnerable to OAuth Client Privilege Escalation
high7.2Sep 8, 2025
