Skip to content
Heist/ feed
Back to feed
Medium

SimStudioAI sim route.ts handleLocalFile path traversal

Type: advisorySources: OSV

A vulnerability classified as critical has been found in SimStudioAI sim up to 0.1.17. Affected is the function handleLocalFile of the file apps/sim/app/api/files/parse/route.ts. The manipulation of the argument filePath leads to path traversal. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The patch is identified as b2450530d1ddd0397a11001a72aa0fde401db16a. It is recommended to apply a patch to fix this issue.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-7107
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 12:37 UTC · Revision 1

Source evidence

SimStudioAI sim route.ts handleLocalFile path traversal

core-osv · Original source

Published 7 Jul 2025, 02:02 UTC

A vulnerability classified as critical has been found in SimStudioAI sim up to 0.1.17. Affected is the function handleLocalFile of the file apps/sim/app/api/files/parse/route.ts. The manipulation of the argument filePath leads to path traversal. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The patch is identified as b2450530d1ddd0397a11001a72aa0fde401db16a. It is recommended to apply a patch to fix this issue.

osv:CVE-2025-7107
Complete source record
{
  "id": "bebdf0083cdf4675a75acc6d93973444ef59e6836f9bb8f32b3e732d0ddb550a",
  "url": "https://osv.dev/vulnerability/CVE-2025-7107",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "SimStudioAI sim route.ts handleLocalFile path traversal",
    "summary": "A vulnerability classified as critical has been found in SimStudioAI sim up to 0.1.17. Affected is the function handleLocalFile of the file apps/sim/app/api/files/parse/route.ts. The manipulation of the argument filePath leads to path traversal. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The patch is identified as b2450530d1ddd0397a11001a72aa0fde401db16a. It is recommended to apply a patch to fix this issue.",
    "evidence": "osv:CVE-2025-7107",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-7107",
      "aliases": [
        "CVE-2025-7107"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/simstudioai/sim",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8c32ad4c0d3464c6a3a900c913d811ef1695a6d4"
                },
                {
                  "fixed": "b2450530d1ddd0397a11001a72aa0fde401db16a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0.1.1"
                      },
                      {
                        "last_affected": "0.1.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.1.2"
                      },
                      {
                        "last_affected": "0.1.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b2450530d1ddd0397a11001a72aa0fde401db16a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.1.1",
            "0.1.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-7107.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.934086896Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7107.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-7107",
        "https://vuldb.com/?id.315018",
        "https://vuldb.com/?submit.601043",
        "https://github.com/simstudioai/sim/pull/437",
        "https://github.com/vri-report/reports/issues/2",
        "https://github.com/vri-report/reports/issues/2#issue-3161840085",
        "https://vuldb.com/?ctiid.315018",
        "https://github.com/simstudioai/sim/commit/b2450530d1ddd0397a11001a72aa0fde401db16a"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "VulDB",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.1.0"
                  },
                  {
                    "last_affected": "0.1.0"
                  },
                  {
                    "introduced": "0.1.3"
                  },
                  {
                    "last_affected": "0.1.3"
                  },
                  {
                    "introduced": "0.1.4"
                  },
                  {
                    "last_affected": "0.1.4"
                  },
                  {
                    "introduced": "0.1.5"
                  },
                  {
                    "last_affected": "0.1.5"
                  },
                  {
                    "introduced": "0.1.6"
                  },
                  {
                    "last_affected": "0.1.6"
                  },
                  {
                    "introduced": "0.1.7"
                  },
                  {
                    "last_affected": "0.1.7"
                  },
                  {
                    "introduced": "0.1.8"
                  },
                  {
                    "last_affected": "0.1.8"
                  },
                  {
                    "introduced": "0.1.9"
                  },
                  {
                    "last_affected": "0.1.9"
                  },
                  {
                    "introduced": "0.1.10"
                  },
                  {
                    "last_affected": "0.1.10"
                  },
                  {
                    "introduced": "0.1.11"
                  },
                  {
                    "last_affected": "0.1.11"
                  },
                  {
                    "introduced": "0.1.12"
                  },
                  {
                    "last_affected": "0.1.12"
                  },
                  {
                    "introduced": "0.1.13"
                  },
                  {
                    "last_affected": "0.1.13"
                  },
                  {
                    "introduced": "0.1.14"
                  },
                  {
                    "last_affected": "0.1.14"
                  },
                  {
                    "introduced": "0.1.15"
                  },
                  {
                    "last_affected": "0.1.15"
                  },
                  {
                    "introduced": "0.1.16"
                  },
                  {
                    "last_affected": "0.1.16"
                  },
                  {
                    "introduced": "0.1.17"
                  },
                  {
                    "last_affected": "0.1.17"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7107.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-7107",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519309,
  "published_at": "2025-07-07T02:02:07.997+00:00"
}