CVE-2026-105141 Details
Description
A security flaw has been discovered in topoteretes cognee up to 1.5.4. The affected element is the function get_user_id_by_email of the file cognee/modules/users/authentication/get_api_auth_backend.py of the component JWT Signing Key Handler. The manipulation of the argument FASTAPI_USERS_JWT_SECRET results in hard-coded credentials. The attack may be launched remotely. Upgrading to version 1.6.0 is sufficient to fix this issue. The patch is identified as fa65fc0cd86cdba48d19aa76e36be862be982f5d. Upgrading the affected component is advised.
A vulnerability in Topoteretes Cognee versions through 1.5.4 has been identified in the JWT Signing Key Handler component. The issue arises in the 'get_user_id_by_email' function within 'cognee/modules/users/authentication/get_api_auth_backend.py'. The vulnerability allows for the manipulation of the 'FASTAPI_USERS_JWT_SECRET' argument, resulting in the use of hard-coded credentials. This flaw can be exploited remotely.
Upgrade to Topoteretes Cognee version 1.6.0 or later. In version 1.6.0, the JWT secret management was improved to generate a random secret for each process when the 'FASTAPI_USERS_JWT_SECRET' variable is not set, preventing the use of a shared, known default. Instructions for updating can be found in the Cognee repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 4, 2026CISA-ADP
Assessed Oct 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/topoteretes/cognee/ | [email protected] | Vendor |
| https://github.com/topoteretes/cognee/commit/fa65fc0cd86cdba48d19aa76e36be862be982f5d | [email protected] | Source CodeVendor |
| https://github.com/topoteretes/cognee/pull/5062 | [email protected] | Issue TrackingVendor |
| https://github.com/topoteretes/cognee/releases/tag/v1.6.0 | [email protected] | Release NotesVendor |
| https://linear.app/cognee/issue/SDK-720/replace-the-super-secret-fallback-for-token-signing-secrets-with-a-per | [email protected] | Issue TrackingVendor |
| https://vuldb.com/cve/CVE-2026-105141 | [email protected] | AdvisoryContent Wall |
| https://vuldb.com/submit/944531 | [email protected] | Content Wall |
| https://vuldb.com/vuln/413365 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/413365/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-259 | Use of Hard-coded Password | [email protected] |
| CWE-798 | Use of Hard-coded Credentials | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| topoteretes cognee | <= 1.5.4 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 5, 2026 | CVE Modified | CISA-ADP |
| Oct 4, 2026 | New CVE Received | [email protected] |
Volerion