Skip to content

SWI-3723 [Snyk] Security upgrade python-multipart from 0.0.18 to 0.0.26#1207

Open
bwappsec wants to merge 1 commit intomasterfrom
snyk-fix-40b4476d4bc7e03c0d3a9538da231e66
Open

SWI-3723 [Snyk] Security upgrade python-multipart from 0.0.18 to 0.0.26#1207
bwappsec wants to merge 1 commit intomasterfrom
snyk-fix-40b4476d4bc7e03c0d3a9538da231e66

Conversation

@bwappsec
Copy link
Copy Markdown

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • samples/server/petstore/python-fastapi/requirements.txt

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

…e vulnerabilities

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-PYTHONMULTIPART-16078395
@bwappsec
Copy link
Copy Markdown
Author

Merge Risk: Medium

This upgrade for python-multipart introduces stricter parsing rules and drops support for older Python versions. These changes require verification to ensure compatibility.

Key Changes:

  • Python Version Requirement: Support for Python 3.8 and 3.9 was dropped in version 0.0.21. The package now requires Python 3.10 or newer. [4, 7]
  • Stricter Parsing: The parser now behaves differently with data outside the main multipart boundaries. It will skip data before the first boundary and discard data after the final boundary. [4, 5]
  • Filename Handling: Since version 0.0.22, the parser no longer includes the directory path in the filename for uploaded files. [4]

Recommendation:
Verify that your production environment is running Python 3.10+ and that your application does not rely on the less strict parsing of previous versions or the old filename format that included directory paths.

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@bwappsec bwappsec changed the title [Snyk] Security upgrade python-multipart from 0.0.18 to 0.0.26 SWI-3723 [Snyk] Security upgrade python-multipart from 0.0.18 to 0.0.26 Apr 16, 2026
@bwappsec
Copy link
Copy Markdown
Author

bwappsec commented Apr 16, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants