{"id":"CVE-2026-71238","aliases":["CVE-2026-71238"],"related":[],"kind":"vulnerability","state":"published","title":"DjangoCRM - Hardcoded Django SECRET_KEY Enables Session and CSRF Token Forgery","summary":"DjangoCRM ships with its Django SECRET_KEY hardcoded directly in the committed webcrm/settings.py rather than read from an environment variable. Since this key is used for session signing, CSRF token generation, and password reset tokens, anyone who reads the public repository can forge valid session cookies (including for the superadmin account), forge CSRF tokens, and forge password reset tokens, achieving full account takeover.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"DjangoCRM ships with its Django SECRET_KEY hardcoded directly in the committed webcrm/settings.py rather than read from an environment variable. Since this key is used for session signing, CSRF token generation, and password reset tokens, anyone who reads the public repository can forge valid session cookies (including for the superadmin account), forge CSRF tokens, and forge password reset tokens, achieving full account takeover.","source":"cvelist"},{"lang":"es","text":"DjangoCRM se distribuye con su SECRET_KEY de Django codificada directamente en el archivo webcrm/settings.py del repositorio, en lugar de leerse de una variable de entorno. Dado que esta clave se utiliza para la firma de sesión, la generación de tokens CSRF y los tokens de restablecimiento de contraseña, cualquiera que lea el repositorio público puede falsificar cookies de sesión válidas (incluso para la cuenta de superadministrador), falsificar tokens CSRF y falsificar tokens de restablecimiento de contraseña, logrando una toma de control total de la cuenta. El repositorio también se distribuye con DEBUG=True como valor predeterminado, lo que provoca que las páginas de error filtren credenciales de la base de datos, credenciales de correo electrónico, datos de OAuth y rutas de archivos internas.","source":"nvd"}],"published":"2026-08-05T10:56:33.934Z","modified":"2026-10-24T15:10:00.190Z","severity":{"scorer":"TuranSec","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"TuranSec","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-798"],"affected":[{"ranges":[{"version":"0","status":"affected"}],"vendor":"DjangoCRM","product":"django-crm","source":"cvelist"}],"references":[{"url":"https://github.com/DjangoCRM/django-crm","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Mirdavlatov Mira'zam"],"assigner":"TuranSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-08-05T12:43:33.263Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-71238","url":"https://www.cve.org/CVERecord?id=CVE-2026-71238","licence":"CVE Terms of Use","modified":"2026-08-10T11:45:42.375Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-71238","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71238","licence":"Public domain","modified":"2026-10-24T15:10:00.190Z"}],"updatedAt":"2026-11-25T22:59:31.092Z","epss":{"score":0.00407,"percentile":0.37071,"date":"2026-12-01T12:00:22.000Z"}}