FKIE_CVE-2025-48985

Vulnerability from fkie_nvd - Published: 2025-11-07 01:15 - Updated: 2026-06-17 09:30
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
Impacted products
Vendor Product Version
vercel ai *
vercel ai 5.1.0
vercel ai 5.1.0
vercel ai 5.1.0
vercel ai 5.1.0
vercel ai 5.1.0
vercel ai 5.1.0
vercel ai 5.1.0
vercel ai 5.1.0
vercel ai 5.1.0

{
  "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"
    }
  ]
}



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…