nday
CVE-2026-42048 GHSA-9whx-c884-c68q

Langflow: Path Traversal in Langflow Knowledge Bases API

langflow-ai / langflow

Correctif recensé 188 jours après la divulgation. Version corrigée : langflow 1.9.0. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

tags weakness typepath traversal accessnetworkno user interaction productLangflow product typeAI / ML ecosystemPyPI
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

path traversal
CWE-22, stated by the CNA GitHub_M, NVD, republishing [email protected] et GitHub advisory GHSA-9whx-c884-c68q
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
Langflow
affected products in the CVE record: langflow-ai · langflowCPE names NVD's analysts give as vulnerable: a:langflow:langflow
AI / ML
affected products in the CVE record: langflow-ai · langflowCPE names NVD's analysts give as vulnerable: a:langflow:langflowthe product type of Langflow in nday's product registry
PyPI
GHSA-9whx-c884-c68q: pip packages langflow
étape actuelle
PAT
divulgation
délai avant correctif
T+188d
CVSS
9.6 CRITICAL v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
05-12T17:35Z
PATcorrectif
11-16T16:00Z
ANAanalyse
aucune donnée
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to 1.9.0, Langflow is vulnerable to Path Traversal in the Knowledge Bases API (DELETE /api/v1/knowledge_bases). This occurs because user-supplied knowledge base names are concatenated directly into file paths without proper sanitization or boundary validation. An authenticated attacker can exploit this flaw to delete arbitrary directories anywhere on the server's filesystem, leading to data loss and potential service disruption. This vulnerability is fixed in 1.9.0.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Journal des événements

+DISdivulgation

Fiche CVE publiée par GitHub_M. CVSS 9.6, gravité critique. Évaluation SSVC de la CISA : exploitation au niveau « poc ».

source cvelist · importé en masse par nday le · brut
{
  "id": 423171,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-42048",
  "occurred_at": "2026-05-12T17:35:27.688Z",
  "observed_at": "2026-11-13T05:39:48.221185Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H",
      "version": "3.1",
      "base_score": 9.6,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2026-05-13T14:13:40.432759Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-05-12T17:35:27.688Z",
    "assigner_short_name": "GitHub_M"
  }
}
source non datée ; vu en direct par nday
+PATcorrectif disponible

L’avis indique la version corrigée langflow 1.9.0. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa GHSA-9whx-c884-c68q · observé en direct par nday le · brut
{
  "id": 472959,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-9whx-c884-c68q",
  "occurred_at": null,
  "observed_at": "2026-11-16T16:00:12.562502Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-9whx-c884-c68q",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 9.6,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Limitation of a Pathname to a Restricted Directory",
        "cwe_id": "CWE-22"
      }
    ],
    "ghsa_id": "GHSA-9whx-c884-c68q",
    "packages": [
      {
        "name": "langflow",
        "ecosystem": "pip",
        "first_patched_version": "1.9.0",
        "vulnerable_version_range": "<= 1.8.4"
      }
    ],
    "severity": "critical",
    "references": [
      "https://github.com/langflow-ai/langflow/security/advisories/GHSA-9whx-c884-c68q",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-42048",
      "https://github.com/pypa/advisory-database/tree/main/vulns/langflow/PYSEC-2026-377.yaml",
      "https://pypi.org/project/langflow",
      "https://github.com/advisories/GHSA-9whx-c884-c68q"
    ],
    "fix_commit_urls": [],
    "github_reviewed_at": "2026-05-05T18:28:59Z",
    "advisory_updated_at": "2026-11-16T15:16:51Z",
    "source_code_location": "https://github.com/langflow-ai/langflow",
    "advisory_published_at": "2026-05-05T18:28:59Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.