Skip to content
Heist/ feed
Back to feed
Medium

Roo Code: Symlink-bypass of .rooignore can lead to unintended file disclosure

Type: advisorySources: OSV

Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Versions 3.25.23 and below contain a vulnerability where .rooignore protections could be bypassed using symlinks. This allows an attacker with write access to the workspace to trick the extension into reading files that were intended to be excluded. As a result, sensitive files such as .env or configuration files could be exposed. An attacker able to modify files within the workspace could gain unauthorized access to sensitive information by bypassing .rooignore rules. This could include secrets, configuration details, or other excluded project data. This is fixed in version 3.26.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-58373
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 02:33 UTC · Revision 1

Source evidence

Roo Code: Symlink-bypass of .rooignore can lead to unintended file disclosure

core-osv · Original source

Published 5 Sept 2025, 22:55 UTC

Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Versions 3.25.23 and below contain a vulnerability where .rooignore protections could be bypassed using symlinks. This allows an attacker with write access to the workspace to trick the extension into reading files that were intended to be excluded. As a result, sensitive files such as .env or configuration files could be exposed. An attacker able to modify files within the workspace could gain unauthorized access to sensitive information by bypassing .rooignore rules. This could include secrets, configuration details, or other excluded project data. This is fixed in version 3.26.0.

osv:CVE-2025-58373
Complete source record
{
  "id": "ed36918ae43a3cef9c1ac1842135e7379271b106043494fc0b4f58d23f2072e2",
  "url": "https://osv.dev/vulnerability/CVE-2025-58373",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Roo Code: Symlink-bypass of .rooignore can lead to unintended file disclosure",
    "summary": "Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Versions 3.25.23 and below contain a vulnerability where .rooignore protections could be bypassed using symlinks. This allows an attacker with write access to the workspace to trick the extension into reading files that were intended to be excluded. As a result, sensitive files such as .env or configuration files could be exposed. An attacker able to modify files within the workspace could gain unauthorized access to sensitive information by bypassing .rooignore rules. This could include secrets, configuration details, or other excluded project data. This is fixed in version 3.26.0.",
    "evidence": "osv:CVE-2025-58373",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-58373",
      "aliases": [
        "CVE-2025-58373",
        "GHSA-p76r-7mc3-qh7c"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/roocodeinc/roo-code",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "840fe2a4c8b6331f2fcb43e4ddaba8950a0b4bf0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.26.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "840fe2a4c8b6331f2fcb43e4ddaba8950a0b4bf0"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v3.26.0"
                  },
                  {
                    "cpe": "cpe:2.3:a:roocode:roo_code:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.26.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.18.1",
            "v2.1.21",
            "v2.1.19",
            "v2.1.18",
            "v2.1.17",
            "v2.1.16",
            "v2.1.15",
            "v2.1.14",
            "v2.1.13",
            "v2.1.12",
            "v2.1.11",
            "v2.1.10",
            "v2.1.9",
            "v2.1.8",
            "v2.1.7",
            "v2.1.6",
            "v2.1.5",
            "v2.1.4",
            "v2.1.3",
            "v2.1.2",
            "v2.1.1",
            "v2.0.3",
            "v2.1.0",
            "v2.0.19",
            "v2.0.18",
            "v2.0.17",
            "v2.0.16",
            "v2.0.15",
            "v2.0.14",
            "v2.0.13",
            "v2.0.12",
            "v2.0.11",
            "v2.0.10",
            "v2.0.9",
            "v2.0.8",
            "v2.0.7",
            "v2.0.6",
            "v2.0.5",
            "v2.0.4",
            "v2.0.1",
            "v2.0.0",
            "v1.9.7",
            "v1.9.6",
            "v1.9.5",
            "v1.9.4",
            "v1.9.3",
            "v1.9.2",
            "v1.9.1",
            "v1.9.0",
            "v1.8.1",
            "v1.8.0",
            "v1.7.5",
            "v1.7.4",
            "v1.7.3",
            "v1.7.2",
            "v1.7.1",
            "v1.7.0",
            "v1.6.10",
            "v1.6.9",
            "v1.6.8",
            "v1.6.7",
            "v1.6.6",
            "v1.6.5",
            "v1.6.4",
            "v1.6.3",
            "v1.6.2",
            "v1.6.1",
            "v1.6.0",
            "v1.5.34",
            "v1.5.33",
            "v1.5.32",
            "v1.5.31",
            "v1.5.30",
            "v1.5.29",
            "v1.5.28",
            "v1.5.27",
            "v1.5.26",
            "v1.5.25",
            "v1.5.24",
            "v1.5.23",
            "v1.5.22",
            "v1.5.21",
            "v1.5.20",
            "v1.5.19",
            "v1.5.18",
            "v1.5.17",
            "v1.5.16",
            "v1.5.15",
            "v1.5.14",
            "v1.5.13",
            "v1.5.12",
            "v1.5.11",
            "v1.5.10",
            "v1.5.9",
            "v1.5.8",
            "v1.5.7",
            "v1.5.6",
            "v1.5.5",
            "v1.5.4",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.5.01",
            "v1.5.0",
            "v1.4.24",
            "v1.4.23",
            "v1.4.22",
            "v1.4.21",
            "v1.4.2",
            "v1.4.19",
            "v1.4.18",
            "v1.4.17",
            "v1.4.16",
            "v1.4.15",
            "v1.4.14",
            "v1.4.13",
            "v1.4.12",
            "v1.4.11",
            "v1.4.1",
            "v1.4.0",
            "v1.3.43",
            "v1.3.42",
            "v1.3.41",
            "v1.3.4",
            "v1.3.3",
            "v1.3.2",
            "v1.3.1",
            "v1.3.0",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.1.15",
            "v1.1.14",
            "v1.1.13",
            "v1.1.12",
            "v1.1.11",
            "v1.1.1",
            "v1.1.0",
            "v1.0.99",
            "v1.0.98",
            "v1.0.97",
            "v1.0.96",
            "v1.0.95",
            "v1.0.94",
            "v1.0.93",
            "v1.0.92",
            "v1.0.91",
            "v1.0.9",
            "v1.0.87",
            "v1.0.86",
            "v1.0.85",
            "v1.0.84",
            "v1.0.83",
            "v1.0.82",
            "v1.0.81",
            "v1.0.8",
            "v1.0.73",
            "v1.0.72",
            "v1.0.71",
            "v1.0.7",
            "v1.0.65",
            "v1.0.64",
            "v1.0.63",
            "v1.0.62",
            "v1.0.61",
            "v1.0.6",
            "v1.0.51",
            "v1.0.41",
            "v1.0.4",
            "v1.0.0",
            "v0.0.6",
            "v0.0.5",
            "v0.0.4",
            "v0.0.3",
            "v0.0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-58373.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.292343587Z",
      "provider": "osv",
      "references": [
        "https://github.com/RooCodeInc/Roo-Code/releases/tag/v3.26.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58373.json",
        "https://github.com/RooCodeInc/Roo-Code/security/advisories/GHSA-p76r-7mc3-qh7c",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-58373",
        "https://github.com/RooCodeInc/Roo-Code/pull/7405"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-59"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58373.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-58373",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491917,
  "published_at": "2025-09-05T22:55:54.546+00:00"
}