{"api_version":"1","generated_at":"2026-11-20T19:24:18+00:00","cve":"CVE-2026-133620","urls":{"html":"https://cve.report/CVE-2026-133620","api":"https://cve.report/api/cve/CVE-2026-133620.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-133620","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-133620"},"summary":{"title":"Flowintel Template Repository Path Traversal and Symlink Escape Allows Arbitrary File Read","description":"Flowintel's template repository subsystem did not adequately constrain file access to the configured repository base directory. Two related weaknesses existed:\n\n- Repository registration and editing accepted arbitrary local paths without verifying they resolved inside the configured REPOSITORY_BASE_PATH, allowing an authenticated user to point a repository at any readable directory on the host.\n- Manifest and template file lookups used normalized (non-canonical) path joins and a startswith-based guard that could be bypassed by symbolic links, permitting reads of files outside the intended repository.\n\nAn authenticated user with the ability to add or edit a template repository could therefore cause the application to read and return the contents of arbitrary files readable by the service account, including configuration files, credentials, or other sensitive data.\n\nAffected: Flowintel versions prior to 4.1.0.","state":"PUBLISHED","assigner":"CIRCL","published_at":"2026-11-20 09:20:08","updated_at":"2026-11-20 19:18:47"},"problem_types":["CWE-22","CWE-59","CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","CWE-59 CWE-59 Improper Link Resolution Before File Access ('Link Following')"],"metrics":[{"version":"4.0","source":"5a6e4751-2f3f-4070-9419-94fb35b644e8","type":"Secondary","score":"5.3","severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/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:L/VI:N/VA:N/SC:N/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":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","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":"5.3","severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","data":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.3,"baseSeverity":"MEDIUM","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:N/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"}}],"references":[{"url":"https://github.com/flowintel/flowintel/commit/4c5e3394749147c721c2724a08a5e1fdfba58e98","name":"https://github.com/flowintel/flowintel/commit/4c5e3394749147c721c2724a08a5e1fdfba58e98","refsource":"5a6e4751-2f3f-4070-9419-94fb35b644e8","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-133620","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133620","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 canonical (realpath-based) path resolution and enforces that every repository root and every child file or directory resolves within the configured REPOSITORY_BASE_PATH using os.path.commonpath. All code paths that previously performed raw os.path.join or normpath operations (registration, editing, discovery scan, entry scan, manifest read, and template file read) now go through the new validated helpers. Scans that encounter an escaping path roll back any partial database updates and return an error, preventing partial state corruption.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"elhoim","lang":"en"},{"source":"CNA","value":"David Cruciani","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-133620","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-11-20T18:11:13.817644Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-11-20T18:11:31.125Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"cpes":["cpe:2.3:a:flowintel:flowintel:*:*:*:*:*:*:*:*"],"modules":["app/templating/templating.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's template repository subsystem did not adequately constrain file access to the configured repository base directory. Two related weaknesses existed:\n\n- Repository registration and editing accepted arbitrary local paths without verifying they resolved inside the configured REPOSITORY_BASE_PATH, allowing an authenticated user to point a repository at any readable directory on the host.\n- Manifest and template file lookups used normalized (non-canonical) path joins and a startswith-based guard that could be bypassed by symbolic links, permitting reads of files outside the intended repository.\n\nAn authenticated user with the ability to add or edit a template repository could therefore cause the application to read and return the contents of arbitrary files readable by the service account, including configuration files, credentials, or other sensitive data.\n\nAffected: Flowintel versions prior to 4.1.0."}],"impacts":[{"capecId":"CAPEC-126","descriptions":[{"lang":"en","value":"CAPEC-126 Path Traversal"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.3,"baseSeverity":"MEDIUM","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:N/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","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-20T08:07:36Z","version":"2.0.3"},"type":"SSVC"},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-59","description":"CWE-59 Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-20T08:18:09.557Z","orgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","shortName":"CIRCL"},"references":[{"name":"Security patch","tags":["patch"],"url":"https://github.com/flowintel/flowintel/commit/4c5e3394749147c721c2724a08a5e1fdfba58e98"}],"solutions":[{"lang":"en","value":"The fix introduces canonical (realpath-based) path resolution and enforces that every repository root and every child file or directory resolves within the configured REPOSITORY_BASE_PATH using os.path.commonpath. All code paths that previously performed raw os.path.join or normpath operations (registration, editing, discovery scan, entry scan, manifest read, and template file read) now go through the new validated helpers. Scans that encounter an escaping path roll back any partial database updates and return an error, preventing partial state corruption."}],"title":"Flowintel Template Repository Path Traversal and Symlink Escape Allows Arbitrary File Read","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 the repository add/edit endpoints require authentication based on the presence of current_user in the code; if the endpoints are unauthenticated, PR should be N.","VC:L assumes the service account can read sensitive files; if the process runs with minimal privileges, impact may be lower.","The affected_version field in metadata is '0' which appears to be a placeholder; the actual first affected version is not specified in the patch.","CAPEC-126 is the closest standard pattern; a more specific symlink-traversal CAPEC was not available, so the mapping covers both the path traversal and symlink escape aspects.","No public exploit or PoC is referenced; exploitation status is assumed to be 'none'."],"capecRationale":[{"capecId":"CAPEC-126","rationale":"The attacker manipulates path inputs (repository local_path, entry download_url, or directory entries) to reference files outside the intended restricted directory. This is the closest standard CAPEC pattern for the observed vulnerability. The symlink variant is a sub-technique of the same pattern."}],"commit":"4c5e3394749147c721c2724a08a5e1fdfba58e98","confidence":"medium","credits":[{"lang":"en","type":"reporter","value":"elhoim"},{"lang":"en","type":"remediation developer","value":"David Cruciani"}],"cvssRationale":"AV:N: Flowintel is a network-accessible web application. AC:L: Path traversal via a simple path string or symlink requires no special conditions. AT:N: No attack target manipulation. PR:L: The code references current_user, indicating an authenticated session is required to register or edit repositories. UI:N: No victim interaction needed. VC:L: Arbitrary file read exposes sensitive data on the vulnerable system. VI/VA/SC/SI/SA:N: No evidence of integrity, availability, or cross-system impact.","fixSummary":"The fix introduces canonical (realpath-based) path resolution and enforces that every repository root and every child file or directory resolves within the configured REPOSITORY_BASE_PATH using os.path.commonpath. All code paths that previously performed raw os.path.join or normpath operations (registration, editing, discovery scan, entry scan, manifest read, and template file read) now go through the new validated helpers. Scans that encounter an escaping path roll back any partial database updates and return an error, preventing partial state corruption.","generatedAt":"2026-11-20T08:07:36.714989Z","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":"8cd6f3a1afb46eb6c0e4b8a5890ba928cb4f4f10f08252d367c4d01007f3c15e","patchSummary":"Added _resolve_repo_path() (realpath-based resolution) and _repo_base_path() (validates path is inside REPOSITORY_BASE_PATH via commonpath). Added _repo_child_path() to validate child paths stay within the repository base. Replaced all os.path.normpath/os.path.join usages in _read_manifest, _read_entry_file, _scan_local_entries, repositories_scan, repository_add, and repository_edit with the new validated helpers. Added early-return guards (base is None checks) in repository_check, _scan_local_entries, and repositories_scan. Added db.session.rollback() before returning errors in _scan_local_entries to prevent partial entry updates. Updated user-manual.md to document the new path confinement requirement.","patchTruncated":false,"patches":[{"commit":"4c5e3394749147c721c2724a08a5e1fdfba58e98","date":"Fri, 6 Nov 2026 10:54:15 +0100","patchSha256":"8cd6f3a1afb46eb6c0e4b8a5890ba928cb4f4f10f08252d367c4d01007f3c15e","retrievedAt":"2026-11-20T08:07:03.893139Z","source":"https://github.com/flowintel/flowintel/commit/4c5e3394749147c721c2724a08a5e1fdfba58e98.patch","sourceUrl":"https://github.com/flowintel/flowintel/commit/4c5e3394749147c721c2724a08a5e1fdfba58e98.patch","subject":"fix: [security] Confine template repository reads to their"}],"source":"https://github.com/flowintel/flowintel/commit/4c5e3394749147c721c2724a08a5e1fdfba58e98.patch","ssvc":{"options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"Supplier","timestamp":"2026-11-20T08:07:36Z","version":"2.0.3"},"subject":"fix: [security] Confine template repository reads to their","weaknessRationale":[{"cweId":"CWE-22","rationale":"The primary weakness is that user-supplied repository paths and file references were not confined to the intended base directory, allowing traversal to arbitrary filesystem locations."},{"cweId":"CWE-59","rationale":"The old code used os.path.normpath which does not resolve symlinks, and the startswith guard could be bypassed by symlinked manifests or template files pointing outside the repository. The fix uses os.path.realpath to resolve links before validation."}]}},"bcp-05-x-03":{"x_timeline":{"events":[{"description":"Corrective change authored (4c5e3394749147c721c2724a08a5e1fdfba58e98): fix: [security] Confine template repository reads to their","id":"evt-fix-developed-1","references":["https://github.com/flowintel/flowintel/commit/4c5e3394749147c721c2724a08a5e1fdfba58e98.patch"],"timestamp":"2026-11-06T09:54:15Z","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/4c5e3394749147c721c2724a08a5e1fdfba58e98.patch"],"timestamp":"2026-11-20T08:07:03.893139Z","type":"fix-available"}]}}},"recordType":"advisory","vulnId":"GCVE-1-2026-20361"}]}},"cveMetadata":{"assignerOrgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","assignerShortName":"CIRCL","cveId":"CVE-2026-133620","datePublished":"2026-11-20T08:18:09.557Z","dateReserved":"2026-11-20T08:18:07.900Z","dateUpdated":"2026-11-20T18:11:31.125Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 09:20:08","lastModifiedDate":"2026-11-20 19:18:47","problem_types":["CWE-22","CWE-59","CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","CWE-59 CWE-59 Improper Link Resolution Before File Access ('Link Following')"],"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:L/VI:N/VA:N/SC:N/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":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","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-20T08:07:36Z","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"Supplier","version":"2.0.3"}},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-20T18:11:13.817644Z","id":"CVE-2026-133620","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"133620","Ordinal":"1","Title":"Flowintel Template Repository Path Traversal and Symlink Escape ","CVE":"CVE-2026-133620","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"133620","Ordinal":"1","NoteData":"Flowintel's template repository subsystem did not adequately constrain file access to the configured repository base directory. Two related weaknesses existed:\n\n- Repository registration and editing accepted arbitrary local paths without verifying they resolved inside the configured REPOSITORY_BASE_PATH, allowing an authenticated user to point a repository at any readable directory on the host.\n- Manifest and template file lookups used normalized (non-canonical) path joins and a startswith-based guard that could be bypassed by symbolic links, permitting reads of files outside the intended repository.\n\nAn authenticated user with the ability to add or edit a template repository could therefore cause the application to read and return the contents of arbitrary files readable by the service account, including configuration files, credentials, or other sensitive data.\n\nAffected: Flowintel versions prior to 4.1.0.","Type":"Description","Title":"Flowintel Template Repository Path Traversal and Symlink Escape "}]}}}