CVE-2025-65998: Apache Syncope's AES encryption stores hard-coded passwords in internal database
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.
Published Nov 24, 2025 · Updated Nov 25, 2025
Affected packages
org.apache.syncope:syncope-core
- Ecosystem
- Maven
- Affected
- >= 4.0.0, < 4.0.3
- Fixed in
- 4.0.3
- Check
mvn dependency:tree -Dincludes=org.apache.syncope:syncope-core
org.apache.syncope:syncope-core
- Ecosystem
- Maven
- Affected
- < 3.0.15
- Fixed in
- 3.0.15
- Check
mvn dependency:tree -Dincludes=org.apache.syncope:syncope-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
- https://nvd.nist.gov/vuln/detail/CVE-2025-65998
- https://lists.apache.org/thread/fjh0tb0d1xkbphc5ogdsc348ppz88cts
- https://github.com/apache/syncope/commit/297498ebfc86e4996f5e3e4ef7b7f8b1cd82004b
- https://github.com/apache/syncope/commit/9d706af25d2e60327b8b5b63186f9da51ed79a1d
- https://github.com/advisories/GHSA-jqg8-m35q-jh7j
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
