Skip to content

Testing fix for CVE-2026-40073 - #15701

Merged
elliott-with-the-longest-name-on-github merged 3 commits into
sveltejs:mainfrom
yahmed-66:fix/body-size-limit-regression-test
Apr 21, 2026
Merged

Testing fix for CVE-2026-40073#15701
elliott-with-the-longest-name-on-github merged 3 commits into
sveltejs:mainfrom
yahmed-66:fix/body-size-limit-regression-test

Conversation

@yahmed-66

@yahmed-66 yahmed-66 commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

closes # CVE-2026-40073

When reviewing the fix for the body size limit bypass in the node adapter,
I noticed the existing test suite only covered the updated code paths
(chunked encoding, valid Content-Length) but not the original bypass path.

This adds a test documenting that HTTP/1.1 requests with no Content-Length
and no Transfer-Encoding header return an empty body rather than processing
oversized input.


  • It's really useful if your PR references an issue...
  • This message body should clearly illustrate what problems it solves.
  • Ideally, include a test that fails without this PR but passes with it.

Tests

  • Run the tests with pnpm test...

Changesets

  • If your PR makes a change...

Edits

  • Please ensure that 'Allow edits from maintainers' is checked.

@changeset-bot

changeset-bot Bot commented Apr 10, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 623ea86

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@svelte-docs-bot

Copy link
Copy Markdown

Comment thread .changeset/silver-worms-juggle.md Outdated
@elliott-with-the-longest-name-on-github
elliott-with-the-longest-name-on-github merged commit 6b41862 into sveltejs:main Apr 21, 2026
26 checks passed
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.

3 participants