CVE-2026-105141 topoteretes cognee JWT Signing Key get_api_auth_backend.py get_user_id_by_email hard-coded credentials

Medium 5.3 Published Updated

Hard-coded JWT signing key in cognee allows remote attackers to bypass authentication and potentially take over user accounts.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-105141?

CVE-2026-105141 is a medium-severity vulnerability in topoteretes cognee, published on 4 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-798, CWE-259

Which versions are affected by CVE-2026-105141?

How do I fix CVE-2026-105141?

No fix has been published for CVE-2026-105141 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-105141 being exploited?

There is no known exploitation of CVE-2026-105141 in the wild and no public exploit code.

Sources

Also known as GHSA-xrgh-2vxr-rhm4.

Is CVE-2026-105141 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free