{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c748b524f41225e7fc6f89ad0084520901a453cf"
            }
          ],
          "repo": "https://github.com/crazyforks/repomix",
          "type": "GIT"
        },
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.14.1"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a7b93adfcdb11be923a9a092cceb1cb6739ef8e1"
            }
          ],
          "repo": "https://github.com/yamadashy/repomix",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-552"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59703.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "last_affected": "c748b52"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "repomix contains a local file inclusion vulnerability in the git clone endpoint that allows unauthenticated attackers to read arbitrary local git repositories. The isValidRemoteValue function in src/core/git/gitRemoteParse.ts fails to block file:// URLs, permitting attackers to supply file:// scheme URLs that bypass validation and are passed directly to git clone, enabling unauthorized access to all tracked file contents on the server filesystem.",
  "id": "CVE-2026-59703",
  "modified": "2026-07-21T03:41:46.488241834Z",
  "published": "2026-07-08T14:55:33.342Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59703.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59703"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/repomix-local-file-inclusion-via-file-url-scheme-in-git-clone-endpoint"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/yamadashy/repomix/issues/1704"
    },
    {
      "type": "FIX",
      "url": "https://github.com/CrazyForks/repomix/commit/c748b524f41225e7fc6f89ad0084520901a453cf"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/yamadashy/repomix"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "repomix - Local File Inclusion via file:// URL Scheme in Git Clone Endpoint"
}