GCVE-1-2026-20409 (CVE-2026-133839)
Vulnerability from gna-1 – Published: 2026-11-20 14:35 – Updated: 2026-11-20 14:36- CWE-862 - Missing Authorization
| URL | Tags |
|---|---|
| https://github.com/flowintel/flowintel/commit/714… | 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 14:18 - Model
qwen3.8:27b- Input
-
https://github.com/flowintel/flowintel/commit/7142a49da22f1079bcbd043bc33eb7cdfabc81a7
de01c727664b… - Confidence
- medium
| Commit | Subject | Patch SHA-256 |
|---|---|---|
7142a49da22f
|
fix: [security] Restrict evidence deletion on privileged | de01c727664b… |
Fix summary
The fix enforces role-based authorization before any file deletion side effects occur. It verifies that the file belongs to the specified task (preventing task substitution) and that, when the task is in a restricted state, the requesting user holds Admin, Case Admin, or Queue Admin privileges. Denial is returned with a 403 status and an audit log entry before any disk, database, timeline, or history modification takes place. The check is applied consistently across the core model, the browser endpoint, and the API endpoint.
Patch summary
Three source files are modified. In TaskCore.py, the delete_file method gains two guards: a file-to-task ownership check (file.task_id must equal task.id) and a restricted-state permission check (is_task_restricted and can_edit_requested_task). In task.py and task_api.py, the respective delete_file handlers insert the same restricted-state permission check after the existing case-membership check, returning a 403 JSON response and writing an audit log entry on denial. A new test file (207 lines) adds 116 regression tests covering role-based denial, permitted deletion by approvers, task-substitution prevention, API identity vs session identity, Matrix delegation, read-only denial, non-member denial, and unrestricted-task deletion by editors.
CVSS rationale
AV:N: The vulnerability is exploitable over the network via the web UI or REST API. AC:L: No special race conditions, timing, or configuration are needed; a simple authenticated request suffices. AT:N: No manipulation of the attack target is required. PR:L: The attacker needs a low-privilege authenticated account with case membership (editor or queuer). UI:N: No victim interaction is required. VC:N: No confidential data is exposed. VI:H: Evidence files are permanently deleted from disk and database, and timeline/history records are altered, severely compromising investigation integrity. VA:N: The system remains operational; the impact is data destruction (integrity) rather than service unavailability. SC/SI/SA:N: No impact on other components or systems is evidenced.
Weakness rationale
- CWE-862 The file deletion endpoints and core method lacked an authorization check for restricted-state tasks. Any case member could invoke deletion regardless of role, which is a textbook missing authorization control. CWE-862 is the narrowest defensible mapping because the specific check (role-based restriction for privileged restricted tasks) was simply absent.
Attack pattern rationale
- CAPEC-126 The attacker accesses a resource (file deletion endpoint) that they are not authorized to invoke based on their role. While CAPEC-126 typically describes URL guessing, the underlying pattern is the same: the application fails to enforce authorization on a known endpoint, allowing an authenticated but low-privilege user to perform an operation they should not. This is the closest CAPEC to a missing role-based authorization check on a known API/browser endpoint. Uncertainty: a more precise CAPEC for 'missing authorization on a known endpoint' does not exist in the CAPEC catalog, so CAPEC-126 is the best available match.
Assumptions to verify
- The affected version range is inferred from the explicit context (affected_version 0, fixed_version 4.1.0); no intermediate version boundaries are confirmed.
- CAPEC-126 is selected as the closest available attack pattern; a more specific CAPEC for missing role-based authorization on a known endpoint does not exist in the catalog.
- CVSS VI is rated High based on the permanent destruction of evidence files and alteration of investigation records; if the deployment context limits the scope of affected tasks, the impact could be lower.
- The patch references a 'can_edit_requested_task' permission and 'is_task_restricted' state check; the exact role hierarchy and whether Queue Admin is a distinct role from Case Admin is assumed from the commit message and test fixtures.
- No evidence of active exploitation or public disclosure is present in the patch; SSVC exploitation is set to none.
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 |
7 | 11 | medium | 5 |
- 2026-11-16 09:15 UTC Fix developed Corrective change authored (7142a49da22f1079bcbd043bc33eb7cdfabc81a7): fix: [security] Restrict evidence deletion on privileged https://github.com/flowintel/flowintel/commit/7142a49da22f1079bcbd043bc33eb7cdfabc81a7
- 2026-11-20 14:17 UTC Fix available Patch retrieved from the supplied URL; retrieval time is used as the default availability time. https://github.com/flowintel/flowintel/commit/7142a49da22f1079bcbd043bc33eb7cdfabc81a7
{
"containers": {
"cna": {
"affected": [
{
"cpes": [
"cpe:2.3:a:flowintel:flowintel:*:*:*:*:*:*:*:*"
],
"modules": [
"app/case/TaskCore.py",
"app/case/task.py",
"app/case/task_api.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": "remediation developer",
"value": "David Cruciani"
}
],
"descriptions": [
{
"lang": "en",
"value": "FlowIntel contains a missing authorization vulnerability in its task file deletion functionality. When a privileged task is in a restricted state (Requested, Rejected, or Request Review), any authenticated user with basic case membership (e.g., editor or queuer) was able to delete evidence files associated with that task via both the browser interface and the REST API. The deletion operation should have been restricted to users holding Admin, Case Admin, or Queue Admin roles.\n\nThe vulnerability affects the core file deletion logic, the browser-facing task endpoint, and the API task endpoint. No role-based restriction was enforced prior to performing disk removal, database record deletion, timeline event removal, or history log updates.\n\nAn attacker with a low-privilege case membership could destroy evidence files, corrupt investigation timelines, and alter case history, compromising the integrity of ongoing investigations.\n\nAffected versions: FlowIntel prior to 4.1.0."
}
],
"impacts": [
{
"capecId": "CAPEC-126",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-126 Forced Browsing"
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 7.1,
"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:N/VI:H/VA:N/SC:N/SI:N/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "HIGH",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
},
{
"format": "SSVC",
"other": {
"content": {
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "Supplier",
"timestamp": "2026-11-20T14:18:21Z",
"version": "2.0.3"
},
"type": "SSVC"
},
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-862",
"description": "CWE-862 Missing Authorization",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"orgId": "00000000-0000-4000-8000-000000000000"
},
"references": [
{
"name": "Security patch",
"tags": [
"patch"
],
"url": "https://github.com/flowintel/flowintel/commit/7142a49da22f1079bcbd043bc33eb7cdfabc81a7"
}
],
"solutions": [
{
"lang": "en",
"value": "The fix enforces role-based authorization before any file deletion side effects occur. It verifies that the file belongs to the specified task (preventing task substitution) and that, when the task is in a restricted state, the requesting user holds Admin, Case Admin, or Queue Admin privileges. Denial is returned with a 403 status and an audit log entry before any disk, database, timeline, or history modification takes place. The check is applied consistently across the core model, the browser endpoint, and the API endpoint."
}
],
"title": "FlowIntel Missing Authorization Check Allows Unauthorized Deletion of Evidence Files from Restricted Privileged Tasks",
"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 0, fixed_version 4.1.0); no intermediate version boundaries are confirmed.",
"CAPEC-126 is selected as the closest available attack pattern; a more specific CAPEC for missing role-based authorization on a known endpoint does not exist in the catalog.",
"CVSS VI is rated High based on the permanent destruction of evidence files and alteration of investigation records; if the deployment context limits the scope of affected tasks, the impact could be lower.",
"The patch references a \u0027can_edit_requested_task\u0027 permission and \u0027is_task_restricted\u0027 state check; the exact role hierarchy and whether Queue Admin is a distinct role from Case Admin is assumed from the commit message and test fixtures.",
"No evidence of active exploitation or public disclosure is present in the patch; SSVC exploitation is set to none."
],
"capecRationale": [
{
"capecId": "CAPEC-126",
"rationale": "The attacker accesses a resource (file deletion endpoint) that they are not authorized to invoke based on their role. While CAPEC-126 typically describes URL guessing, the underlying pattern is the same: the application fails to enforce authorization on a known endpoint, allowing an authenticated but low-privilege user to perform an operation they should not. This is the closest CAPEC to a missing role-based authorization check on a known API/browser endpoint. Uncertainty: a more precise CAPEC for \u0027missing authorization on a known endpoint\u0027 does not exist in the CAPEC catalog, so CAPEC-126 is the best available match."
}
],
"commit": "7142a49da22f1079bcbd043bc33eb7cdfabc81a7",
"confidence": "medium",
"credits": [
{
"lang": "en",
"type": "remediation developer",
"value": "David Cruciani"
}
],
"cvssRationale": "AV:N: The vulnerability is exploitable over the network via the web UI or REST API. AC:L: No special race conditions, timing, or configuration are needed; a simple authenticated request suffices. AT:N: No manipulation of the attack target is required. PR:L: The attacker needs a low-privilege authenticated account with case membership (editor or queuer). UI:N: No victim interaction is required. VC:N: No confidential data is exposed. VI:H: Evidence files are permanently deleted from disk and database, and timeline/history records are altered, severely compromising investigation integrity. VA:N: The system remains operational; the impact is data destruction (integrity) rather than service unavailability. SC/SI/SA:N: No impact on other components or systems is evidenced.",
"fixSummary": "The fix enforces role-based authorization before any file deletion side effects occur. It verifies that the file belongs to the specified task (preventing task substitution) and that, when the task is in a restricted state, the requesting user holds Admin, Case Admin, or Queue Admin privileges. Denial is returned with a 403 status and an audit log entry before any disk, database, timeline, or history modification takes place. The check is applied consistently across the core model, the browser endpoint, and the API endpoint.",
"generatedAt": "2026-11-20T14:18:21.897132Z",
"generator": "patch2vuln.py",
"model": "qwen3.8:27b",
"modelComparison": {
"potentialErrors": [],
"rankings": [
{
"agreementScore": 11,
"assumptionCount": 5,
"confidence": "medium",
"model": "qwen3.8:27b",
"score": 7
}
],
"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": "de01c727664b9591d539827a4cc8ac172eee0fe606ba42781e72485114edacc6",
"patchSummary": "Three source files are modified. In TaskCore.py, the delete_file method gains two guards: a file-to-task ownership check (file.task_id must equal task.id) and a restricted-state permission check (is_task_restricted and can_edit_requested_task). In task.py and task_api.py, the respective delete_file handlers insert the same restricted-state permission check after the existing case-membership check, returning a 403 JSON response and writing an audit log entry on denial. A new test file (207 lines) adds 116 regression tests covering role-based denial, permitted deletion by approvers, task-substitution prevention, API identity vs session identity, Matrix delegation, read-only denial, non-member denial, and unrestricted-task deletion by editors.",
"patchTruncated": false,
"patches": [
{
"commit": "7142a49da22f1079bcbd043bc33eb7cdfabc81a7",
"date": "Mon, 16 Nov 2026 10:15:54 +0100",
"patchSha256": "de01c727664b9591d539827a4cc8ac172eee0fe606ba42781e72485114edacc6",
"retrievedAt": "2026-11-20T14:17:50.711771Z",
"source": "https://github.com/flowintel/flowintel/commit/7142a49da22f1079bcbd043bc33eb7cdfabc81a7",
"sourceUrl": "https://github.com/flowintel/flowintel/commit/7142a49da22f1079bcbd043bc33eb7cdfabc81a7",
"subject": "fix: [security] Restrict evidence deletion on privileged"
}
],
"source": "https://github.com/flowintel/flowintel/commit/7142a49da22f1079bcbd043bc33eb7cdfabc81a7",
"ssvc": {
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "Supplier",
"timestamp": "2026-11-20T14:18:21Z",
"version": "2.0.3"
},
"subject": "fix: [security] Restrict evidence deletion on privileged",
"weaknessRationale": [
{
"cweId": "CWE-862",
"rationale": "The file deletion endpoints and core method lacked an authorization check for restricted-state tasks. Any case member could invoke deletion regardless of role, which is a textbook missing authorization control. CWE-862 is the narrowest defensible mapping because the specific check (role-based restriction for privileged restricted tasks) was simply absent."
}
]
}
},
"bcp-05-x-03": {
"x_timeline": {
"events": [
{
"description": "Corrective change authored (7142a49da22f1079bcbd043bc33eb7cdfabc81a7): fix: [security] Restrict evidence deletion on privileged",
"id": "evt-fix-developed-1",
"references": [
"https://github.com/flowintel/flowintel/commit/7142a49da22f1079bcbd043bc33eb7cdfabc81a7"
],
"timestamp": "2026-11-16T09:15:54Z",
"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/7142a49da22f1079bcbd043bc33eb7cdfabc81a7"
],
"timestamp": "2026-11-20T14:17:50.711771Z",
"type": "fix-available"
}
]
}
}
},
"recordType": "advisory",
"vulnId": "GCVE-1-2026-20409"
}
]
}
},
"cveMetadata": {
"assignerOrgId": "00000000-0000-4000-8000-000000000000",
"cveId": "CVE-2026-133839",
"datePublished": "2026-11-20T14:35:18.346071Z",
"dateReserved": "2026-11-20T14:36:31.988Z",
"dateUpdated": "2026-11-20T14:36:32.078218Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1-2026-20409"
},
"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.