{"id":"CVE-2024-7053","summary":"Session Fixation in open-webui/open-webui","details":"A vulnerability in open-webui/open-webui version 0.3.8 allows an attacker with a user-level account to perform a session fixation attack. The session cookie for all users is set with the default `SameSite=Lax` and does not have the `Secure` flag enabled, allowing the session cookie to be sent over HTTP to a cross-origin domain. An attacker can exploit this by embedding a malicious markdown image in a chat, which, when viewed by an administrator, sends the admin's session cookie to the attacker's server. This can lead to a stealthy administrator account takeover, potentially resulting in remote code execution (RCE) due to the elevated privileges of administrator accounts.","aliases":["GHSA-43g4-487m-5q6m","PYSEC-2026-1720"],"modified":"2026-08-12T03:51:32.972985202Z","published":"2025-03-20T10:11:16.240Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7053.json","cna_assigner":"@huntr_ai"},"references":[{"type":"WEB","url":"https://huntr.com/bounties/947f8191-0abf-4adf-b7c4-d4c19683aba2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7053.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7053"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/open-webui/open-webui","events":[{"introduced":"9bcd4ce5c0a01af68c0d2aa44554a68bb741c61b"},{"last_affected":"9bcd4ce5c0a01af68c0d2aa44554a68bb741c61b"}],"database_specific":{"cpe":"cpe:2.3:a:openwebui:open_webui:0.3.8:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.3.8"},{"last_affected":"0.3.8"}],"source":"CPE_STRING"}}],"versions":["0.3.8","v0.3.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-7053.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N"}]}