GCVE-1-2026-20365 (CVE-2026-133652)
Vulnerability from gna-1 – Published: 2026-11-20 10:23 – Updated: 2026-11-20 10:24| URL | Tags |
|---|---|
| https://github.com/flowintel/flowintel/commit/a7f… | patch |
qwen3.8:27b
2 events
advisory
bcp-05-x-01bcp-05-x-02bcp-05-x-03
Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.
| Model | Source | Identifier |
|---|---|---|
| qwen3.8:27b | ollama | qwen3.8:27b |
- Generator
-
patch2vuln.pyon 2026-11-20 10:20 - Model
qwen3.8:27b- Input
-
https://github.com/flowintel/flowintel/commit/a7f025ecfdf60dc0ea3438c79b21a8edc2449836.patch
cc71c944b258… - Confidence
- medium
| Commit | Subject | Patch SHA-256 |
|---|---|---|
a7f025ecfdf6
|
fix: [security] Revoke browser sessions when credentials | cc71c944b258… |
Fix summary
The fix binds browser session identifiers to the account's current credentials using an HMAC-SHA256 token derived from the user ID, auth provider, creation date, and password hash. All login paths (local, SSO, remembered) now rotate the server-side session ID. Self-service email and password changes require the current password. A self-service password change refreshes the owner's session while revoking all other browser sessions and remembered logins. Administrator password resets additionally rotate the user's API key. Legacy bare-ID session identifiers are rejected by the user loader, and session housekeeping code is updated to parse the new format safely.
Patch summary
Added a session_token() method to the User model that computes an HMAC-SHA256 over the user ID, auth provider, creation date, and password hash; get_id() now returns a composite identifier of the form 'id:token'. The load_user callback validates the new format and rejects legacy bare IDs using constant-time comparison. A _start_user_session() helper clears the session, logs out, logs in, and regenerates the session ID; it replaces all prior login_user() call sites across local, Entra ID, Keycloak, and SimpleSAML login flows. A user_loaded_from_cookie signal handler triggers session ID rotation on remembered-login restoration. A current_password field and validator were added to the EditUserForm, requiring the existing password for email or password changes on local accounts. The admin_edit_user_core function now regenerates the API key on password reset. The _invalidate_user_sessions and list_active_user_sessions helpers were updated to parse the new identifier format via a session_user_id() helper. Test logi
CVSS rationale
AV:N: The vulnerability is in a web application accessible over the network. AC:L: Exploitation requires only a valid session or remember-me cookie and knowledge of the user ID (often sequential); no special race conditions or complex timing are needed. AT:N: No manipulation of the attack target is required. PR:L: The attacker needs a low-privilege valid session (any authenticated user) or a stolen remember-me cookie; no administrative access is required. UI:N: The session persists without any further user interaction; the victim does not need to perform any action for the attacker to retain access. VC:L: An attacker with a persistent session can view data accessible to the compromised account, but this is a secondary effect. VI:H: The attacker can change the account's email and password without knowing the current password, resulting in full account takeover and persistent unauthorized access. VA:H: The legitimate user's access is undermined by the attacker's persistent session, and the attacker can maintain indefinite access. SC/SI/SA:N: The impact is confined to the Flowintel application itself; no other components are directly affected.
Weakness rationale
- CWE-613 The primary weakness is that browser sessions and remembered logins were not invalidated when credentials changed. The session identifier (a bare user ID) did not incorporate any credential state, so sessions outlived password changes and could be restored after deletion. This is a textbook insufficient session expiration issue.
- CWE-384 Server-side session IDs were not rotated upon any login event (local, SSO, or remembered). An attacker could fix a known session ID before the victim authenticated and retain access afterward. The patch adds session ID regeneration on all authentication transitions.
- CWE-287 The session identifier was a bare, predictable numeric user ID with no cryptographic binding to the account's credentials. This allowed session identifiers to be trivially guessed or forged by anyone who knew a user's ID, constituting improper authentication. The uncertainty is that the primary impact is session persistence rather than direct forgery, but the root cause is the lack of credential binding in the authentication token.
Attack pattern rationale
- CAPEC-18 The session identifier was a bare sequential user ID, making it trivially predictable. An attacker who knew or guessed a user's ID could construct a valid session identifier without any cryptographic secret. This is the closest CAPEC to the root cause: the session token lacked unpredictability and was not bound to any secret. The uncertainty is that the patch's primary fix is credential binding and session rotation rather than increasing token entropy, but the predictability of the bare ID is the enabling condition for the session persistence and fixation issues.
- CAPEC-60 An attacker who obtained a valid session or remember-me cookie (via XSS, network sniffing, or other means) could maintain access after the legitimate user changed their password, effectively hijacking the session indefinitely. The lack of session revocation on credential change and the absence of session ID rotation made this hijack persistent. This is a secondary mapping; CAPEC-18 is preferred as the root cause, but CAPEC-60 better describes the attacker's end-to-end goal.
Assumptions to verify
- The affected version range is inferred from the explicit context (affected_version '0', fixed_version '4.1.0'); the patch itself does not enumerate specific prior versions.
- CVSS PR:L assumes the attacker already holds a valid session or remember-me cookie; if the attacker must first obtain one via a separate vulnerability, the effective privilege requirement may be higher.
- CVSS VC:L is assigned because a persistent session grants data access, but the primary impact is integrity (account takeover) rather than direct data exfiltration.
- CAPEC-18 (Session Prediction) is selected as the closest match because the bare user ID is the root cause of the predictability; however, the patch's primary remediation is credential binding and session rotation rather than increasing token entropy, so the mapping is approximate.
- The patch does not specify whether the vulnerability was reported through a coordinated disclosure process or a public channel; elhoim is credited as reporter based solely on the commit message.
- The SSVC 'automatable: yes' assessment assumes the attacker can script session reuse or credential modification via HTTP requests; no evidence of an existing automated exploit is present.
Model comparison
Selected qwen3.8:27b
by deterministic-consensus-v1
The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required.
| Model | Score | Agreement | Confidence | Assumptions |
|---|---|---|---|---|
qwen3.8:27b |
6 | 11 | medium | 6 |
- 2026-11-02 13:43 UTC Fix developed Corrective change authored (a7f025ecfdf60dc0ea3438c79b21a8edc2449836): fix: [security] Revoke browser sessions when credentials https://github.com/flowintel/flowintel/commit/a7f025ecfdf60dc0ea3438c79b21a8edc2449836.patch
- 2026-11-20 10:19 UTC Fix available Patch retrieved from the supplied URL; retrieval time is used as the default availability time. https://github.com/flowintel/flowintel/commit/a7f025ecfdf60dc0ea3438c79b21a8edc2449836.patch
{
"containers": {
"cna": {
"affected": [
{
"cpes": [
"cpe:2.3:a:flowintel:flowintel:*:*:*:*:*:*:*:*"
],
"modules": [
"app/account/account.py",
"app/account/form.py",
"app/admin/admin_core.py",
"app/db_class/db.py",
"app/chatbot/chatbot_core.py"
],
"product": "flowintel",
"programFiles": [],
"repo": "https://github.com/flowintel/flowintel",
"vendor": "flowintel",
"versions": [
{
"lessThan": "4.1.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:flowintel:flowintel:*:*:*:*:*:*:*:*",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "reporter",
"value": "elhoim"
},
{
"lang": "en",
"type": "remediation developer",
"value": "David Cruciani"
}
],
"descriptions": [
{
"lang": "en",
"value": "Flowintel , contained a session management vulnerability in its browser authentication mechanism. The session identifier used a bare numeric user ID rather than a credential-bound token, resulting in several related weaknesses:\n\n- Remembered logins (remember-me cookies) remained valid after a user changed their password, allowing an attacker holding a previously issued cookie to retain access indefinitely.\n- Server-side session identifiers were not rotated upon login (local, SSO, or remembered), enabling session fixation.\n- Self-service email and password changes did not require verification of the current password, permitting an attacker with an active session to modify account credentials without knowledge of the existing password.\n- Administrator-initiated password resets did not revoke other browser sessions, invalidate remembered logins, or rotate the affected user\u0027s API key.\n\nAn attacker who obtained a valid session or remember-me cookie (e.g., through XSS, network interception, or cookie theft) could maintain unauthorized access even after the legitimate user changed their password. Additionally, an attacker with any valid session could change the account\u0027s email address or password without knowing the current credentials, effectively taking over the account.\n\nAffected versions: Flowintel prior to 4.1.0."
}
],
"impacts": [
{
"capecId": "CAPEC-18",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-18 Session Prediction"
}
]
},
{
"capecId": "CAPEC-60",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-60 Session Hijacking"
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 7.2,
"baseSeverity": "HIGH",
"privilegesRequired": "LOW",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "LOW",
"vulnIntegrityImpact": "HIGH",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
},
{
"format": "SSVC",
"other": {
"content": {
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"role": "Supplier",
"timestamp": "2026-11-20T10:20:10Z",
"version": "2.0.3"
},
"type": "SSVC"
},
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-613",
"description": "CWE-613 Insufficient Session Expiration",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-384",
"description": "CWE-384 Session Fixation",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-287",
"description": "CWE-287 Improper Authentication",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"orgId": "00000000-0000-4000-8000-000000000000"
},
"references": [
{
"name": "Security patch",
"tags": [
"patch"
],
"url": "https://github.com/flowintel/flowintel/commit/a7f025ecfdf60dc0ea3438c79b21a8edc2449836"
}
],
"solutions": [
{
"lang": "en",
"value": "The fix binds browser session identifiers to the account\u0027s current credentials using an HMAC-SHA256 token derived from the user ID, auth provider, creation date, and password hash. All login paths (local, SSO, remembered) now rotate the server-side session ID. Self-service email and password changes require the current password. A self-service password change refreshes the owner\u0027s session while revoking all other browser sessions and remembered logins. Administrator password resets additionally rotate the user\u0027s API key. Legacy bare-ID session identifiers are rejected by the user loader, and session housekeeping code is updated to parse the new format safely."
}
],
"title": "Flowintel Session Identifiers Not Bound to Credentials Allow Persistent Access After Password Change",
"x_gcve": [
{
"extensions": {
"bcp-05-x-01": {
"ai_annotations": [
{
"ai_level": "generated",
"description": "Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.",
"gna_source": 1,
"models": [
{
"gna_source": 1,
"identifier": "qwen3.8:27b",
"name": "qwen3.8:27b",
"source": "ollama"
}
],
"review_status": "full",
"scope": "record",
"tags": [
"ai-computer-assisted:llm-generated",
"ai-computer-assisted:classification"
]
}
]
},
"bcp-05-x-02": {
"x_patch2vuln": {
"assumptions": [
"The affected version range is inferred from the explicit context (affected_version \u00270\u0027, fixed_version \u00274.1.0\u0027); the patch itself does not enumerate specific prior versions.",
"CVSS PR:L assumes the attacker already holds a valid session or remember-me cookie; if the attacker must first obtain one via a separate vulnerability, the effective privilege requirement may be higher.",
"CVSS VC:L is assigned because a persistent session grants data access, but the primary impact is integrity (account takeover) rather than direct data exfiltration.",
"CAPEC-18 (Session Prediction) is selected as the closest match because the bare user ID is the root cause of the predictability; however, the patch\u0027s primary remediation is credential binding and session rotation rather than increasing token entropy, so the mapping is approximate.",
"The patch does not specify whether the vulnerability was reported through a coordinated disclosure process or a public channel; elhoim is credited as reporter based solely on the commit message.",
"The SSVC \u0027automatable: yes\u0027 assessment assumes the attacker can script session reuse or credential modification via HTTP requests; no evidence of an existing automated exploit is present."
],
"capecRationale": [
{
"capecId": "CAPEC-18",
"rationale": "The session identifier was a bare sequential user ID, making it trivially predictable. An attacker who knew or guessed a user\u0027s ID could construct a valid session identifier without any cryptographic secret. This is the closest CAPEC to the root cause: the session token lacked unpredictability and was not bound to any secret. The uncertainty is that the patch\u0027s primary fix is credential binding and session rotation rather than increasing token entropy, but the predictability of the bare ID is the enabling condition for the session persistence and fixation issues."
},
{
"capecId": "CAPEC-60",
"rationale": "An attacker who obtained a valid session or remember-me cookie (via XSS, network sniffing, or other means) could maintain access after the legitimate user changed their password, effectively hijacking the session indefinitely. The lack of session revocation on credential change and the absence of session ID rotation made this hijack persistent. This is a secondary mapping; CAPEC-18 is preferred as the root cause, but CAPEC-60 better describes the attacker\u0027s end-to-end goal."
}
],
"commit": "a7f025ecfdf60dc0ea3438c79b21a8edc2449836",
"confidence": "medium",
"credits": [
{
"lang": "en",
"type": "reporter",
"value": "elhoim"
},
{
"lang": "en",
"type": "remediation developer",
"value": "David Cruciani"
}
],
"cvssRationale": "AV:N: The vulnerability is in a web application accessible over the network. AC:L: Exploitation requires only a valid session or remember-me cookie and knowledge of the user ID (often sequential); no special race conditions or complex timing are needed. AT:N: No manipulation of the attack target is required. PR:L: The attacker needs a low-privilege valid session (any authenticated user) or a stolen remember-me cookie; no administrative access is required. UI:N: The session persists without any further user interaction; the victim does not need to perform any action for the attacker to retain access. VC:L: An attacker with a persistent session can view data accessible to the compromised account, but this is a secondary effect. VI:H: The attacker can change the account\u0027s email and password without knowing the current password, resulting in full account takeover and persistent unauthorized access. VA:H: The legitimate user\u0027s access is undermined by the attacker\u0027s persistent session, and the attacker can maintain indefinite access. SC/SI/SA:N: The impact is confined to the Flowintel application itself; no other components are directly affected.",
"fixSummary": "The fix binds browser session identifiers to the account\u0027s current credentials using an HMAC-SHA256 token derived from the user ID, auth provider, creation date, and password hash. All login paths (local, SSO, remembered) now rotate the server-side session ID. Self-service email and password changes require the current password. A self-service password change refreshes the owner\u0027s session while revoking all other browser sessions and remembered logins. Administrator password resets additionally rotate the user\u0027s API key. Legacy bare-ID session identifiers are rejected by the user loader, and session housekeeping code is updated to parse the new format safely.",
"generatedAt": "2026-11-20T10:20:10.629438Z",
"generator": "patch2vuln.py",
"model": "qwen3.8:27b",
"modelComparison": {
"potentialErrors": [],
"rankings": [
{
"agreementScore": 11,
"assumptionCount": 6,
"confidence": "medium",
"model": "qwen3.8:27b",
"score": 6
}
],
"selectedModel": "qwen3.8:27b",
"selectionMethod": "deterministic-consensus-v1",
"selectionNotice": "The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required."
},
"patchSha256": "cc71c944b258cbbb2691a3c344be8ab238c168c273adbfd4caa4f051a1bf0315",
"patchSummary": "Added a session_token() method to the User model that computes an HMAC-SHA256 over the user ID, auth provider, creation date, and password hash; get_id() now returns a composite identifier of the form \u0027id:token\u0027. The load_user callback validates the new format and rejects legacy bare IDs using constant-time comparison. A _start_user_session() helper clears the session, logs out, logs in, and regenerates the session ID; it replaces all prior login_user() call sites across local, Entra ID, Keycloak, and SimpleSAML login flows. A user_loaded_from_cookie signal handler triggers session ID rotation on remembered-login restoration. A current_password field and validator were added to the EditUserForm, requiring the existing password for email or password changes on local accounts. The admin_edit_user_core function now regenerates the API key on password reset. The _invalidate_user_sessions and list_active_user_sessions helpers were updated to parse the new identifier format via a session_user_id() helper. Test logi",
"patchTruncated": false,
"patches": [
{
"commit": "a7f025ecfdf60dc0ea3438c79b21a8edc2449836",
"date": "Mon, 2 Nov 2026 14:43:10 +0100",
"patchSha256": "cc71c944b258cbbb2691a3c344be8ab238c168c273adbfd4caa4f051a1bf0315",
"retrievedAt": "2026-11-20T10:19:26.228826Z",
"source": "https://github.com/flowintel/flowintel/commit/a7f025ecfdf60dc0ea3438c79b21a8edc2449836.patch",
"sourceUrl": "https://github.com/flowintel/flowintel/commit/a7f025ecfdf60dc0ea3438c79b21a8edc2449836.patch",
"subject": "fix: [security] Revoke browser sessions when credentials"
}
],
"source": "https://github.com/flowintel/flowintel/commit/a7f025ecfdf60dc0ea3438c79b21a8edc2449836.patch",
"ssvc": {
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"role": "Supplier",
"timestamp": "2026-11-20T10:20:10Z",
"version": "2.0.3"
},
"subject": "fix: [security] Revoke browser sessions when credentials",
"weaknessRationale": [
{
"cweId": "CWE-613",
"rationale": "The primary weakness is that browser sessions and remembered logins were not invalidated when credentials changed. The session identifier (a bare user ID) did not incorporate any credential state, so sessions outlived password changes and could be restored after deletion. This is a textbook insufficient session expiration issue."
},
{
"cweId": "CWE-384",
"rationale": "Server-side session IDs were not rotated upon any login event (local, SSO, or remembered). An attacker could fix a known session ID before the victim authenticated and retain access afterward. The patch adds session ID regeneration on all authentication transitions."
},
{
"cweId": "CWE-287",
"rationale": "The session identifier was a bare, predictable numeric user ID with no cryptographic binding to the account\u0027s credentials. This allowed session identifiers to be trivially guessed or forged by anyone who knew a user\u0027s ID, constituting improper authentication. The uncertainty is that the primary impact is session persistence rather than direct forgery, but the root cause is the lack of credential binding in the authentication token."
}
]
}
},
"bcp-05-x-03": {
"x_timeline": {
"events": [
{
"description": "Corrective change authored (a7f025ecfdf60dc0ea3438c79b21a8edc2449836): fix: [security] Revoke browser sessions when credentials",
"id": "evt-fix-developed-1",
"references": [
"https://github.com/flowintel/flowintel/commit/a7f025ecfdf60dc0ea3438c79b21a8edc2449836.patch"
],
"timestamp": "2026-11-02T13:43:10Z",
"type": "fix-developed"
},
{
"description": "Patch retrieved from the supplied URL; retrieval time is used as the default availability time.",
"id": "evt-fix-available-1",
"references": [
"https://github.com/flowintel/flowintel/commit/a7f025ecfdf60dc0ea3438c79b21a8edc2449836.patch"
],
"timestamp": "2026-11-20T10:19:26.228826Z",
"type": "fix-available"
}
]
}
}
},
"recordType": "advisory",
"vulnId": "GCVE-1-2026-20365"
}
]
}
},
"cveMetadata": {
"assignerOrgId": "00000000-0000-4000-8000-000000000000",
"cveId": "CVE-2026-133652",
"datePublished": "2026-11-20T10:23:23.164512Z",
"dateReserved": "2026-11-20T10:24:36.475Z",
"dateUpdated": "2026-11-20T10:24:36.586840Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1-2026-20365"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Solutions
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.