HexBrain

Browse / CVEs / CVE-2025-2129

CVE-2025-2129· CWE-1188

Mage AI - Insecure Default Authentication Setup

mediumseverity
5.6CVSS score
1.1%likelihood of exploitation, next 30 days
65%of all CVEs are less likely
Readycheck to confirm it

A vulnerability was found in Mage AI 0.9.75. It has been classified as problematic. This affects an unknown part. The manipulation leads to insecure default initialization of resource. It is possible to initiate the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment. After 7 months of repeated follow-ups by the researcher, Mage AI has decided to not accept this issue as a valid security vulnerability and has confirmed that they will not be addressing it.

Impact

Attackers can exploit insecure default authentication configuration to gain unauthorized access to Mage AI installations, potentially leading to remote code execution and complete system compromise.

Fix

Implement proper authentication configuration by following the vendor's security hardening guidelines.

How to confirm it

Send: GET {{BaseURL}}/api/kernels
Positive when: contains "\"kernels\": [" and "\"metadata\": {" AND status 200

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

The full check
id: CVE-2025-2129

info:
  name: Mage AI - Insecure Default Authentication Setup
  author: zn9988,H0j3n
  severity: medium
  description: |
    A vulnerability was found in Mage AI 0.9.75. It has been classified as problematic. This affects an unknown part. The manipulation leads to insecure default initialization of resource. It is possible to initiate the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment. After 7 months of repeated follow-ups by the researcher, Mage AI has decided to not accept this issue as a valid security vulnerability and has confirmed that they will not be addressing it.
  impact: |
    Attackers can exploit insecure default authentication configuration to gain unauthorized access to Mage AI installations, potentially leading to remote code execution and complete system compromise.
  remediation: |
    Implement proper authentication configuration by following the vendor's security hardening guidelines.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-2129
    - https://github.com/zn9988/publications/blob/main/2.Mage-AI%20-%20Insecure%20Default%20Authentication%20Setup%20Leading%20to%20Zero-Click%20RCE/README.md
    - https://vuldb.com/?ctiid.299049
    - https://vuldb.com/?id.299049
    - https://vuldb.com/?submit.510690
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
    cvss-score: 5.6
    cve-id: CVE-2025-2129
    cwe-id: CWE-1188
    epss-score: 0.01068
    epss-percentile: 0.65095
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"<title>Mage</title>"
  tags: cve,cve2025,mage,vuln

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"kernels": ['
          - '"metadata": {'
        condition: and

      - type: status
        status:
          - 200

References

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