{"api_version":"1","generated_at":"2026-11-27T17:36:48+00:00","cve":"CVE-2026-137888","urls":{"html":"https://cve.report/CVE-2026-137888","api":"https://cve.report/api/cve/CVE-2026-137888.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-137888","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-137888"},"summary":{"title":"Flowintel SSRF via Unvalidated HedgeDoc Note URL in Case Notes Download","description":"Flowintel contains a Server-Side Request Forgery (SSRF) vulnerability in its HedgeDoc case-notes integration. When a user with editor or administrator privileges associates a HedgeDoc URL with a case, the application later issues a server-side HTTP GET request to that URL to retrieve note content. Before the fix, the stored URL was used directly without validation of its scheme, host, port, path, or userinfo, and the HTTP client followed redirects by default with no connect or read timeouts.\n\nAn authenticated attacker could therefore cause the Flowintel server to issue requests to arbitrary internal or external endpoints (for example, cloud instance-metadata services, internal management interfaces, or other intranet hosts) and receive the response body, or follow a redirect chain to an unintended destination. The absence of timeouts also permitted resource-exhaustion against the server's outbound connection pool.\n\nPreconditions:\n- An authenticated account with editor or administrator role on the target case.\n- The HedgeDoc integration feature is enabled (no explicit configuration gate existed before the fix).\n\nImpact:\n- Disclosure of sensitive data served by internal or cloud-metadata endpoints.\n- Potential denial of service through unbounded outbound requests.\n\nAffected versions: Flowintel prior to 4.1.0.","state":"PUBLISHED","assigner":"CIRCL","published_at":"2026-11-27 11:17:06","updated_at":"2026-11-27 11:17:06"},"problem_types":["CWE-20","CWE-918","CWE-918 CWE-918 Server-Side Request Forgery (SSRF)","CWE-20 CWE-20 Improper Input Validation"],"metrics":[{"version":"4.0","source":"5a6e4751-2f3f-4070-9419-94fb35b644e8","type":"Secondary","score":"6.3","severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","data":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":6.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"HIGH","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"version":"4.0","source":"CNA","type":"CVSS","score":"6.3","severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:H/SI:N/SA:N","data":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.3,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:H/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"}}],"references":[{"url":"https://vulnerability.circl.lu/disclosure/be9862fe-4d7b-4ace-8d67-7bc5c155227b","name":"https://vulnerability.circl.lu/disclosure/be9862fe-4d7b-4ace-8d67-7bc5c155227b","refsource":"5a6e4751-2f3f-4070-9419-94fb35b644e8","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/flowintel/flowintel/commit/f0269c3d4d4a03c7d5290fe70316c0718982ee00","name":"https://github.com/flowintel/flowintel/commit/f0269c3d4d4a03c7d5290fe70316c0718982ee00","refsource":"5a6e4751-2f3f-4070-9419-94fb35b644e8","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-137888","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137888","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"flowintel","product":"flowintel","version":"affected 4.1.0 semver","platforms":[]}],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"The fix introduces a mandatory HEDGEDOC_BASE_URL configuration that defines the single trusted HedgeDoc origin. All note URLs are now validated against that origin (scheme, host, port, and path prefix) at creation, update, and download time. The note identifier is restricted to a strict alphanumeric pattern, blocking path traversal. Outbound requests are issued with redirects disabled and explicit connect/read timeouts, preventing open-redirect abuse and resource exhaustion. Previously stored URLs that do not match the configured origin are rejected before any network call is made.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"David Cruciani","lang":"en"},{"source":"CNA","value":"GPT-6","lang":"en"},{"source":"CNA","value":"duck4nh","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"cpes":["cpe:2.3:a:flowintel:flowintel:*:*:*:*:*:*:*:*"],"modules":["app/case/CaseCore.py","app/case/case_notes.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"},{"lang":"en","type":"remediation developer","value":"GPT-6"},{"lang":"en","type":"finder","value":"duck4nh"}],"descriptions":[{"lang":"en","value":"Flowintel contains a Server-Side Request Forgery (SSRF) vulnerability in its HedgeDoc case-notes integration. When a user with editor or administrator privileges associates a HedgeDoc URL with a case, the application later issues a server-side HTTP GET request to that URL to retrieve note content. Before the fix, the stored URL was used directly without validation of its scheme, host, port, path, or userinfo, and the HTTP client followed redirects by default with no connect or read timeouts.\n\nAn authenticated attacker could therefore cause the Flowintel server to issue requests to arbitrary internal or external endpoints (for example, cloud instance-metadata services, internal management interfaces, or other intranet hosts) and receive the response body, or follow a redirect chain to an unintended destination. The absence of timeouts also permitted resource-exhaustion against the server's outbound connection pool.\n\nPreconditions:\n- An authenticated account with editor or administrator role on the target case.\n- The HedgeDoc integration feature is enabled (no explicit configuration gate existed before the fix).\n\nImpact:\n- Disclosure of sensitive data served by internal or cloud-metadata endpoints.\n- Potential denial of service through unbounded outbound requests.\n\nAffected versions: Flowintel prior to 4.1.0."}],"impacts":[{"capecId":"CAPEC-12","descriptions":[{"lang":"en","value":"CAPEC-12 Exploiting SSRF"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.3,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:H/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","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-27T10:51:56Z","version":"2.0.3"},"type":"SSVC"},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","description":"CWE-918 Server-Side Request Forgery (SSRF)","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-20","description":"CWE-20 Improper Input Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-27T11:04:30.932Z","orgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","shortName":"CIRCL"},"references":[{"name":"security patch","tags":["patch"],"url":"https://github.com/flowintel/flowintel/commit/f0269c3d4d4a03c7d5290fe70316c0718982ee00"},{"name":"disclosure","url":"https://vulnerability.circl.lu/disclosure/be9862fe-4d7b-4ace-8d67-7bc5c155227b"}],"solutions":[{"lang":"en","value":"The fix introduces a mandatory HEDGEDOC_BASE_URL configuration that defines the single trusted HedgeDoc origin. All note URLs are now validated against that origin (scheme, host, port, and path prefix) at creation, update, and download time. The note identifier is restricted to a strict alphanumeric pattern, blocking path traversal. Outbound requests are issued with redirects disabled and explicit connect/read timeouts, preventing open-redirect abuse and resource exhaustion. Previously stored URLs that do not match the configured origin are rejected before any network call is made."}],"title":"Flowintel SSRF via Unvalidated HedgeDoc Note URL in Case Notes Download","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":["PR:L assumes that an editor or admin role is required to set or trigger the HedgeDoc URL; the patch shows editor_api_key usage in tests and an is_admin() check in the view, but the exact role matrix is not fully enumerated.","SC:H assumes the attacker can reach at least one sensitive internal endpoint (e.g., cloud metadata at 169.254.169.254) from the Flowintel server's network; if the server is fully isolated, impact would be lower.","VA:L is assigned for the pre-fix absence of connect/read timeouts; the practical DoS impact depends on connection-pool limits not visible in the patch.","The CAPEC-12 mapping is the closest standard pattern; no more specific CAPEC for 'SSRF via stored URL in a CMS-style application' exists in the CAPEC catalog.","Affected version range is taken from the explicit analyst context (affected_version 0, fixed_version 4.1.0); the patch itself does not encode version boundaries."],"capecRationale":[{"capecId":"CAPEC-12","rationale":"The patch directly addresses an SSRF condition: a user-controlled URL is used as the target of a server-side HTTP GET, with no origin restriction and with redirect-following enabled. CAPEC-12 describes the pattern of manipulating an application into issuing requests to unintended targets, which is the closest standard attack pattern to this vulnerability. The mapping is confident because the code change explicitly adds origin validation, disables redirects, and adds timeouts—all canonical SSRF mitigations."}],"commit":"f0269c3d4d4a03c7d5290fe70316c0718982ee00","confidence":"high","credits":[{"lang":"en","type":"remediation developer","value":"David Cruciani"},{"lang":"en","type":"remediation developer","value":"GPT-6"}],"cvssRationale":"AV:N – exploitable over the network via the Flowintel REST API. AC:L – no race conditions or special environment needed; setting a URL and triggering the download is straightforward. AT:N – no manipulation of a separate target system required. PR:L – requires an authenticated editor or admin account. UI:N – the attacker performs all actions; no victim interaction needed. VC:N – the Flowintel server's own data is not directly exposed. VI:N – no integrity impact on the vulnerable component. VA:L – absence of timeouts before the fix could exhaust outbound connections. SC:H – the attacker can read responses from arbitrary internal or cloud-metadata endpoints, representing high confidentiality impact on other systems. SI:N – no integrity impact on other systems. SA:N – no security-authority impact.","fixSummary":"The fix introduces a mandatory HEDGEDOC_BASE_URL configuration that defines the single trusted HedgeDoc origin. All note URLs are now validated against that origin (scheme, host, port, and path prefix) at creation, update, and download time. The note identifier is restricted to a strict alphanumeric pattern, blocking path traversal. Outbound requests are issued with redirects disabled and explicit connect/read timeouts, preventing open-redirect abuse and resource exhaustion. Previously stored URLs that do not match the configured origin are rejected before any network call is made.","generatedAt":"2026-11-27T10:51:56.310140Z","generator":"patch2vuln.py","model":"qwen3.8:27b","modelComparison":{"potentialErrors":[],"rankings":[{"agreementScore":11,"assumptionCount":5,"confidence":"high","model":"qwen3.8:27b","score":8}],"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":"825d08569e95c4b66c15be7b6dd33d87236dbcc1c9c7bf0aa52687a4698721e9","patchSummary":"Added a HEDGEDOC_BASE_URL environment variable and app config entry. Rewrote normalize_hedgedoc_url to parse both the configured base and the supplied note URL, enforce same-origin (scheme, hostname, effective port), verify the note path is a direct child of the base path, restrict the note ID to [A-Za-z0-9._~-]+, reject userinfo and non-http(s) schemes, and return a canonical URL built from the trusted base. Changed get_hedgedoc_notes to re-validate the stored URL before fetching, set timeout=(3,10) and allow_redirects=False on the requests.get call. Added BadRequest exception handling in the change_hedgedoc_url view. Added a new test module (tests/case/test_hedgedoc.py) covering untrusted stored URLs, redirect refusal, port normalization, blank URLs, and create/update validation. Updated template.env and user-manual documentation.","patchTruncated":false,"patches":[{"commit":"f0269c3d4d4a03c7d5290fe70316c0718982ee00","date":"Fri, 27 Nov 2026 11:49:27 +0100","patchSha256":"825d08569e95c4b66c15be7b6dd33d87236dbcc1c9c7bf0aa52687a4698721e9","retrievedAt":"2026-11-27T10:51:19.246969Z","source":"https://github.com/flowintel/flowintel/commit/f0269c3d4d4a03c7d5290fe70316c0718982ee00","sourceUrl":"https://github.com/flowintel/flowintel/commit/f0269c3d4d4a03c7d5290fe70316c0718982ee00","subject":"fix: [security] Restrict HedgeDoc downloads to the configured"}],"source":"https://github.com/flowintel/flowintel/commit/f0269c3d4d4a03c7d5290fe70316c0718982ee00","ssvc":{"options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"Supplier","timestamp":"2026-11-27T10:51:56Z","version":"2.0.3"},"subject":"fix: [security] Restrict HedgeDoc downloads to the configured","weaknessRationale":[{"cweId":"CWE-918","rationale":"The application performed an outbound HTTP request to a user-supplied URL without restricting the destination origin, scheme, or redirect target, allowing an attacker to probe internal services and read their responses."},{"cweId":"CWE-20","rationale":"The HedgeDoc note URL was accepted without validating scheme, host, port, path traversal sequences, or userinfo, and no timeouts were applied to the resulting request."}]}},"bcp-05-x-03":{"x_timeline":{"events":[{"description":"Corrective change authored (f0269c3d4d4a03c7d5290fe70316c0718982ee00): fix: [security] Restrict HedgeDoc downloads to the configured","id":"evt-fix-developed-1","references":["https://github.com/flowintel/flowintel/commit/f0269c3d4d4a03c7d5290fe70316c0718982ee00"],"timestamp":"2026-11-27T10:49:27Z","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/f0269c3d4d4a03c7d5290fe70316c0718982ee00"],"timestamp":"2026-11-27T10:51:19.246969Z","type":"fix-available"}]}}},"recordType":"advisory","vulnId":"GCVE-1-2026-20458"}]}},"cveMetadata":{"assignerOrgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","assignerShortName":"CIRCL","cveId":"CVE-2026-137888","datePublished":"2026-11-27T11:04:30.932Z","dateReserved":"2026-11-27T11:04:27.508Z","dateUpdated":"2026-11-27T11:04:30.932Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-27 11:17:06","lastModifiedDate":"2026-11-27 11:17:06","problem_types":["CWE-20","CWE-918","CWE-918 CWE-918 Server-Side Request Forgery (SSRF)","CWE-20 CWE-20 Improper Input Validation"],"metrics":{"cvssMetricV40":[{"source":"5a6e4751-2f3f-4070-9419-94fb35b644e8","type":"Secondary","cvssData":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":6.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"HIGH","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"ssvcV203":[{"source":"5a6e4751-2f3f-4070-9419-94fb35b644e8","ssvcData":{"timestamp":"2026-11-27T10:51:56Z","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"Supplier","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"137888","Ordinal":"1","Title":"Flowintel SSRF via Unvalidated HedgeDoc Note URL in Case Notes D","CVE":"CVE-2026-137888","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"137888","Ordinal":"1","NoteData":"Flowintel contains a Server-Side Request Forgery (SSRF) vulnerability in its HedgeDoc case-notes integration. When a user with editor or administrator privileges associates a HedgeDoc URL with a case, the application later issues a server-side HTTP GET request to that URL to retrieve note content. Before the fix, the stored URL was used directly without validation of its scheme, host, port, path, or userinfo, and the HTTP client followed redirects by default with no connect or read timeouts.\n\nAn authenticated attacker could therefore cause the Flowintel server to issue requests to arbitrary internal or external endpoints (for example, cloud instance-metadata services, internal management interfaces, or other intranet hosts) and receive the response body, or follow a redirect chain to an unintended destination. The absence of timeouts also permitted resource-exhaustion against the server's outbound connection pool.\n\nPreconditions:\n- An authenticated account with editor or administrator role on the target case.\n- The HedgeDoc integration feature is enabled (no explicit configuration gate existed before the fix).\n\nImpact:\n- Disclosure of sensitive data served by internal or cloud-metadata endpoints.\n- Potential denial of service through unbounded outbound requests.\n\nAffected versions: Flowintel prior to 4.1.0.","Type":"Description","Title":"Flowintel SSRF via Unvalidated HedgeDoc Note URL in Case Notes D"}]}}}