{"id":"GHSA-vr5f-2r24-w5hc","revision":"1dcaa8a0aa634270accba04f446a20f7","records":[{"revision":"1dcaa8a0aa634270accba04f446a20f7","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-vr5f-2r24-w5hc","aliases":["BIT-parse-2026-35200","CVE-2026-35200"],"title":"Parse Server: File upload Content-Type override via extension mismatch","description":"### Impact\n\nA file can be uploaded with a filename extension that passes the file extension allowlist (e.g., `.txt`) but with a `Content-Type` header that differs from the extension (e.g., `text/html`). The `Content-Type` is passed to the storage adapter without consistency validation. Storage adapters that store and serve the provided Content-Type (such as S3 or GCS) serve the file with the mismatched Content-Type. The default GridFS adapter is not affected because it derives Content-Type from the filename at serving time.\n\n### Patches\n\nThe file upload now derives the Content-Type from the filename extension, overriding any user-provided Content-Type when the file has an extension.\n\n### Workarounds\n\nConfigure the storage adapter or CDN to derive Content-Type from the filename extension instead of using the stored Content-Type.","state":0,"publishedAt":"2026-04-04T04:22:11+00:00","modifiedAt":"2026-04-08T15:41:00.1304415+00:00","affected":[{"ecosystem":"npm","name":"parse-server","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"9.0.0"},{"kind":"fixed","version":"9.7.1-alpha.4"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"parse-server","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"8.6.73"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/parse-community/parse-server/security/advisories/GHSA-vr5f-2r24-w5hc","https://nvd.nist.gov/vuln/detail/CVE-2026-35200","https://github.com/parse-community/parse-server/pull/10383","https://github.com/parse-community/parse-server/pull/10384","https://github.com/parse-community/parse-server"],"sourceUrl":"https://github.com/advisories/GHSA-vr5f-2r24-w5hc","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-vr5f-2r24-w5hc","identifiers":["GHSA-vr5f-2r24-w5hc","BIT-parse-2026-35200","CVE-2026-35200"]},"retained":false,"historicalAffected":[]}],"coverage":[]}