CVE-2025-48985 (GCVE-0-2025-48985)

Vulnerability from cvelistv5 – Published: 2025-11-07 00:43 – Updated: 2025-12-01 20:12
VLAI
Summary
A vulnerability in Vercel’s AI SDK has been fixed in versions 5.0.52, 5.1.0-beta.9, and 6.0.0-beta. This issue may have allowed users to bypass filetype whitelists when uploading files. All users are encouraged to upgrade. More details: https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2025-11-07 18:35 UTC
CWE
  • CWE-20 - Improper Input Validation
Impacted products
Vendor Product Version CPE status
Vercel AI SDK Affected: 5.0.51 , ≤ 5.0.51 (semver)
Unaffected: 6.0.0-beta.* , < 6.0.0-beta.* (semver)
Affected: 5.1.0-beta.8 , ≤ 5.1.0-beta.8 (semver)
Unaffected: 5.1.0-beta.9 , < 5.1.0-beta.9 (semver)
Unaffected: 5.0.52 , < 5.0.52 (semver)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-48985",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-11-07T18:35:11.407430Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-20",
                "description": "CWE-20 Improper Input Validation",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-12-01T20:12:57.508Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "AI SDK",
          "vendor": "Vercel",
          "versions": [
            {
              "lessThanOrEqual": "5.0.51",
              "status": "affected",
              "version": "5.0.51",
              "versionType": "semver"
            },
            {
              "lessThan": "6.0.0-beta.*",
              "status": "unaffected",
              "version": "6.0.0-beta.*",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.1.0-beta.8",
              "status": "affected",
              "version": "5.1.0-beta.8",
              "versionType": "semver"
            },
            {
              "lessThan": "5.1.0-beta.9",
              "status": "unaffected",
              "version": "5.1.0-beta.9",
              "versionType": "semver"
            },
            {
              "lessThan": "5.0.52",
              "status": "unaffected",
              "version": "5.0.52",
              "versionType": "semver"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "A vulnerability in Vercel\u2019s AI SDK has been fixed in versions 5.0.52, 5.1.0-beta.9, and 6.0.0-beta. This issue may have allowed users to bypass filetype whitelists when uploading files. All users are encouraged to upgrade.\r\n\r\nMore details: https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 3.7,
            "baseSeverity": "LOW",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
            "version": "3.1"
          }
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-11-07T00:43:28.027Z",
        "orgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
        "shortName": "hackerone"
      },
      "references": [
        {
          "url": "https://github.com/vercel/ai/commit/930399bb9839a8baf3d349614106d78268775eed"
        },
        {
          "url": "https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
    "assignerShortName": "hackerone",
    "cveId": "CVE-2025-48985",
    "datePublished": "2025-11-07T00:43:28.027Z",
    "dateReserved": "2025-05-29T15:00:04.775Z",
    "dateUpdated": "2025-12-01T20:12:57.508Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-48985",
      "date": "2026-09-29",
      "epss": "0.00265",
      "percentile": "0.16544"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "product": "AI SDK",
                "vendor": "Vercel",
                "versions": [
                  {
                    "lessThanOrEqual": "5.0.51",
                    "status": "affected",
                    "version": "5.0.51",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.0.0-beta.*",
                    "status": "unaffected",
                    "version": "6.0.0-beta.*",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.1.0-beta.8",
                    "status": "affected",
                    "version": "5.1.0-beta.8",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "5.1.0-beta.9",
                    "status": "unaffected",
                    "version": "5.1.0-beta.9",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "5.0.52",
                    "status": "unaffected",
                    "version": "5.0.52",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "support@hackerone.com"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:vercel:ai:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "4A47352A-21CC-43DD-BBCB-64B24A03746D",
                    "versionEndExcluding": "5.0.52",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:vercel:ai:5.1.0:beta0:*:*:*:*:*:*",
                    "matchCriteriaId": "FDD78D08-7B1C-4405-8B34-8189DFCCB746",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:vercel:ai:5.1.0:beta1:*:*:*:*:*:*",
                    "matchCriteriaId": "A1E07AF8-66E6-4039-9087-2DEC1B5952B7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:vercel:ai:5.1.0:beta2:*:*:*:*:*:*",
                    "matchCriteriaId": "AE57A66D-F2AC-48B6-A1EF-9583BD2AB9B2",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:vercel:ai:5.1.0:beta3:*:*:*:*:*:*",
                    "matchCriteriaId": "3D89727F-B1B0-483F-9209-C8BC95CE4163",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:vercel:ai:5.1.0:beta4:*:*:*:*:*:*",
                    "matchCriteriaId": "DF1C6D8C-2115-4C06-B2B0-C70350D0598D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:vercel:ai:5.1.0:beta5:*:*:*:*:*:*",
                    "matchCriteriaId": "AE7D4CFF-AE7D-43F2-9092-FC1A12B2A3A9",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:vercel:ai:5.1.0:beta6:*:*:*:*:*:*",
                    "matchCriteriaId": "4D71DE70-9F13-4EA5-A10B-E401A55BC1B9",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:vercel:ai:5.1.0:beta7:*:*:*:*:*:*",
                    "matchCriteriaId": "573DE1B3-EEF1-4125-9986-13BA19D8BBC9",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:vercel:ai:5.1.0:beta8:*:*:*:*:*:*",
                    "matchCriteriaId": "BC9D7BBB-05A3-407D-8B0E-30904B735BD1",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "A vulnerability in Vercel\u2019s AI SDK has been fixed in versions 5.0.52, 5.1.0-beta.9, and 6.0.0-beta. This issue may have allowed users to bypass filetype whitelists when uploading files. All users are encouraged to upgrade.\r\n\r\nMore details: https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk"
          }
        ],
        "id": "CVE-2025-48985",
        "lastModified": "2026-06-17T09:30:37.040",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 3.7,
                "baseSeverity": "LOW",
                "confidentialityImpact": "NONE",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 2.2,
              "impactScore": 1.4,
              "source": "support@hackerone.com",
              "type": "Secondary"
            },
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 1.4,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2025-48985",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-11-07T18:35:11.407430Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2025-11-07T01:15:36.567",
        "references": [
          {
            "source": "support@hackerone.com",
            "tags": [
              "Patch"
            ],
            "url": "https://github.com/vercel/ai/commit/930399bb9839a8baf3d349614106d78268775eed"
          },
          {
            "source": "support@hackerone.com",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk"
          }
        ],
        "sourceIdentifier": "support@hackerone.com",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-20"
              }
            ],
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "type": "Secondary"
          }
        ]
      }
    },
    "redhat_vex": {
      "current_release_date": "2025-11-10T22:12:22+00:00",
      "cve": "CVE-2025-48985",
      "id": "CVE-2025-48985",
      "initial_release_date": "2025-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "CVE-2025-48985",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-48985.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2025-48985",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-11-07T18:35:11.407430Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "problemTypes": [
              {
                "descriptions": [
                  {
                    "cweId": "CWE-20",
                    "description": "CWE-20 Improper Input Validation",
                    "lang": "en",
                    "type": "CWE"
                  }
                ]
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-11-07T18:35:18.998Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "AI SDK",
              "vendor": "Vercel",
              "versions": [
                {
                  "lessThanOrEqual": "5.0.51",
                  "status": "affected",
                  "version": "5.0.51",
                  "versionType": "semver"
                },
                {
                  "lessThan": "6.0.0-beta.*",
                  "status": "unaffected",
                  "version": "6.0.0-beta.*",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "5.1.0-beta.8",
                  "status": "affected",
                  "version": "5.1.0-beta.8",
                  "versionType": "semver"
                },
                {
                  "lessThan": "5.1.0-beta.9",
                  "status": "unaffected",
                  "version": "5.1.0-beta.9",
                  "versionType": "semver"
                },
                {
                  "lessThan": "5.0.52",
                  "status": "unaffected",
                  "version": "5.0.52",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "A vulnerability in Vercel\u2019s AI SDK has been fixed in versions 5.0.52, 5.1.0-beta.9, and 6.0.0-beta. This issue may have allowed users to bypass filetype whitelists when uploading files. All users are encouraged to upgrade.\r\n\r\nMore details: https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk"
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "baseScore": 3.7,
                "baseSeverity": "LOW",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
                "version": "3.1"
              }
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2025-11-07T00:43:28.027Z",
            "orgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
            "shortName": "hackerone"
          },
          "references": [
            {
              "url": "https://github.com/vercel/ai/commit/930399bb9839a8baf3d349614106d78268775eed"
            },
            {
              "url": "https://vercel.com/changelog/cve-2025-48985-input-validation-bypass-on-ai-sdk"
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
        "assignerShortName": "hackerone",
        "cveId": "CVE-2025-48985",
        "datePublished": "2025-11-07T00:43:28.027Z",
        "dateReserved": "2025-05-29T15:00:04.775Z",
        "dateUpdated": "2025-12-01T20:12:57.508Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…