CVE-2025-65998: Apache Syncope's AES encryption stores hard-coded passwords in internal database
(updated )
Apache Syncope can be configured to store the user password values in the internal database with AES encryption, though this is not the default option.
When AES is configured, the default key value, hard-coded in the source code, is always used. This allows a malicious attacker, once obtained access to the internal database content, to reconstruct the original cleartext password values. This is not affecting encrypted plain attributes, whose values are also stored using AES encryption.
Users are recommended to upgrade to version 3.0.15 / 4.0.3, which fix this issue.
References
- github.com/advisories/GHSA-jqg8-m35q-jh7j
- github.com/apache/syncope
- github.com/apache/syncope/commit/297498ebfc86e4996f5e3e4ef7b7f8b1cd82004b
- github.com/apache/syncope/commit/9d706af25d2e60327b8b5b63186f9da51ed79a1d
- lists.apache.org/thread/fjh0tb0d1xkbphc5ogdsc348ppz88cts
- nvd.nist.gov/vuln/detail/CVE-2025-65998
Code Behaviors & Features
Detect and mitigate CVE-2025-65998 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →